Jürgen Ladstätter schrieb:
yes there is a reason, i didnt find a tutorial how to set it up ;-)
[Quoting canceled] [...]
Why not use amavisd-new (afaik should it work with most virusscanners)? Is there a special reason?
/etc/postfix/main.cf:
content_filter = amavisd-new:[127.0.0.1]:10024
/etc/postfix/master.cf:
#added by mh TRANSPORT for ESMTP AMAVISD-NEW see corresponding main.cf entry amavisd-new unix - - n - 2 smtp
# the name must be the same as specified in content_filter = (main.cf)
-o smtp_data_done_timeout=1200s -o disable_dns_lookups=yes
#added by mh REINJECTION PATH for AMAVISD-NEW see corresponding main.cf entry 127.0.0.1:10025 inet n - n - - 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=127.0.0.0/8 -o strict_rfc821_envelopes=yes #end added by mh
grep 127.0.0.1 /etc/amavis/amavisd.conf # both $forward_method and $notify_method default to 'smtp:127.0.0.1:10025' $forward_method = 'smtp:127.0.0.1:10025'; # where to forward checked mail Perhaps i had to do some group adjustment.
grep amavis /etc/group amavis:x:107:amavis,clamav
Warning: Check it befor you implement it, its all afair ... Greetings, hth MH Links: http://www.ijs.si/software/amavisd/ http://www.ijs.si/software/amavisd/README.postfix.txt http://www.postfix.org/docs.html google/google groups "postfix amavisd-new" German: "postfixbuch amavis" My "tutorial" was this book: Postfix (Hildebrandt/Koetter) "http://www.postfix-buch.com/" btw:
-- A: because it distrupts the normal process of thought Q: why is top posting frowned upon