From: Tollef Fog Heen Date: Thu, 15 Dec 2011 21:42:05 +0000 (+0100) Subject: Escape dot in postmaster@ drop rule X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=4b52ff4eff40573dd813f1ce5425e0612e6ff009 Escape dot in postmaster@ drop rule --- diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 8ba77860..453d11b0 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -886,7 +886,7 @@ check_message: # Some people put from hostmaster@something.debian.org in the From # header. Take their crack pipe away. - drop condition = ${if match{${lc:$h_From:}}{\Npostmaster@([^.]+.)?debian\.org\N}} + drop condition = ${if match{${lc:$h_From:}}{\Npostmaster@([^.]+\.)?debian\.org\N}} <%- if nodeinfo['rtmaster'] -%> deny condition = ${if eq {$acl_m_prf}{RTMail}}