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 1dc9b913d95f93d841d5860344480cdcd2e7e7c7..79bbc8c30fb98d190a34f1d1e02ab3c72b2f82a6 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.
   #