summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-12-31 11:12:50 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2017-12-31 11:14:51 +0000
commit4b7a74717ed76f5336fe677bb360fe3da0e47aa6 (patch)
tree380e2593b4fbb612d54e3fe8e5c8d632bcc4bd0b /src
parent5b6f765805bac2cfe4dc62195c33d24f64cc49e4 (diff)
Enable header_syntax verify in the example config
Diffstat (limited to 'src')
-rw-r--r--src/src/configure.default6
1 files changed, 6 insertions, 0 deletions
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.
#