Antivirus solution

Eric Estabrooks eric at
Fri Jan 30 08:39:46 EST 2004

>Zitat von Allister Gearon <al at>:
>>Thanks for your reply,
>>    I assumed that if incoming email was to be scanned the antivirus/spam
>>program would have to catch it after Fetchmail has downloaded the mail from
>>the ISP, or during Cyrus' processing of the mail to local mailboxes (I am
>>using lmtp which uses cyrus's deliver daemon for local delivery).  As I
>>understood postfix only comes into the picture when sending mail, either
>>locally or externally.
>>    Have I got the wrong end of the stick?
if you use amavisd-new (not sure about the ng stuff) you put it before 
cyrus.  I use lmtp delivery and it works just fine.

excerpts from

mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
content_filter = smtp-amavis:[]:10024

excerpts from
smtp-amavis unix -      -       y     -       2  smtp
    -o smtp_data_done_timeout=1200
    -o disable_dns_lookups=yes inet n  -       y     -       -  smtpd
    -o content_filter=
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o smtpd_restriction_classes=
    -o smtpd_client_restrictions=
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o mynetworks=
    -o strict_rfc821_envelopes=yes

I took this setup pretty much straight from the debian documentation for 
amavisd and it works like a champ.  I have clam installed for the virus 
detection and spamassassin  for  spam.   Amavisd takes care of  calling 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3174 bytes
Desc: S/MIME Cryptographic Signature
Url :

More information about the Info-cyrus mailing list