Slow Batch Processing...

Julian Field MailScanner at ecs.soton.ac.uk
Mon Feb 20 20:25:34 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



TCIS List Acct wrote:
>
>
> Julian Field wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> What OS are you running?
>> If a BSD-variant, try switching off the SpamAssassin Cache (in 
>> MailScanner.conf) and then restart MailScanner.
>>
>> There appears to be something funny with the cache on some bsd-based 
>> boxes. Haven't got to the bottom of that yet. Need new devel server, 
>> which is still on the cards.
>
> FWIW, switching off the SA cache on our FreeBSD boxes made no 
> difference in the problem with 4.50.x..
>
> If there is anything more I can do to help you track down the problem, 
> let me know.
In which case it has to be the new faster (mostly) message unpacking code.
If you look in /usr/lib/MailScanner/MailScanner/Message.pm, you will 
find about line 1434 a line that looks like this:
if (MailScanner::Config::Value('mta') =~ /sendmail|exim|postfix/i) {

Whichever MTA you are using, remove it from the above expression along 
with its '|' separator. So if you are using sendmail, the line should 
change to this:
if (MailScanner::Config::Value('mta') =~ /exim|postfix/i) {
If using Exim, change it to this:
if (MailScanner::Config::Value('mta') =~ /sendmail|postfix/i) {
If using Postfix, change it to this:
if (MailScanner::Config::Value('mta') =~ /sendmail|exim/i) {

Then restart MailScanner and let me know if this solves the speed problem.

- -- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.5 (Build 5050)

iQA/AwUBQ/olvxH2WUcUFbZUEQLTEQCfTuQABS6XlOv3BryXCnTiBzEbSDgAn2jq
3sgUVcbGhlQ6XPLI2FA/wxnO
=my+r
-----END PGP SIGNATURE-----

-- 
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