homeserver/roles/mgrote.postfix-gmail/templates/main.cf
2020-08-18 11:57:53 +02:00

13 lines
430 B
CFEngine3

relayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_tls_session_cache
smtp_tls_session_cache_timeout = 3600s
inet_protocols = ipv4
append_dot_mydomain = no
mynetworks = {{ postfix_gmail_erlaubte_netzwerke }}
smtpd_relay_restrictions = permit_mynetworks