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/templates/etc/postfix/virtual/reserved_alias.pcre.j2 | |
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/templates/etc/postfix/virtual/reserved_alias.pcre.j2')
-rw-r--r-- | roles/MX/templates/etc/postfix/virtual/reserved_alias.pcre.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/MX/templates/etc/postfix/virtual/reserved_alias.pcre.j2 b/roles/MX/templates/etc/postfix/virtual/reserved_alias.pcre.j2 index 6f62a01..f1c79c7 100644 --- a/roles/MX/templates/etc/postfix/virtual/reserved_alias.pcre.j2 +++ b/roles/MX/templates/etc/postfix/virtual/reserved_alias.pcre.j2 @@ -2,4 +2,4 @@ # For other domains, RFC 822 section 6.3 and RFC 2142 section 4 # mandatory aliases are forwarded to OUR admin team and to the domain # owner or postmaster, if there are any. -/^((?:postmaster|abuse)(?:\+.*)?@.*)/ $1@reserved.locahost.localdomain +/^(postmaster|abuse)(?:\+.*)?@(.*)/ $2/$1@reserved.fripost.org |