diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2014-07-09 01:23:01 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:52:49 +0200 |
commit | 55e9b2a0ebc87a353f9c9496a77b313e41e47bd4 (patch) | |
tree | 30b5abd316a31688c494f03ee4cd2ae4fccc38f5 /roles/MX/tasks | |
parent | 368540caee8fff8aa90b1542897188e9f98ac585 (diff) |
Perform the alias resolution and address validation solely on the MX:es.
We can therefore spare some lookups on the MDA, and use static:all
instead.
Diffstat (limited to 'roles/MX/tasks')
-rw-r--r-- | roles/MX/tasks/main.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/MX/tasks/main.yml b/roles/MX/tasks/main.yml index a372cf4..a6c68f6 100644 --- a/roles/MX/tasks/main.yml +++ b/roles/MX/tasks/main.yml @@ -55,11 +55,14 @@ - catchall.cf - transport -- name: Compile the Reserved Transport Maps +- name: Compile the Postfix transport maps + # trivial-rewrite(8) is a long-running process, so it's safer to reload postmap: instance={{ postfix_instance[inst].name }} src=/etc/postfix-{{ postfix_instance[inst].name }}/virtual/transport db=cdb owner=root group=root mode=0644 + notify: + - Reload Postfix - name: Copy reserved-alias.pl copy: src=usr/local/sbin/reserved-alias.pl |