diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2014-07-13 00:54:21 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:53:04 +0200 |
commit | 40ecc9de640b40a0175238fcff9929adfe537493 (patch) | |
tree | 96f9dda97479243d1e476f72b0260b908da3cefd /roles/MX | |
parent | 229de1934d4e2023ae6f3e4c814d2a32c53775eb (diff) |
Verify the validity of users before that of aliases.
Diffstat (limited to 'roles/MX')
-rw-r--r-- | roles/MX/templates/etc/postfix/main.cf.j2 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/roles/MX/templates/etc/postfix/main.cf.j2 b/roles/MX/templates/etc/postfix/main.cf.j2 index 09c37d9..476178a 100644 --- a/roles/MX/templates/etc/postfix/main.cf.j2 +++ b/roles/MX/templates/etc/postfix/main.cf.j2 @@ -58,10 +58,9 @@ virtual_transport = error:5.1.1 Virtual transport unavailable virtual_alias_domains = !cdb:$config_directory/virtual/transport ldap:$config_directory/virtual/domains.cf virtual_alias_maps = pcre:$config_directory/virtual/reserved_alias.pcre - # first we do the alias resolution... - ldap:$config_directory/virtual/alias.cf - # ...and unless there is matching mailbox/list... + # unless there is a matching user/alias/list... ldap:$config_directory/virtual/mailbox.cf + ldap:$config_directory/virtual/alias.cf ldap:$config_directory/virtual/list.cf # ...we resolve alias domains and catch alls ldap:$config_directory/virtual/alias_domains.cf |