quarantine release might lose mail?

Steve Freegard steve.freegard at fsl.com
Thu Dec 17 12:28:10 GMT 2009

On 17/12/09 12:05, Glenn Steen wrote:
> 2009/12/17 Frank Cusack<fcusack at fcusack.com>:
<< snipped entire discussion >>

Why anyone still quarantines stuff using the queue file format is 
completely beyond me.

Every MTA supported by MailScanner implements sendmail binary argument 
compatibility so just store your quarantine files in rfc822 format and 
then release them like so:

sendmail user at domain.com -i < /path/to/quarantine/date/id/message

All that is needed for this to work is to exclude from 
scanning via a rulesets on the relevant configuration items ('Scan 
Messages' being the easiest; but least safe).

This way you get a decent audit trail of released messages, it's safe, 
cross platform and still works if you migrate from one MTA to another 
and no kludgy scripts necessary.

This is precisely the reason I elected to only support this method in 

Maybe the 'old' instructions on the Wiki should be marked as deprecated 
and replaced with this method being the recommended way to release stuff 
from a quarantine.


More information about the MailScanner mailing list