2020-12-14 15:06:04 +01:00
|
|
|
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
|
|
|
|
|
2020-12-14 15:06:04 +01:00
|
|
|
mynetworks = {{ gmail_postfix_erlaubte_netzwerke }}
|
2020-08-18 11:57:53 +02:00
|
|
|
|
|
|
|
smtpd_relay_restrictions = permit_mynetworks
|