summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/mlmmj.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/mlmmj.pp b/manifests/mlmmj.pp
index df5b338..d232213 100644
--- a/manifests/mlmmj.pp
+++ b/manifests/mlmmj.pp
@@ -37,6 +37,14 @@ class mail::mlmmj {
content => template('mail/postfix/mlmmj/virtual_regexp.erb'),
}
+ # From transport(5):
+ #
+ # The trivial-rewrite(8) server disallows regular expression
+ # substitution of $1 etc. in regular expression lookup
+ # tables, because that could open a security hole (Postfix
+ # version 2.3 and later).
+ #
+ # That's why we need one definition per mailing list.
define list($ensure = 'present') {
postfix::transport_regexp_snippet { "mlmmj_transport_regexp-$name":
content => "/^($name).*$/ mlmmj:$name\n",