summaryrefslogtreecommitdiff
path: root/templates/sympa
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/sympa
parent0dce0e69ff64b8c98c0854c33be6886d433dedfb (diff)
downloadpuppet-mail-beb9ced0191a9c6804332bd741ba30d4eee0040a.tar.gz
puppet-mail-beb9ced0191a9c6804332bd741ba30d4eee0040a.tar.bz2
Major refactor
Diffstat (limited to 'templates/sympa')
-rw-r--r--templates/sympa/transport_regexp.erb2
-rw-r--r--templates/sympa/virtual_regexp.erb1
2 files changed, 3 insertions, 0 deletions
diff --git a/templates/sympa/transport_regexp.erb b/templates/sympa/transport_regexp.erb
new file mode 100644
index 0000000..1e32e2a
--- /dev/null
+++ b/templates/sympa/transport_regexp.erb
@@ -0,0 +1,2 @@
+/^.*+owner\@<%= subdomain.gsub(/\./, '\.') %>\.(.*)$/ sympabounce:
+/^.*\@<%= subdomain.gsub(/\./, '\.') %>\.(.*)$/ sympa:
diff --git a/templates/sympa/virtual_regexp.erb b/templates/sympa/virtual_regexp.erb
new file mode 100644
index 0000000..f5883d7
--- /dev/null
+++ b/templates/sympa/virtual_regexp.erb
@@ -0,0 +1 @@
+/^(.*)-owner\@<%= subdomain.gsub(/\./, '\.') %>\.(.*)$/ $1+owner@<%= subdomain %>.$2