summaryrefslogtreecommitdiff
path: root/templates/firma
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-22 14:56:59 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-22 14:56:59 -0200
commitbeb9ced0191a9c6804332bd741ba30d4eee0040a (patch)
treee9513f0f4d5f77f1a2702b1a91bb65233ed88951 /templates/firma
parent0dce0e69ff64b8c98c0854c33be6886d433dedfb (diff)
downloadpuppet-mail-beb9ced0191a9c6804332bd741ba30d4eee0040a.tar.gz
puppet-mail-beb9ced0191a9c6804332bd741ba30d4eee0040a.tar.bz2
Major refactor
Diffstat (limited to 'templates/firma')
-rw-r--r--templates/firma/transport_regexp.erb2
-rw-r--r--templates/firma/virtual_regexp.erb1
2 files changed, 3 insertions, 0 deletions
diff --git a/templates/firma/transport_regexp.erb b/templates/firma/transport_regexp.erb
new file mode 100644
index 0000000..27c65af
--- /dev/null
+++ b/templates/firma/transport_regexp.erb
@@ -0,0 +1,2 @@
+/^.*+request\@<%= subdomain.gsub(/\./, '\.') %>\.(.*)$/ firmarequest:
+/^.*\@<%= subdomain.gsub(/\./, '\.') %>\.(.*)$/ firma:
diff --git a/templates/firma/virtual_regexp.erb b/templates/firma/virtual_regexp.erb
new file mode 100644
index 0000000..767f3c1
--- /dev/null
+++ b/templates/firma/virtual_regexp.erb
@@ -0,0 +1 @@
+/^(.*)-request\@<%= subdomain.gsub(/\./, '\.') %>\.(.*)$/ $1+request@<%= subdomain %>.$2