From 4b7a74717ed76f5336fe677bb360fe3da0e47aa6 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 31 Dec 2017 11:12:50 +0000 Subject: [PATCH] Enable header_syntax verify in the example config --- src/src/configure.default | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/src/configure.default b/src/src/configure.default index 1dc9b913d..79bbc8c30 100644 --- a/src/src/configure.default +++ b/src/src/configure.default @@ -520,6 +520,12 @@ acl_check_data: got $max_received_linelength condition = ${if > {$max_received_linelength}{998}} + # Deny if the headers contain badly-formed addresses. + # + deny !verify = header_syntax + message = header syntax + log_message = header syntax ($acl_verify_message) + # Deny if the message contains a virus. Before enabling this check, you # must install a virus scanner and set the av_scanner option above. # -- 2.25.1