we'll just take valid mail at data time from other d.o hosts
authorStephen Gran <steve@lobefin.net>
Wed, 23 Sep 2009 20:46:17 +0000 (21:46 +0100)
committerStephen Gran <steve@lobefin.net>
Wed, 23 Sep 2009 20:46:17 +0000 (21:46 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/templates/eximconf.erb

index 8740731..562caff 100644 (file)
@@ -926,19 +926,6 @@ acl_check_predata:
 
 #!!# ACL that is used after the DATA command
 check_message:
-<%=
-out=''
-if nodeinfo['mailrelay']
-  out='
-  accept verify  = certificate
-'
-end
-out
-%>
-
-  require verify = header_syntax
-          message = Invalid syntax in the header
-
 <%=
 out=''
 if nodeinfo['rtmaster']
@@ -974,6 +961,11 @@ out
                             }
           message        = Mail to this address needs to be PGP-signed
 
+  accept verify  = certificate
+
+  require verify = header_syntax
+          message = Invalid syntax in the header
+
 # RFC 822 and 2822 say that headers must be ASCII.  This kinda emulates
 # postfix's strict_7bit_headers option, but only checks a few common problem
 # headers, as there doesn't appear to be an easy way to check them all.