Message Batches

Steve Freegard steve.freegard at LBSLTD.CO.UK
Thu May 15 17:35:40 IST 2003

Hi All,

I've been running MailScanner site-wide for 8 days now, with huge success -
however I've had a strange problem today.

I had a problem with the update-virus-scanners script (which I'm still
looking into) which resulted in a queue of around 50 messages waiting in

Once I'd sorted the problem, I restarted MailScanner which started
processing the queue - however I noticed that it was taking a long time to
process this backlog (with new messages going through straight away), upon
investigation by doing a 'fuser *' in /var/spool/, I realised that
one of the MailScanner children had picked up all 50+ messages and was
running them through the various SA tests, RBL, Bayes etc. which took a

It got me thinking - would it not be more efficient for each child to work
to the batch size using the following:  total messages in queue/max number
of children = batch size per child - which would clear the queue more

Or - do I have something incorretly configured?? - I'm running MS 4.20-3 +
SA 2.54 on RedHat 9 + Sendmail.

Steve Freegard
Systems Manager
Littlehampton Book Services Ltd.

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender and delete the message from your mailbox.

This footnote also confirms that this email message has been swept by
MailScanner ( for the presence of computer viruses.

More information about the MailScanner mailing list