Crash protection

Julian Field MailScanner at
Sun Mar 1 14:21:16 GMT 2009

Hash: SHA1

I have just released version 4.75.2, which has the new feature some 
people have been asking for.

Implemented crash-protection, by limiting the number of attempts made at 
processing any given message. There are 2 new configuration settings:
"Maximum Processing Attempts" which is set to 6 by default, and 
"Processing Attempts Database" which is set to 
/var/spool/MailScanner/incoming/Processing.db by default.
To disable this feature, just set "Maximum Processing Attempts = 0".
To clean out the database, just stop MailScanner and delete the database 

It's enabled by default in this beta.

It currently just runs a counter of the number of times the message has 
been attempted. I didn't want to make it time-based, as then you would 
run into trouble if for some reason you stopped MailScanner but left the 
incoming MTA open, so you could work on the system while not rejecting 
mail. Then there might be quite a big gap between the time it arrived in 
the queue and the time it is processed.

All suggestions on how to improve this feature are most welcome!


- -- 
Julian Field MEng CITP CEng
Buy the MailScanner book at

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

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

Version: PGP Desktop 9.9.1 (Build 287)
Comment: Use PGP or Thunderbird Enigmail to verify this message
Charset: ISO-8859-1


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