summaryrefslogtreecommitdiffstats
path: root/roles/common/files
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-12-01 17:08:53 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:00 +0200
commit4895573883df830a82b65b8ecf96abde18370147 (patch)
tree171d5847392e60dc11b130d54626215def2de1ff /roles/common/files
parent1387b69c898cb93fd0343603f92670b40b88eb04 (diff)
Share master.cf accross all Postfix instances.
And use main.cf's 'master_service_disable' setting to deactivate each service that's useless for a given instance. (Hence solve conflict when trying to listen twice on the same port, for instance.)
Diffstat (limited to 'roles/common/files')
-rw-r--r--roles/common/files/etc/postfix/generic.pcre2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/common/files/etc/postfix/generic.pcre b/roles/common/files/etc/postfix/generic.pcre
index c46f4b5..1181a22 100644
--- a/roles/common/files/etc/postfix/generic.pcre
+++ b/roles/common/files/etc/postfix/generic.pcre
@@ -1 +1,3 @@
+# Rewrite the whole enveloppe (From: & To: included) to somthing
+# routable on the internet.
/^(.+)@([^@.]+)\.[^@]+$/ admin+${1}=${2}@fripost.org