Grinding to a halt processing Postfix messages

Julian Field MailScanner at ecs.soton.ac.uk
Sun Jul 31 17:37:31 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

If you have been having a problem where MailScanner gives up processing 
messages after a few hours, causing it to just sit there and not process 
anything, I have a fix I would like you to try.

Edit /usr/lib/MailScanner/MailScanner/Postfix.pm and look at line 1117.
It should say:
    $filecount++ if -f $dir1name;
Change it to say:
    $filecount++ if -f $dir1name && $dir1name =~ /$mta->{HDFileRegexp}/;
(all of that should be on 1 line)

Please let me know if this helps.

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

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list