From: Stephen Gran Date: Wed, 23 Sep 2009 20:26:38 +0000 (+0100) Subject: cert if good enough for data time checks as well for mailrelay X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=ca068c3aab8d75d8d45dd7d7d3db61c60437ed9f;p=mirror%2Fdsa-puppet.git cert if good enough for data time checks as well for mailrelay Signed-off-by: Stephen Gran --- diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 57067c6f7..87407319b 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -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