sa-learn hangs -- SOLVED
Eric Dantan Rzewnicki
rzewnickie at RFA.ORG
Wed Mar 16 22:38:05 GMT 2005
On Fri, Mar 11, 2005 at 07:31:29PM -0500, Eric Dantan Rzewnicki wrote:
> I've upgraded to spamassassin 3.0.2. I'm using the fsl
> spam.assassin.prefs.conf from http://www.fsl.com/support/.
> As far as I can tell spamassassin is working well with MailScanner
> 4.39.6.
> However, trying to run sa-learn to train on spam or ham just hangs.
> sa-learn --dump magic -p /opt/MailScanner/etc/spam.assassin.prefs.conf
> works fine and shows that the bayes database is growing as it should
> through autolearning.
> However if I run:
> sa-learn --showdots --mbox --ham -p /opt/MailScanner/etc/spam.assassin.prefs.conf <ham_box>
> sa-learn just hangs. Same happens for --spam.
> strace shows it stuck on a read(0,
> Any ideas?
Maybe this has been discussed recently and I missed it ... But, in case
anyone else comes across this, I had an old sa-learn in /usr/local/bin
which comes before the /usr/bin in my PATH. After getting rid of the old
one everything is fine. Note: even though the old one was getting
called, it was reporting spamassassin version 3.0.2 I guess because it
uses the new Mail::SpamAssassin stuff.
--
Eric Dantan Rzewnicki | Systems Administrator
Technical Operations Division | Radio Free Asia
2025 M Street, NW | Washington, DC 20036 | 202-530-4900
CONFIDENTIAL COMMUNICATION
This e-mail message is intended only for the use of the addressee and
may contain information that is privileged and confidential. Any
unauthorized dissemination, distribution, or copying is strictly
prohibited. If you receive this transmission in error, please contact
network at rfa.org.
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list