Enable header_syntax verify in the example config
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 31 Dec 2017 11:12:50 +0000 (11:12 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 31 Dec 2017 11:14:51 +0000 (11:14 +0000)
src/src/configure.default

index 1dc9b91..79bbc8c 100644 (file)
@@ -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.
   #