This repository has been archived on 2021-04-04. You can view files and clone it, but cannot push or open issues/pull-requests.
ansible-server/roles/postfix/templates/main.cf

9 lines
343 B
CFEngine3

myhostname = {{ hostvars[inventory_hostname].ansible_host }}
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = static:no-reply@sbruder.de:{{ secrets.mail_password }}
relayhost = [home.sbruder.de]:587
smtp_sasl_security_options = noanonymous
smtp_tls_security_level = encrypt
header_size_limit = 4096000
maillog_file = /var/log/postfix.log