Crash protection

Julian Field MailScanner at
Sun Mar 1 15:21:36 GMT 2009

Hash: SHA1

On 1/3/09 15:14, Raymond Dijkxhoorn wrote:
> Hi Julian,
>> 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
> Thats cool!
>> /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
>> file.
>> 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!
> A way to notify a operator that this is happening. So a cron or 
> something to send out a hourly report or something so at least you 
> know something is stuck ;)
At the moment it just logs it. I might add a command-line option to 
MailScanner to make it report the contents of the database table. Would 
that do? You could then have a cron job that ran that command, and if it 
produced anything then it could mail it to the postmaster.
> Thanks,
> Raymond.


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