diff options
Diffstat (limited to 'ansible/roles/mail-server/tasks/postfix.yml')
-rw-r--r-- | ansible/roles/mail-server/tasks/postfix.yml | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/ansible/roles/mail-server/tasks/postfix.yml b/ansible/roles/mail-server/tasks/postfix.yml index 78ea7ee..293f118 100644 --- a/ansible/roles/mail-server/tasks/postfix.yml +++ b/ansible/roles/mail-server/tasks/postfix.yml @@ -2,10 +2,6 @@ apt: name: postfix -- name: install postgrey - apt: - name: postgrey - - name: install moreutils (for sponge) apt: name: moreutils @@ -47,24 +43,6 @@ fi notify: restart postfix -- name: install whitelisted recipients for postgrey - copy: - src: whitelist_recipients.local - dest: /etc/postgrey/whitelist_recipients.local - owner: root - group: root - mode: 0644 - notify: restart postgrey - -- name: install whitelisted sender domains for postgrey - copy: - src: whitelist_clients.local - dest: /etc/postgrey/whitelist_clients.local - owner: root - group: root - mode: 0644 - notify: restart postgrey - - name: install smarthost creds copy: content: "{{ smarthost }} {{ smarthost_user }}:{{ lookup('pipe', 'pass show ' + smarthost_pass_name) }}\n" |