On Wed, 15 Jun 2005, jef moskot wrote:

Out of curiosity, is clamav-milter necessary to use clamscan (not clamd)
with sendmail and SpamAssassin?

Right now, I use amavis between sendmail and clamscan but when I upgrade
the system, I'd like to use SpamAssassin.  I'd like to use the simplest
setup possible, so if I'm going to be using SpamAssassin anyway and can do
without amavis and clamav-milter, that would be ideal.

[disclaimer: I know nothing about amavis, so I'm ignoring that in my response]

clamav-milter works *only* as a plugin to sendmail. There will be a line in your sendmail.mc that tells sendmail to send stuff to the milter. So if you're not tying clamav to sendmail, you don't need the milter. Of course, that means you would need to call clamdscan in some other way, such as from procmail (see below).

My preferred setup is to use sendmail+clamav-milter to reject viruses. Then procmail calls spamassassin to filter spam according to per-user wishes.

One could "simplify" by having procmail call clamdscan to do the virus filtering, but then you don't get to reject them, which means false positives won't be caught. Because of the risk of false positives, I don't recommend this strategy.

Another major problem with using procmail to filter viruses is that it only gets run on mail *delivery*. So if a user has a .forward, then the mail isn't being *delivered*. So you'd be forwarding the virus on. Probably not what you want to be doing. Especially if you run 2000-user mailing lists, as we do. ;)

Damian Menscher
--
-=#| Physics Grad Student & SysAdmin @ U Illinois Urbana-Champaign |#=-
-=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=-
-=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=-
-=#| <[EMAIL PROTECTED]> www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=-
-=#| The above opinions are not necessarily those of my employers. |#=-
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to