SpamAssassin Problems - spamd failed, message queue clogging up

graham_w

Well-Known Member
May 25, 2004
54
0
156
Hi all

Im running WHM 10.6.0 cPanel 10.6.0-R55, CentOS 3.5 i686 - WHM X v3.1.0

Over the weekend I transferred the drives to a new server and got it all up and running. Everything was going fine, then it appeared that yesterday morning I started getting the spamd failed messages, and emails in the mail queue started clogging up. At the time I did a reboot, and everything seemed ok, then again this morning from about 4am I started getting the spamd failed messages again, with mail clogging up the queue again. Some messages (and it looks like messages to accounts with Spam Assassin enabled) are returning the error "transport filter timeout while writing to pipe"

I disabled Spam Assassin and Spam Assassin Box, and mail is now flowing - unfortunately so is the spam - and im looking for a solution. Reinstalling Spam Assassin by using :

/scripts/perlinstaller --force Mail::SpamAssassin
/etc/rc.d/init.d/exim restart
/scripts/restartsrv spamd

didnt help, and neither did reinstalling Spam Assassin using rpm. Everytime I restart Spam Assassin, I get the spamd failed messages and the transport filter timeout error as above.

Short of going to MailScanner, is there anything else I can try ?

Thanks
Graham
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Firstly, you do need to be sure and remove the spamassassin installed by rpm and use the cpan version instead.

Then, run a lint test in spamassasin with debug enabled and watch for where it hangs/errors:

spamassassin -D --lint
 

graham_w

Well-Known Member
May 25, 2004
54
0
156
Just for future reference, I uninstalled the rpm version, installed the cpan version and continued to have problems.

So my "fix" was to have MailScanner installed (and not at the recommendation of anyone mind you - my own decision) and im very impressed and happy :) Thanks chirpy :)
 

shiv

Member
Jul 26, 2004
16
0
151
Bangalore
Here I have found this issue to be a spamassassin bug in Bayesian classifier.

You can fix the issue with the mail delivery by disabling Bayesian classifier by adding


Code:
use_bayes 0 in the file /etc/mail/spamassassin/local.cf


Let me know how it goes :)

Hope spamassassin si aware of this bug by this time.
 

techpoyil

Registered
Mar 16, 2006
2
0
151
spam

hello shiv,

This did't work out..please dont post these type of reply.
we need technical reply.

regards,
jijesh
 

LS_Drew

Well-Known Member
Feb 20, 2003
187
0
166
It worked just fine for me. Fixed the problem immediately. Those are exactly the type of replies we need around here. Ones that work.