diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-12-21 18:01:20 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-12-21 18:01:20 -0200 |
commit | 0668aee2fa4e9dd881b0f1fefbe6efbe86e9c740 (patch) | |
tree | 2da327ba35ada796a172e10e0b5d6a9069c35375 /templates/master.cf.debian-lenny.erb | |
parent | 87e0a2b3986c1e2e6e09ccdfe5443adb7355f3d4 (diff) | |
download | puppet-postfix-0668aee2fa4e9dd881b0f1fefbe6efbe86e9c740.tar.gz puppet-postfix-0668aee2fa4e9dd881b0f1fefbe6efbe86e9c740.tar.bz2 |
Setting postfix_use_submission
Diffstat (limited to 'templates/master.cf.debian-lenny.erb')
-rw-r--r-- | templates/master.cf.debian-lenny.erb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/master.cf.debian-lenny.erb b/templates/master.cf.debian-lenny.erb index 4f69847..ab71f97 100644 --- a/templates/master.cf.debian-lenny.erb +++ b/templates/master.cf.debian-lenny.erb @@ -11,11 +11,12 @@ # ========================================================================== <% if postfix_smtp_listen == 'all' %>smtp inet n - - - - smtpd <% else %><%= postfix_smtp_listen %>:smtp inet n - - - - smtpd<% end %> -#submission inet n - - - - smtpd -# -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 postfix_use_submission == 'yes' %>submission inet n - - - - smtpd + -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 +<% end %> <% if postfix_use_smtps == 'yes' %>smtps inet n - - - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes |