Crash protection

Julian Field MailScanner at
Tue Mar 3 11:27:57 GMT 2009

Hash: SHA1

On 3/3/09 10:36, David Lee wrote:
> On Mon, 2 Mar 2009, Julian Field wrote:
>> On 2/3/09 14:04, David Lee wrote:
>>> [...]
>>> Given that I was a chief requester, naturally I feel honour-bound to
>>> help test it.  Could you give an indication of your production-level
>>> confidence in the code?  How high up the inbound MX-priority-tree
>>> should I reasonably think of installing it at present?
>> Start it off at the bottom (highest number) and intentionally kill it
>> during a batch of messages. Do that twice and you should see
>> "MailScanner --processing" start to print something. That way it should
>> probably only be getting spam anyway, which will be an ideal test
>> environment for it.
> OK.  Installed on an MX high-value (low-priority) machine.
> Testing it with "MailScanner --debug" etc. took a little more than two 
> interrupts (perhaps successive "--debug" invocations were picking up 
> different emails) but it seems to be OK. "MailScanner --processing" is 
> showing some output for two or more attempts.  So looking good!  And 
> in the log file I'm seeing messages of the form "Making attempt 2 at 
> ..." which (in this controlled-test context) looks promising.
> Thanks.
>> Cheers for the idea in the first place! (even though I did change it a
>> bit as I progressed... :)
> You're welcome.  The idea was simply a sketch of a possibility.  Your 
> change was to deliver a working product!  Many thanks.
> An observation:  "--processing" queries with "SELECT ... count>1".  So 
> on a busy, but well-working, server its output is always empty.  Could 
> there be a variant "count>0"?  Thus on this same server there would 
> generally be output, continually changing, reflecting (more or less) 
> the active part of the inbound MS queue.  Don't worry if you would 
> rather not.
No problem at all. Check out 4.75.6, which now supports 
"--processing=<number>" as well as "--processing". You want to use 
"--processing=0" to get the output from it that you want.


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

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

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

Version: PGP Desktop 9.9.1 (Build 287)
Comment: Use Enigmail to decrypt or check this message is legitimate
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