Spamassassin is now crazy

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
printecho
Forum User
Forum User
Posts: 17
Joined: Fri Jul 21, 2006 3:32 am

Spamassassin is now crazy

Unread post 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: )
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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.
printecho
Forum User
Forum User
Posts: 17
Joined: Fri Jul 21, 2006 3:32 am

Unread post 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....
catch22media
Forum User
Forum User
Posts: 34
Joined: Wed Dec 13, 2006 9:54 pm

Unread post by catch22media »

I am having the same issues now after upgrading ... any word Scott?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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.
raverX
Forum User
Forum User
Posts: 16
Joined: Tue Jan 16, 2007 5:47 pm

Unread post 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..
Post Reply