[Mimedefang] Accept mail before processing

John Rudd john at rudd.cc
Tue Mar 14 12:11:15 EST 2006


On Mar 14, 2006, at 1:20 AM, Thomas Tinglum wrote:

> Hi
>
> Is it possible to make sendmail/mimedefang accept the entire mail
> before processing it ? (with mimedefang)
> Sending a mail with mimedefang enabled takes aprox 2  sec (guess this
> is caused by processing), with mimedefang disabled the mail is sendt
> instantly.
>
> Does anyone have a solution to this problem ?


I can suggest a solution only if you drop the "with mimedefang" part.

If you want a solution which accepts a message and then processes it, 
instead of processing it during the SMTP transaction, then you should 
look into mailscanner (www.mailscanner.info) and milter-ahead (to do 
the recipient validations that mimedefang does).

At work we're currently using mailscanner, but I'm moving us toward 
some form of milter solution (I keep trying to get mimedefang or can-it 
onto the list) ... so I'm kind of going the exact opposite direction 
from you (I want to know if it's a virus before I decide whether or not 
I'm going to accept it, so I would rather impose the 2 second delay 
than not).


Another option:

Use mimedefang for the recipient checking and virus checking (which 
should be plenty fast), and then use mailscanner for the spam checking 
(the part that is probably causing you the most delay).  You could use 
either one for attachment filename/filetype checking.  Mailscanner also 
does it's own version of phishing detection (I have mixed feelings 
about mimedefang's reliance upon clamav for this).




More information about the MIMEDefang mailing list