diff options
author | Matthieu Saulnier <fantom@fedoraproject.org> | 2017-08-12 02:04:42 +0200 |
---|---|---|
committer | Matthieu Saulnier <fantom@fedoraproject.org> | 2017-08-12 02:04:42 +0200 |
commit | 20a16c7109a1535566dc0188a67ff3db0b02af73 (patch) | |
tree | ebda9423256308bad752716b95874133cc02b67a | |
parent | 3e2534bb4db63030685404a40319796bc687df99 (diff) | |
download | playbooks-ansible-20a16c7109a1535566dc0188a67ff3db0b02af73.tar.gz playbooks-ansible-20a16c7109a1535566dc0188a67ff3db0b02af73.tar.xz playbooks-ansible-20a16c7109a1535566dc0188a67ff3db0b02af73.zip |
revert commit 1c12765 relayhost address must match with relay hostname
-rw-r--r-- | roles/mtaserver/templates/main.cf.j2 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/roles/mtaserver/templates/main.cf.j2 b/roles/mtaserver/templates/main.cf.j2 index 35266c7..51d86a9 100644 --- a/roles/mtaserver/templates/main.cf.j2 +++ b/roles/mtaserver/templates/main.cf.j2 @@ -354,11 +354,7 @@ mynetworks = hash:/etc/postfix/network_table {% if is_mtamaster is defined %} ##relayhost = [smtp.free.fr] {% else %} -{% if ansible_default_ipv4.network == "192.168.0.0" %} -relayhost = [mail.home.casperlefantom.net]:587 -{% else %} relayhost = [mail.casperlefantom.net]:587 -{% endif %} smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/credentials smtp_sasl_security_options = noanonymous |