summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-04-11 20:39:40 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-04-11 20:39:40 -0300
commitf5b8ec2d957259a0c8e9213d4cdea26be4c3d498 (patch)
tree7e22275ef1649781937c9dfce88ad24bfac9c6d7 /templates
parentff887b27067ff733091b4488640e8e3b64c0886a (diff)
downloadpuppet-mail-f5b8ec2d957259a0c8e9213d4cdea26be4c3d498.tar.gz
puppet-mail-f5b8ec2d957259a0c8e9213d4cdea26be4c3d498.tar.bz2
Adding virtual regexp for firma
Diffstat (limited to 'templates')
-rw-r--r--templates/postfix/firma/transport_regexp.erb2
-rw-r--r--templates/postfix/firma/virtual_regexp.erb1
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/postfix/firma/transport_regexp.erb b/templates/postfix/firma/transport_regexp.erb
index a6a940b..a15fc5a 100644
--- a/templates/postfix/firma/transport_regexp.erb
+++ b/templates/postfix/firma/transport_regexp.erb
@@ -1,2 +1,2 @@
-/^.*-request\@<%= firma_subdomain.gsub(/\./, '\.') %>\.(.*)$/ firmarequest:
+/^.*+request\@<%= firma_subdomain.gsub(/\./, '\.') %>\.(.*)$/ firmarequest:
/^.*\@<%= firma_subdomain.gsub(/\./, '\.') %>\.(.*)$/ firma:
diff --git a/templates/postfix/firma/virtual_regexp.erb b/templates/postfix/firma/virtual_regexp.erb
new file mode 100644
index 0000000..9d7f6b9
--- /dev/null
+++ b/templates/postfix/firma/virtual_regexp.erb
@@ -0,0 +1 @@
+/^(.*)-request\@<%= firma_subdomain.gsub(/\./, '\.') %>\.(.*)$/ $1+request@$2