mg
900f89c441
Merge branch 'master' into postfix Housekeeping Testmail nach postfix reload Tag gmail in Playbook angepasst Variable aus defaults in GroupVars übertragen Keepass: nutzer_passwort --> gmail_nutzer_passwort Beispiel Kennwort geändert postfix_gmail_erlaubte_netzwerke --> gmail_postfix_erlaubte_netzwerke smtp_use_tls --> gmail_smtp_use_tls passwort_gmail --> gmail_nutzer_passwort nutzer_gmail --> gmail_nutzer_gmail smtp_server --> gmail_smtp_server mail_nach_cronjob --> gmail_mail_nach_cronjob Parameter eingebaut Co-authored-by: Michael Grote <38253905+quotengrote@users.noreply.github.com> Reviewed-on: mg/ansible#2
13 lines
485 B
CFEngine3
13 lines
485 B
CFEngine3
relayhost = [{{ gmail_smtp_server }}]:{{ gmail_smtp_server_port }}
|
|
smtp_use_tls = {{ gmail_smtp_use_tls }}
|
|
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 }}
|
|
|
|
smtpd_relay_restrictions = permit_mynetworks
|