[postfix] set myhostname

This commit is contained in:
Simon Bruder 2019-04-12 10:25:28 +00:00
parent 7e6eb38a51
commit 1c947f6a56
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -1,3 +1,4 @@
myhostname = {{ hostvars[inventory_hostname].ansible_host }}
smtp_sasl_auth_enable = yes smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = static:SMTP_Injection:{{ secrets.sparkpost_api_key }} smtp_sasl_password_maps = static:SMTP_Injection:{{ secrets.sparkpost_api_key }}
relayhost = [smtp.sparkpostmail.com]:587 relayhost = [smtp.sparkpostmail.com]:587