diff --git a/roles/base/files/postfix/tls_policy b/roles/base/files/postfix/tls_policy index e69de29bb2..e1b39e391c 100644 --- a/roles/base/files/postfix/tls_policy +++ b/roles/base/files/postfix/tls_policy @@ -0,0 +1 @@ +[mx2.redhat.com] none diff --git a/roles/base/files/postfix/tls_policy.gateway b/roles/base/files/postfix/tls_policy.gateway deleted file mode 100644 index 92d4dea51c..0000000000 --- a/roles/base/files/postfix/tls_policy.gateway +++ /dev/null @@ -1 +0,0 @@ -redhat.com may diff --git a/roles/base/tasks/postfix.yml b/roles/base/tasks/postfix.yml index 2fcee58671..63708ba49a 100644 --- a/roles/base/tasks/postfix.yml +++ b/roles/base/tasks/postfix.yml @@ -30,21 +30,6 @@ - config - base -- name: install /etc/postfix/tls_policy file - copy: src={{ item }} dest=/etc/postfix/tls_policy mode=0644 - with_first_found: - - "postfix/master.cf/master.cf.{{ inventory_hostname }}" - - "postfix/master.cf/master.cf.{{ host_group }}" - - "postfix/master.cf/master.cf.{{ postfix_group }}" - - "postfix/master.cf/master.cf" - when: inventory_hostname.startswith(('bastion')) - notify: - - restart postfix - tags: - - postfix - - config - - base - - name: Deploy sender_access file copy: src="{{private}}/files/smtpd/sender_access.{{postfix_group}}" dest="/etc/postfix/sender_access" when: postfix_group == "smtp-mm" or postfix_group == "mailman" or postfix_group == "gateway"