Grinding to a halt processing Postfix messages

Julian Field MailScanner at
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/ 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
Buy the MailScanner book at
Professional Support Services at
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 with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list