X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fexim%2Ftemplates%2Feximconf.erb;h=562caffda8ac1d6adbb99e9db4da9cebeb50bb43;hb=d9ba5b2f32d61371ce8f0617687e997eaa5988aa;hp=87407319bbc871903fc0632265b7930ab029de69;hpb=ca068c3aab8d75d8d45dd7d7d3db61c60437ed9f;p=mirror%2Fdsa-puppet.git diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 87407319b..562caffda 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -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.