MailScanner Postfix question

Drew Marshall drew at
Fri Feb 10 18:18:21 GMT 2006

On 10 Feb 2006, at 13:40, Rodney Green wrote:

> Dhawal Doshy wrote:
>> Rodney Green wrote:
>>> Hello,
>>> Does MailScanner bypass Postfix's cleanup daemon? I can't  
>>> remember at what point mail is reintroduced to Postfix from  
>>> MailScanner.
>> The cleanup daemon takes care of header_checks, which is  
>> responsible for putting mails in the hold directory.. so no,  
>> mailscanner doesn't bypass the cleanup daemon.
>> See:, for more details..
> Thanks Dhawal. I was thinking that SMTPD did the header_checks.  
> That is why I was confused as to whether or not cleanup is run.
> Rod

Clean up also does the virtual alias resolving also, which is a point  
worth remembering as any addresses that are re-injected by  
MailScanner need to be deliverable by Postfix using either Transport  
(Maps if the route can not be identified by MX/ DNS) or local  
delivery agent (As these happen/work after the initial clean up and  
therefore after MailScanner does it's bit). If you use a virtual  
alias they will bounce as these are resolved and translated (Hence if  
you check your logs you will see  
real at virtual.dom,alias at virtual.domlisted as recipients. One is the  
address Postfix will use for delivery, the other the address the  
message was addressed to) before MailScanner gets the message.


In line with our policy, 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