homeserver/roles/mgrote.postfix-gmail/templates/main.cf

14 lines
485 B
CFEngine3
Raw Normal View History

relayhost = [{{ gmail_smtp_server }}]:{{ gmail_smtp_server_port }}
smtp_use_tls = {{ gmail_smtp_use_tls }}
2020-08-18 11:57:53 +02:00
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 = {{ gmail_postfix_erlaubte_netzwerke }}
2020-08-18 11:57:53 +02:00
smtpd_relay_restrictions = permit_mynetworks