#!!# 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']
}
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.