Slow batch processing

Paul Kelly :: Blacknight Solutions paul at
Thu Apr 26 16:28:21 IST 2007

Rob Morin wrote:
> Hello all,  it seems MS takes about 488 seconds to process a batch of 30
> messages, do not know why its taking long now... i removed one of the
> RBLs to speed it up
> i have a backup of emails now... any idea.....???

Are you using sendmail? Have you got milter-ahead? Are you using

Are all the mails or a large percentage of them heading for 1 domain
name or 1 e-mail address?

Is your name server that is set in /etc/resolv.conf slow to do dns
lookups? What rules have you got in SA?

You can run:

iptables -A INPUT -s -p tcp -m tcp --dport 25 -j REJECT

to stop inbound mail for a time while mailscanner gets on with its job.

iptables -D INPUT -s -p tcp -m tcp --dport 25 -j REJECT

will remove the rule.

How much mail is there in the back log? Most I've ever had to deal with
was around 240k messages ....


> I am running the latest MS
> Thanks....

Paul Kelly
Technical Director
Blacknight Internet Solutions ltd
Hosting, Colocation, Dedicated servers
IP Transit Services
Lo-call: 1850 927 280
DDI: 059 9183091

e-mail: paul at

Blacknight Internet Solutions Ltd,
Unit 12A,Barrowside Business Park,
Sleaty Road,

Company No.: 370845

More information about the MailScanner mailing list