[Clamav-users] How Do You Integrate ClamAV?

2010-03-08 Thread Carlos Mennens
I was curious of what most of everyone on the list uses to integrate
ClamAV into their MTA (specifically Postfix)? I was under the
impression that I had to use Amavisd-new which allows me to integrate
'SpamAssassin'  ' ClamAV'. Do you guys have any recommendations for a
simple method of integrating virus scanning into Postfix?

Thanks for any info!

-Carlos
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] How Do You Integrate ClamAV?

2010-03-08 Thread Noel Jones

On 3/8/2010 8:56 AM, Carlos Mennens wrote:

I was curious of what most of everyone on the list uses to integrate
ClamAV into their MTA (specifically Postfix)? I was under the
impression that I had to use Amavisd-new which allows me to integrate
'SpamAssassin'  ' ClamAV'. Do you guys have any recommendations for a
simple method of integrating virus scanning into Postfix?

Thanks for any info!

-Carlos


The clamav-milter works fine with postfix version 2.5 and 
newer (for best results, use the most recent patch level of 
postfix).


If all you need is virus scanning, the milter works well and 
is easy to set up.


If you want more features, such as SpamAssassin integration, 
DKIM signing/verifying, etc., amavisd-new is robust, flexible 
and well supported.


  -- Noel Jones
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] How Do You Integrate ClamAV?

2010-03-08 Thread Chuck Swiger
On Mar 8, 2010, at 6:56 AM, Carlos Mennens wrote:
 I was curious of what most of everyone on the list uses to integrate
 ClamAV into their MTA (specifically Postfix)? I was under the
 impression that I had to use Amavisd-new which allows me to integrate
 'SpamAssassin'  ' ClamAV'. Do you guys have any recommendations for a
 simple method of integrating virus scanning into Postfix?

Postfix + amavisd (which calls ClamvAV and uses SpamAssassin, as you note) is a 
fine combination; I use it or add policyd-weight and postgrey almost 
everywhere.  You didn't mention which platform you are running your MTA on; if 
it matters, Postfix + amavisd is the default combination used by MacOS X.  [1]

Recent versions of Postfix support the milter interface originated from 
Sendmail, so you could use clamav-milter instead.  However, milter support is 
much less mature than using amavisd.

Regards,
-- 
-Chuck

[1]: Footnoted this point because, at one time, I expected to have to 
administer Sendmail for as long as I managed mailservers.  It would be pleasant 
to be mistaken here.  :-)

Not to bash Sendmail-- but I've paid my dues, very literally, by purchasing and 
reading the 1200+ page Bat book cover-to-cover multiple times, and otherwise 
sang the Sendmail blues...

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] How Do You Integrate ClamAV?

2010-03-08 Thread dino
 I was curious of what most of everyone on the list uses to integrate
 ClamAV into their MTA (specifically Postfix)?

I use courier-mta and I wrote a simple but fast mail clamdscan frontend in
C called Scandalo. May be you want to give it a try:

http://freshmeat.net/projects/scandalo

 Do you guys have any recommendations for a
 simple method of integrating virus scanning into Postfix?

Scandalo will get mail in stdin and put the mail back in stdout with 2
headers added to the mail. For ex, if a virus was found:

X-Virus-Ret: 1
X-Virus-stream: Eicar-Test-Signature FOUND

You can parse the header and put the mail for example into a .Virus folder.
I use it with courier maildrop.

Please let me know if it's what you expect.
Ciao, Dino Ciuffetti.

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml