>systemctl restart postfix.service >If everything is done correctly, then for STS connections in the /var/log/mail.info log instead > >root@r:/var/log# cat mail.info | grep mta-sts root@r:/var/log#
If i try to send any Email to gmail domain, then gmail will support and check mta-sts, will see log entry like: Main.cf smtp_tls_policy_maps = socketmap:inet:127.0.0.1:8461:postfix Mail.info Oct 2 15:54:27 nmail postfix/qmgr[30484]: D67EF40568: from=<mauri...@caloro.ch>, size=2403, nrcpt=1 (queue active) Oct 2 15:54:27 nmail postfix/smtp[30568]: warning: smtp_tls_policy_maps, next-hop destination "gmail.com": invalid attribute name: "servername" Oct 2 15:54:27 nmail postfix/smtp[30568]: warning: TLS policy lookup for gmail.com/gmail-smtp-in.l.google.com: client TLS configuration problem Oct 2 15:54:27 nmail postfix/smtp[30568]: warning: smtp_tls_policy_maps, next-hop destination "gmail.com": invalid attribute name: "servername" Oct 2 15:54:27 nmail postfix/smtp[30568]: warning: TLS policy lookup for gmail.com/alt1.gmail-smtp-in.l.google.com: client TLS configuration problem Oct 2 15:54:27 nmail postfix/smtp[30568]: warning: smtp_tls_policy_maps, next-hop destination "gmail.com": invalid attribute name: "servername" Oct 2 15:54:27 nmail postfix/smtp[30568]: warning: TLS policy lookup for gmail.com/alt2.gmail-smtp-in.l.google.com: client TLS configuration problem Oct 2 15:54:27 nmail postfix/smtp[30568]: warning: smtp_tls_policy_maps, next-hop destination "gmail.com": invalid attribute name: "servername" Oct 2 15:54:27 nmail postfix/smtp[30568]: warning: TLS policy lookup for gmail.com/alt3.gmail-smtp-in.l.google.com: client TLS configuration problem Oct 2 15:54:27 nmail postfix/smtp[30568]: warning: smtp_tls_policy_maps, next-hop destination "gmail.com": invalid attribute name: "servername" Oct 2 15:54:27 nmail postfix/smtp[30568]: warning: TLS policy lookup for gmail.com/alt4.gmail-smtp-in.l.google.com: client TLS configuration problem Oct 2 15:54:27 nmail postfix/smtp[30568]: D67EF40568: to=<aliban.mon...@gmail.com>, relay=none, delay=0.23, delays=0.22/0/0.01/0, dsn=4.7.5, status=deferred (client TLS configuration problem) Please which problem with TLS i have here???