From a3ec026c510d05416b788c6f69adfd7b14e4f675 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sat, 27 Aug 2016 20:30:43 +0000 Subject: [PATCH] Add a syslog name for each of the three smtp ports/services --- templates/master.cf.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/master.cf.erb b/templates/master.cf.erb index 248face..a54bf8d 100644 --- a/templates/master.cf.erb +++ b/templates/master.cf.erb @@ -10,8 +10,10 @@ # ========================================================================== <% unless @postscreen -%> smtp inet n - n - - smtpd + -o syslog_name=postfix/smtp <% else -%> smtp inet n - n - 1 postscreen + -o syslog_name=postfix/smtp tlsproxy unix - - n - 0 tlsproxy dnsblog unix - - n - 0 dnsblog smtpd pass - - n - - smtpd @@ -21,6 +23,7 @@ smtpd pass - - n - - smtpd <% end -%> <% if @submission -%> submission inet n - n - - smtpd + -o syslog_name=postfix/submission -o smtpd_tls_security_level=<%= @submission_smtpd_tls_security_level %> -o smtpd_sasl_auth_enable=<%= @submission_smtpd_sasl_auth_enable %> -o smtpd_client_restrictions=<%= @submission_smtpd_client_restrictions %> @@ -28,6 +31,7 @@ submission inet n - n - - smtpd <% end -%> <% if @ssl -%> smtps inet n - n - - smtpd + -o syslog_name=postfix/smtps -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=<%= @smtps_smtpd_sasl_auth_enable %> -o smtpd_client_restrictions=<%= @smtps_smtpd_client_restrictions %>