Dennis Peterson wrote:

>> What is the advantage of using clamav-milter or is it necessary?

> I've not found any particular advantage. I use J-Chkmail as a Sendmail 
> milter for  spam and it invokes clamd for attachments.

I think the OP was asking for advantage of milter vs. non-milter.  The two
approaches differ as follows:

Milter: You can make decisions during the SMTP transaction.

PROS:
  - You can reject mail without generating backscatter
  - You can more easily make other kinds of tests (like greylisting)

CONS:
  - If your server is overloaded, mail can tempfail.  There are hard time
    constraints with filtering during SMTP.

Mailscanner approach: Filtering is done after the SMTP session is over.

PROS:
  - Handles spikes in load better.  Mail just queues up a bit until the machine
    can deal with it.

CONS:
  - If you reject a message, you either have to silently discard it or risk
    generating backscatter.
  - You can't do tests that rely on characteristics of SMTP (like greylisting)

If *all* you are doing is throwing away viruses, either approach is probably
fine.  If you want more flexibility, Milter starts looking more attractive.

Regards,

David.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to