Spamassassin timed out - Results
Pascal Maes
pascal.maes at ELEC.UCL.AC.BE
Thu May 26 07:44:45 IST 2005
>
>Date: Wed, 25 May 2005 19:19:10 +0530
>From: Dhawal Doshy <dhawal at NETMAGICSOLUTIONS.COM>
>Subject: Re: Spamassassin timed out
>
>Pascal Maes wrote:
>> Helo
>ehlo
>>
>> Is there a way to have more informations about the reasons of the
>> following failures ?
>>
>> MailScanner[5875]: SpamAssassin timed out and was killed, failure 7 of 20
>..
>> MailScanner[5875]: SpamAssassin timed out and was killed, failure 12 of 20
>> --
>> -- Pascal --
>> --
>
>spamassassin -x -D -p /path/to/spam.assassin.prefs.conf --lint
>
>will show you the reason for the timeout.. probably a dns timeout or
>something with your bayes
>
>- dhawal
>
>
>Date: Wed, 25 May 2005 11:32:39 -0400
>From: Matt Kettler <mkettler at EVI-INC.COM>
>Subject: Re: Spamassassin timed out
>
>
>Usually this is just bayes auto-expiry running during a message scan. Look
>where
>your bayes DB is stored, if you have a bunch of "expire" files laying around
>this is what's happening.
>
>Suggestions:
>1) disable bayes_auto_expire in your /etc/mail/spamassassin/local.cf and
>set up
>a cronjob to run sa-learn --force-expire once a day.
>
>- and/or -
>
>2) Extend your SA timeout in MailScanner.conf to about 10 minutes. I've been
>using SA since 2.31 and I've NEVER had it hang up on me. Every time
>mailscanner
>has killed my SA it did so in error. Maybe old versions (2.2, etc) had
>problems
>enforcing RBL timeouts, or on some odd platforms the problem exists, but I've
>not seen it.
>
>Early on kills were common because MS had the same timeout as SA RBL
>checks, so
>any time an RBL was down the total SA run time exceeded the MS timeout (oops).
>That Julian fixed, a long time ago.
>
>More recently kills have occurred largely because SA has a lot of long-running
>database maintenance chores for bayes (and the AWL if you use it). This Julian
>has somewhat addressed by increasing the default timeout, but if you've
>upgraded
>from an old version of MS, you probably still have the old short timeout.
>
>
>Currently I run with 1) and I've extended the timeout to 4 minutes.
>
Thank for the suggeestions
The --lint option shows me that it was a problem with the auto-expiry
It is resolved by doing a sa-learn --force-expire
--
-- Pascal --
--
------------------------ 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 Wiki (http://wiki.mailscanner.info/) 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