diff options
author | mh <mh@immerda.ch> | 2014-07-09 23:17:24 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2014-07-09 23:17:24 +0200 |
commit | 68a23f060f571e45c947b2cca72aec976772177f (patch) | |
tree | 2ad1275cda5f50b47d9c9c76b62964a285cfc213 /templates/master.cf.debian-6.erb | |
parent | f9068edca5cd1dfd4348a9285df447a293d287fd (diff) | |
download | puppet-postfix-68a23f060f571e45c947b2cca72aec976772177f.tar.gz puppet-postfix-68a23f060f571e45c947b2cca72aec976772177f.tar.bz2 |
properly finish the lsb transition and remove very old templates
Diffstat (limited to 'templates/master.cf.debian-6.erb')
-rw-r--r-- | templates/master.cf.debian-6.erb | 44 |
1 files changed, 38 insertions, 6 deletions
diff --git a/templates/master.cf.debian-6.erb b/templates/master.cf.debian-6.erb index 50241b8..9ce3264 100644 --- a/templates/master.cf.debian-6.erb +++ b/templates/master.cf.debian-6.erb @@ -1,4 +1,3 @@ -# file managed by puppet # # Postfix master process configuration file. For details on the format # of the file, see the master(5) manual page (command: "man 5 master"). @@ -12,18 +11,24 @@ <% if smtp_listen == 'all' %>smtp inet n - - - - smtpd <% else %><%= smtp_listen %>:smtp inet n - - - - smtpd<% end %> <% if use_submission == 'yes' %>submission inet n - - - - smtpd - -o smtpd_tls_security_level=encrypt + -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject - -o milter_macro_daemon_name=ORIGINATING <% end %> +#smtp inet n - - - 1 postscreen +#smtpd pass - - - - - smtpd +#dnsblog unix - - - - 0 dnsblog +# -o smtpd_tls_security_level=encrypt +# -o smtpd_sasl_auth_enable=yes +# -o smtpd_client_restrictions=permit_sasl_authenticated,reject +# -o milter_macro_daemon_name=ORIGINATING <% if use_smtps == 'yes' %>smtps inet n - - - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject -o milter_macro_daemon_name=ORIGINATING <% end %> -#628 inet n - - - - qmqpd +#628 inet n - - - - qmqpd pickup fifo n - - 60 1 pickup cleanup unix n - - - 0 cleanup qmgr fifo n - n 300 1 qmgr @@ -40,7 +45,7 @@ proxywrite unix - - n - 1 proxymap smtp unix - - - - - smtp # When relaying mail as backup MX, disable fallback_relay to avoid MX loops relay unix - - - - - smtp - -o smtp_fallback_relay= + -o smtp_fallback_relay= # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - - - - showq error unix - - - - - error @@ -67,6 +72,27 @@ scache unix - - - - 1 scache maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} # +# ==================================================================== +# +# Recent Cyrus versions can use the existing "lmtp" master.cf entry. +# +# Specify in cyrus.conf: +# lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4 +# +# Specify in main.cf one or more of the following: +# mailbox_transport = lmtp:inet:localhost +# virtual_transport = lmtp:inet:localhost +# +# ==================================================================== +# +# Cyrus 2.1.5 (Amos Gouaux) +# Also specify in main.cf: cyrus_destination_recipient_limit=1 +# +#cyrus unix - n n - - pipe +# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} +# +# ==================================================================== +# # See the Postfix UUCP_README file for configuration details. # uucp unix - n n - - pipe @@ -78,7 +104,7 @@ ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient -scalemail-backend unix - n n - 2 pipe +scalemail-backend unix - n n - 2 pipe flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension} mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py @@ -120,6 +146,12 @@ sympabounce unix - n n - - pipe mlmmj unix - n n - - pipe flags=DORhu user=mlmmj argv=/usr/bin/mlmmj-recieve -F -L /var/spool/mlmmj/$nexthop/ <%- end -%> +<% if use_firma == 'yes' %> +firma unix - n n - - pipe + flags=DRhu user=firma argv=/var/lib/firma/firma -p ${user} +firmarequest unix - n n - - pipe + flags=DRhu user=firma argv=/var/lib/firma/firma -e ${user} +<% end %> <%- unless mastercf_tail.to_s.empty? then -%> <%= mastercf_tail %> |