From 4b52ff4eff40573dd813f1ce5425e0612e6ff009 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Thu, 15 Dec 2011 22:42:05 +0100 Subject: [PATCH] Escape dot in postmaster@ drop rule --- modules/exim/templates/eximconf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 8ba778600..453d11b07 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}} -- 2.20.1