Setting postfix_use_submission (2)
This commit is contained in:
parent
0668aee2fa
commit
74b5b00bbd
3 changed files with 7 additions and 6 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue