Browse Source

[Postfix] Add more service labels, thanks to @christianbur

andryyy 5 years ago
parent
commit
eeda59e048
1 changed files with 4 additions and 0 deletions
  1. 4 0
      data/conf/postfix/master.cf

+ 4 - 0
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