From 24f2979fbc4a02221a6e045758dc02557ef36efc Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Thu, 15 Dec 2011 22:35:18 +0100 Subject: [PATCH] Fix up postmaster@ regex --- 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 e8200899b..8ba778600 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