Minimum hardware capacity for 35k e-mail scans/day

Jason Ede J.Ede at
Fri Nov 16 08:15:46 GMT 2007


Have you any performance comparison between that and using mysql to hold the bayes? I moved from normal bayes db to mysql as it seemed much faster and I couldn't find a way to really speed up the bayes checks. So far it does seem much faster than it was (once I'd configured mysql a bit better than the default)


-----Original Message-----
From: mailscanner-bounces at [mailto:mailscanner-bounces at] On Behalf Of Steve Freegard
Sent: 15 November 2007 23:08
To: MailScanner discussion
Subject: Re: Minimum hardware capacity for 35k e-mail scans/day

Hi Jules,

Julian Field wrote:
> But when *does* the journal get committed to the Bayes database itself?

Once per day or when the bayes_journal_max_size is exceeded (default is
100Kb) whichever is sooner, or manually via 'sa-learn --sync'.

In reality I've never had issues with using this.  Bayes is useful when
it works, but if you have locking issues and your per-message scan times
are >30 secs because of bayes updates, this makes a massive difference.

MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list