LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-22-2011, 02:06 AM   #1
KPryor
Member
 
Registered: Nov 2006
Distribution: Ubuntu server and Ubuntu Mate
Posts: 45

Rep: Reputation: 16
Unable to get Squirrelspell plugin to work


Hello all,

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
 
Old 06-22-2011, 06:23 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Does aspell (or ispell) works from command-line? Run
Code:
aspell check somefile.txt
where in somefile.txt you make some errors and see if it does spell checking

Regards
 
Old 06-22-2011, 10:32 AM   #3
KPryor
Member
 
Registered: Nov 2006
Distribution: Ubuntu server and Ubuntu Mate
Posts: 45

Original Poster
Rep: Reputation: 16
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
 
Old 06-22-2011, 01:34 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

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
Code:
<snip>
 $SQSPELL_APP = array( 'English' => '/usr/bin/aspell -a',
<snip>
Regards
 
Old 06-22-2011, 03:47 PM   #5
KPryor
Member
 
Registered: Nov 2006
Distribution: Ubuntu server and Ubuntu Mate
Posts: 45

Original Poster
Rep: Reputation: 16
Thanks!
I went in to the config and added the full path to aspell, but no joy. For whatever reason, it just doesn't work. Very odd situation.

KP
 
Old 06-22-2011, 04:30 PM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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.
 
Old 06-22-2011, 04:58 PM   #7
KPryor
Member
 
Registered: Nov 2006
Distribution: Ubuntu server and Ubuntu Mate
Posts: 45

Original Poster
Rep: Reputation: 16
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
 
Old 06-22-2011, 05:14 PM   #8
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Wish there was a way to set a default for everyone instead of having to log into every account individually and set the default.
I guess this is what
Code:
$SQSPELL_APP_DEFAULT = 'English';
does in sqspell_config.php
Anyway glad to see you've made it. You may mark the thread "Solved" from Thread Tools.

Regards
 
Old 06-22-2011, 05:17 PM   #9
KPryor
Member
 
Registered: Nov 2006
Distribution: Ubuntu server and Ubuntu Mate
Posts: 45

Original Poster
Rep: Reputation: 16
Will do. Thanks so much for your help!
Ken
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] flash plugin for mozilla plugin doesn't work. raju.mopidevi SUSE / openSUSE 3 11-28-2009 07:25 AM
unable to install flash plugin in Knoppix 6.0 shreebh Linux - Newbie 4 06-22-2009 12:31 PM
Unable to install flash plugin arunlfc Linux - Newbie 5 05-19-2009 01:13 PM
Unable to install gstreamer v4l2src plugin mittal.rahul Linux - Software 0 02-06-2008 06:09 AM
unable to load netscape plugin I_luv_linux Linux - Software 1 11-17-2004 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration