Page 1 of 1

Spamassassin is now crazy

Posted: Mon Jan 08, 2007 2:37 pm
by printecho
Hi!

I installed Spamassassin and Clam in november. It did a really good job :D
But since the first day of the year, spamassassin don't scan mail (maybe too much drinking... no i don't think...).
For each spam, i just got this in the header :

Code: Select all

X-Spam-Status: No, hits=? required=?
But spamassassin is running and the server is not busy (the worth was in the beginning of december but spamassassin did a good job).
I tried :

Code: Select all

/etc/init.d/spamassassin restart
/usr/bin/qmail-scanner-reconfigure 
and a /var/qmail/bin/qmail-scanner-queue.pl -p
But, now, there's nothing in the mail header. I lose the X-Spam-Status and all evidence of spamassassin...
I don't know what to do :cry:

Thanks for your help

PE

(s'cuse my bad english :roll: )

Posted: Mon Jan 08, 2007 3:37 pm
by scott
Make sure spamd is actually running before you run qmail-scanner-reconfigure. Perhaps what is going on here is spamd is down, or otherwise inoperable, which is why nothing is getting processed.

Posted: Mon Jan 08, 2007 4:32 pm
by printecho
Yeah, I do a "service spamassassin status" before "qmail-scanner-reconfigure" and i always get "spamd is running".
I check after reconfigure and spamd always running...

A donkey, A donkey, My kingdom for a Donkey....

Posted: Tue Jan 09, 2007 11:36 pm
by catch22media
I am having the same issues now after upgrading ... any word Scott?

Posted: Wed Jan 10, 2007 2:55 am
by scott
Check with ps, to see if the daemon is up. The init scripts wont actually check, they just create lock files and check to see if that exists to determine if its up or down.

Posted: Tue Jan 16, 2007 6:00 pm
by raverX
As Scott said, check PS and see if spam assassin is actually running

Code: Select all

 ps ax | grep spam
  606 ?        S      0:51 /usr/bin/spamd -d -c -m10 -H -r /var/run/spamd.pid
20357 ?        S      1:06 spamd child
25775 ?        S      0:30 spamd child
also check the maillog either

Code: Select all

less /var/log/maillog
or

Code: Select all

less /usr/local/psa/var/log/maillog
I have noticed from time to time that spamassassin dies for one reason or another and this is generally when emails aren't getting checked..

once you have determined what's going on and have spamd running again _then_ re-run qmail-scanner-reconfigure, otherwise it will disable spamassassin..