spam assassin stops

koudou

Verified User
Joined
Oct 13, 2003
Messages
54
I have a very strange thing happening : spam assassin stops to work and is not processed any longer.

Customers are fed up of sending me a mail to say that spam assassin do not filter any longer.

To restart, I just have to do a

service exim restart

and exim restart with spamassassin working ...

Any clue to find from where it comes ?


Michel Lo
 
Make sure the spamd program is running as well.

/usr/bin/spamd -d -c -m 5
 
Once more

same once more : spam assassin stops working.

In the headers when spam scanned, tehre is a message like

X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on secure.beltsa.com
X-Spam-Level:
X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham
version=3.1.0

but suddently, it disappears and emails are no longer spam scanned.

When I try the command proporsed by chatwizrd I have the message
error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
spamd: could not create INET socket on 127.0.0.1:783: Address already in use

Any other suggestion to find out what happens ?

Any suggestion to turn ariuyd the problem ?
 
In main maillog I've found :

Nov 30 13:59:24 secure spamd[349]: prefork: syswrite(8) failed, retrying... at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/SpamdForkScaling.pm line 554.

but I do not know where it tries to write and cannot ...

Michel Lo
 
Thank you for advice Dark_wizard. I'll do it.

But :

-> I won't use the link given because I just want to update spamassassin and not the whole stuff in a row (too dangerous on a production server ...) and I'll do it next week-end beginning on sunday 0h00
-> I hope I would see no change as I've put a crontab to restart exim every night, as restarting exim corrects the problem.

Michel
 
You don't have to do it all, read the information posted as you can select only what you want to update....

i.e. ./update.script SPAMASSASSIN

this would only update Spamassassin...
 
xemaps said:
easyest way with cpan
cpan>install Mail::SpamAssassin

For you and I yes but othres may not know how to use cpan....so easiest may not be the case here.
 
Dark_Wizard said:
For you and I yes but othres may not know how to use cpan....so easiest may not be the case here.

cpan is on most linux distrib now
just type 'cpan' and see if you have it
see http://cpan.org/


sometimes very much better than another update system
just try and find your better way for YOU
 
yes cpan works perfectly ...

Generally, I use it to install perl packages. But for Spam Assassin, it works also !

Michel
 
Back
Top