From eeda59e0485612b37ff19fe2f0344b7cbee6ba80 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 24 Nov 2019 15:35:56 +0100 Subject: [PATCH] [Postfix] Add more service labels, thanks to @christianbur --- data/conf/postfix/master.cf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/conf/postfix/master.cf b/data/conf/postfix/master.cf index 1672a3e2..6d374e67 100644 --- a/data/conf/postfix/master.cf +++ b/data/conf/postfix/master.cf @@ -12,6 +12,7 @@ smtps inet n - n - - smtpd -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject -o smtpd_tls_mandatory_protocols=$smtps_smtpd_tls_mandatory_protocols -o tls_preempt_cipherlist=yes + -o syslog_name=postfix/smtps # smtpd with starttls on 587/tcp # TLS protocol can be modified by setting submission_smtpd_tls_mandatory_protocols in extra.cf @@ -21,6 +22,7 @@ submission inet n - n - - smtpd -o smtpd_tls_security_level=encrypt -o smtpd_tls_mandatory_protocols=$submission_smtpd_tls_mandatory_protocols -o tls_preempt_cipherlist=yes + -o syslog_name=postfix/submission # used by SOGo # smtpd_sender_restrictions should match main.cf, but with check_sasl_access prepended for login-as-mailbox-user function @@ -28,6 +30,7 @@ submission inet n - n - - smtpd -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject -o smtpd_tls_auth_only=no -o smtpd_sender_restrictions=check_sasl_access,regexp:/opt/postfix/conf/allow_mailcow_local.regexp,reject_authenticated_sender_login_mismatch,permit_mynetworks,permit_sasl_authenticated,reject_unlisted_sender,reject_unknown_sender_domain + -o syslog_name=postfix/sogo # used to reinject quarantine mails 590 inet n - n - - smtpd @@ -35,6 +38,7 @@ submission inet n - n - - smtpd -o smtpd_tls_auth_only=no -o smtpd_milters= -o non_smtpd_milters= + -o syslog_name=postfix/quarantine # enforced smtp connector smtp_enforced_tls unix - - n - - smtp