[patch] make mail headers rfc822 conformant

Matthias Klose doko at CS.TU-BERLIN.DE
Sun Aug 31 16:32:13 IST 2003


rfc822 doesn't allow mixed-case words

--- etc/MailScanner.conf~       2003-07-02 01:56:11.000000000 +0200
+++ etc/MailScanner.conf        2003-08-31 17:25:38.000000000 +0200
@@ -500,15 +500,15 @@
 # Add this extra header to all mail as it is processed.
 # This *must* include the colon ":" at the end.
 # This can also be the filename of a ruleset.
-Mail Header = X-MailScanner:
+Mail Header = X-Mailscanner:

 # Add this extra header to all messages found to be spam.
 # This can also be the filename of a ruleset.
-Spam Header = X-MailScanner-SpamCheck:
+Spam Header = X-Mailscanner-Spamcheck:

 # Add this extra header if "Spam Score" = yes. The header will
 # contain 1 character for every point of the SpamAssassin score.
-Spam Score Header = X-MailScanner-SpamScore:
+Spam Score Header = X-Mailscanner-Spamscore:

 # Add this extra header to all mail as it is processed.
 # The contents is set by "Information Header Value" and is intended for
@@ -516,7 +516,7 @@
 # If you don't want an information header at all, just comment out this
 # setting or set it to be blank.
 # This can also be the filename of a ruleset.
-Information Header = X-MailScanner-Information:
+Information Header = X-Mailscanner-Information:

 # The character to use in the "Spam Score Header".
 # Don't use: x as a score of 3 is "xxx" which the users will think is porn,



More information about the MailScanner mailing list