From: Silvio Rhatto Date: Thu, 12 Apr 2012 01:07:18 +0000 (-0300) Subject: Comment X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8c2cb61f3ab6db182f396c7831de18d72929be28;p=puppet-mail.git Comment --- 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",