From 8c2cb61f3ab6db182f396c7831de18d72929be28 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 11 Apr 2012 22:07:18 -0300 Subject: Comment --- manifests/mlmmj.pp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'manifests/mlmmj.pp') 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", -- cgit v1.2.3