]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
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 57067c6f75f3b51fdc21ca498d10d1bdb29971f8..87407319bbc871903fc0632265b7930ab029de69 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