summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-04-07 16:07:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-04-07 16:07:35 -0300
commit247d8f1f2e462321f80070154b0fc30c97acba36 (patch)
tree772e0ee6d40fbeeda6cccd17f1820302d9242363 /templates
parent2af99be9d538b91130438473697b0e1d8279bee9 (diff)
downloadpuppet-mail-247d8f1f2e462321f80070154b0fc30c97acba36.tar.gz
puppet-mail-247d8f1f2e462321f80070154b0fc30c97acba36.tar.bz2
Adding mlmmj support
Diffstat (limited to 'templates')
-rw-r--r--templates/postfix/mlmmj/transport_regexp.erb1
-rw-r--r--templates/postfix/mlmmj/virtual_regexp.erb1
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/postfix/mlmmj/transport_regexp.erb b/templates/postfix/mlmmj/transport_regexp.erb
new file mode 100644
index 0000000..ff6cf12
--- /dev/null
+++ b/templates/postfix/mlmmj/transport_regexp.erb
@@ -0,0 +1 @@
+/^(.*)\@<%= mlmmj_subdomain.gsub(/\./, '\.') %>\.(.*)$/ mlmmj:${1}
diff --git a/templates/postfix/mlmmj/virtual_regexp.erb b/templates/postfix/mlmmj/virtual_regexp.erb
new file mode 100644
index 0000000..77811dd
--- /dev/null
+++ b/templates/postfix/mlmmj/virtual_regexp.erb
@@ -0,0 +1 @@
+/^(.*)\@<%= mlmmj_subdomain.gsub(/\./, '\.') %>\.(.*)$/ ${1}