[SOLVED] Unable to get Squirrelspell plugin to work
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have built an Ubuntu 10.10 server for use as an in-house mail server, using Postfix, Dovecot and Squirrelmail. It seems to be working great, except I am unable to get the Squirrelspell plugin to work. I ran the Squirrelmail conf.pl, selected plugins and then selected Squirrelspell, but it does not work when composing an email and clicking on Check Spelling. It simply reports no errors are found, even when I intentionally make errors.
I've looked at the sqspell_config.php file and believe I have it configured correctly. I verified I have Aspell installed and and have it as the designated app in the sqspell_config.php file. I've also tried ispell with the same results.
I've done Google searches as well as searches here, but have not found my solution. Any help would be greatly appreciated.
Thanks!
KP
Thanks bathory for the suggestion. I tried what you said and it does work correctly from the command line, so I'm sure I've made a configuration error in Squirrelspell.
KP
There is nothing special to configure for the spellcheck plugin. You just enable it, and that's all.
According to the INSTALL file of the plugin:
Quote:
Modify the sqspell_config.php file making sure you have ispell or aspell available on your system and located in PHP's path. The squirrelspell doesn't check for that and if it is not available, you're just going to get a "No errors found" message every time. Quite pleasing, but not very useful.
if aspell/ispell is in $PATH everything is ok. Otherwise you'll get no spelling errors like you do.
Maybe the $PATH for php or the apache user (www-data for ubuntu) do not have /usr/bin in $PATH (unlikely), so you may use the full path in sqspell_config.php
Indeed, it's odd. It should work as soon as you enable it.
What version of squirrelmail are you using and how did you install it?
Also check the apache error_log to see if you find anything.
I finally figured out the problem and it's so stupid on my part. Turns out, I needed to go into the options-spellchecker options in each user account and select "Set up international dictionaries" followed by selecting a default dictionary and saving it. Wish there was a way to set a default for everyone instead of having to log into every account individually and set the default. Either way, at least I know the problem now. Thanks for all your advice!
Ken
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.