From: Stephen Gran Date: Thu, 7 May 2009 00:43:21 +0000 (+0100) Subject: double escape, it seems like X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=253d42dd77713398f66bc306e52016dc2ab3b612;p=mirror%2Fdsa-puppet.git double escape, it seems like Signed-off-by: Stephen Gran --- diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 6b92a279a..431ef22ef 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -629,7 +629,7 @@ elsif has_variable?("postgrey") && postgrey == "true" ${readsocket{/var/run/postgrey/socket}{$acl_m3}\ {5s}{}{action=DUNNO}}\ }{action=}{}} - message = ${sg{$acl_m3}{^\\w+\\s*}{}} + message = ${sg{$acl_m3}{^\\\\w+\\\\s*}{}} log_message = greylisted. condition = ${if eq{${uc:${substr{0}{5}{$acl_m3}}}}{DEFER}} @@ -641,7 +641,7 @@ elsif has_variable?("postgrey") && postgrey == "true" domains = +handled_domains : +rcpthosts local_parts = GREYLIST_LOCAL_PARTS condition = ${if eq{${uc:${substr_0_7:$acl_m3}}}{PREPEND}} - message = ${sg{$acl_m3}{^\\w+\\s*}{}} + message = ${sg{$acl_m3}{^\\\\w+\\\\s*}{}} ' end out