MS spamassassin timeouts

Julian Field MailScanner at ecs.soton.ac.uk
Thu Feb 4 15:49:11 GMT 2010


Check your Bayes database isn't screwed, or locked solid by some other 
process.
That's where the problem lies, almost certainly.

"spamassassin -D" won't try to learn from the message, whereas 
MailScanner will.

On 04/02/2010 15:41, Jason Ede wrote:
>
> I’m getting quite a few Spamassassin has timed out and was killed in 
> my maillog...
>
> When I look at the message that was casuing the problem and try 
> running it through spamassassin manually with
>
> Spamassassin –D –p /etc/MailScanner/spam.assassin.prefs –t <messagefile
>
> Then it completes ok and gives the message a score. It only takes a 
> few seconds to run so well below any SA timeouts that I’ve set in 
> MailScanner. If I try running it through MailScanner with the –debug 
> –debug-sa –id=messageID then it seems to go through up until the 
> following point where it hangs...
>
> 15:35:00 [32217] dbg: learn: auto-learn? ham=0.1, spam=12, 
> body-points=-3.999, head-points=-3.999, learned-points=-5
>
> 15:35:00 [32217] dbg: learn: auto-learn? yes, ham (-3.999 < 0.1)
>
> 15:35:00 [32217] dbg: learn: initializing learner
>
> 15:35:00 [32217] dbg: learn: learning ham
>
> 15:35:00 [32217] dbg: eval: all '*From' addrs: 
> bounce.25900379 at gorkanadatabase.com gorkanaalerts at gorkana.com
>
> 15:35:00 [32217] dbg: eval: all '*To' addrs: XXX at XXXX.org.uk
>
> 15:35:00 [32217] dbg: bayes: database connection established
>
> 15:35:00 [32217] dbg: bayes: found bayes db version 3
>
> 15:35:00 [32217] dbg: bayes: Using userid: 2
>
> 15:35:00 [32217] dbg: bayes: 
> c4841420914b788941701d213ff2b0d78571a6da at sa_generated already learnt 
> correctly, not learning twice
>
> 15:35:00 [32217] dbg: learn: initializing learner
>
> Any suggestions about what to check next?
>
> Centos 5.4 with MS 4.78.17 & SA 3.2.5
>

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM and twitter.com/MailScanner


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list