Setting postfix_use_submission (2)

This commit is contained in:
Silvio Rhatto 2012-12-21 18:11:25 -02:00
parent 0668aee2fa
commit 74b5b00bbd
3 changed files with 7 additions and 6 deletions

View file

@ -10,7 +10,7 @@
# ========================================================================== # ==========================================================================
<% if postfix_smtp_listen == 'all' %>smtp inet n - - - - smtpd <% if postfix_smtp_listen == 'all' %>smtp inet n - - - - smtpd
<% else %><%= postfix_smtp_listen %>:smtp inet n - - - - smtpd<% end %> <% else %><%= postfix_smtp_listen %>:smtp inet n - - - - smtpd<% end %>
<% if postfix_use_smtps == 'yes' %>submission inet n - - - - smtpd <% if postfix_use_submission == 'yes' %>submission inet n - - - - smtpd
-o smtpd_enforce_tls=yes -o smtpd_enforce_tls=yes
-o smtpd_sasl_auth_enable=yes -o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject -o smtpd_client_restrictions=permit_sasl_authenticated,reject

View file

@ -14,7 +14,7 @@
#smtpd pass - - - - - smtpd #smtpd pass - - - - - smtpd
#dnsblog unix - - - - 0 dnsblog #dnsblog unix - - - - 0 dnsblog
#tlsproxy unix - - - - 0 tlsproxy #tlsproxy unix - - - - 0 tlsproxy
<% if postfix_use_smtps == 'yes' %>submission inet n - - - - smtpd <% if postfix_use_submission == 'yes' %>submission inet n - - - - smtpd
-o smtpd_tls_security_level=encrypt -o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes -o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject -o smtpd_client_restrictions=permit_sasl_authenticated,reject

View file

@ -9,10 +9,11 @@
# ========================================================================== # ==========================================================================
<%= postfix_smtp_listen %>:smtp inet n - n - - smtpd <%= postfix_smtp_listen %>:smtp inet n - n - - smtpd
#smtp inet n - n - - smtpd #smtp inet n - n - - smtpd
#submission inet n - n - - smtpd <% if postfix_use_submission == 'yes' %>submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject -o smtpd_client_restrictions=permit_sasl_authenticated,reject
<% end %>
<% if postfix_use_smtps == 'yes' %>smtps inet n - n - - smtpd <% if postfix_use_smtps == 'yes' %>smtps inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes -o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes -o smtpd_sasl_auth_enable=yes