diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-06 18:31:11 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-06 18:31:11 -0300 |
commit | 3ecf57eb82ed7fcc41b30695dbe3ba45b9a0a7c6 (patch) | |
tree | b3613e2a8228cfdcfed074f63c7486c330c2b1d7 /templates | |
parent | 972762ce0c8b18950bdb37300b45477e7eb782d5 (diff) | |
download | puppet-postfix-3ecf57eb82ed7fcc41b30695dbe3ba45b9a0a7c6.tar.gz puppet-postfix-3ecf57eb82ed7fcc41b30695dbe3ba45b9a0a7c6.tar.bz2 |
Optional amavisd configuration
Diffstat (limited to 'templates')
-rw-r--r-- | templates/master.cf.debian-etch.erb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/master.cf.debian-etch.erb b/templates/master.cf.debian-etch.erb index d711551..df1241c 100644 --- a/templates/master.cf.debian-etch.erb +++ b/templates/master.cf.debian-etch.erb @@ -75,4 +75,22 @@ scalemail-backend unix - n n - 2 pipe mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user} +<% if postfix_use_amavisd == 'yes' %> +amavis unix - - - - 2 smtp + -o smtp_data_done_timeout=1200 + -o smtp_send_xforward_command=yes +127.0.0.1:10025 inet 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 + -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks + -o smtpd_bind_address=127.0.0.1 +<% end %> |