summaryrefslogtreecommitdiff
path: root/manifests/mlmmj.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-04-11 22:07:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-04-11 22:07:18 -0300
commit8c2cb61f3ab6db182f396c7831de18d72929be28 (patch)
treef973f12583990c36916c5bb2d7a9bf4a5bdcf4ba /manifests/mlmmj.pp
parent3a8482cc251ce134c43be90d63894eb57b29747e (diff)
downloadpuppet-mail-8c2cb61f3ab6db182f396c7831de18d72929be28.tar.gz
puppet-mail-8c2cb61f3ab6db182f396c7831de18d72929be28.tar.bz2
Comment
Diffstat (limited to 'manifests/mlmmj.pp')
-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",