cert if good enough for data time checks as well for mailrelay
authorStephen Gran <steve@lobefin.net>
Wed, 23 Sep 2009 20:26:38 +0000 (21:26 +0100)
committerStephen Gran <steve@lobefin.net>
Wed, 23 Sep 2009 20:26:38 +0000 (21:26 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/templates/eximconf.erb

index 57067c6..8740731 100644 (file)
@@ -926,6 +926,16 @@ 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