Changes to Message Headers

Mail header

Default is X-MailScanner:
Extra header that should be added to all scanned messages to show they have been scanned. You might want to add an abbreviation of your site name to this, so that you can find headers that are added by your MailScanner server.


Spam Header

Default is X-MailScanner-SpamCheck:
Name of the header to add to mail detected as spam. The text of the header is a list of the causes that think the message is spam.

Information Header

Add this extra header to all mail as it is processed.
The contents is set by "Information Header Value" and is intended for you to be able to insert a help URL for your users.
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.

Spam Score Header

Default is X-MailScanner-SpamScore:
If the option "Spam Score" is set, this is the name of the header that is used to contain the list of characters.

Spam Score Character

If the option "Spam Score" is set, this is the character that will be repeated in the "Spam Score Header", one letter for each point in the SpamAssassin score.

Clean Header Value

This is the text that is added to the "Mail Header" when a message is found to be clean and free of viruses and other dangerous content.

Infected Header Value

This is the text that is added to the "Mail Header" when a message is found to be infected with a virus or other dangerous content.

Disinfected Header Value

When an attachment is deleted from a message (and the attachment has been stored in the quarantine) because the filename failed the filename rules in force for the message, it is replaced by the contents of this file. A few variable substitutions can be made in this file, an example of each of which is contained in the supplied sample file.

Information Header Value

Set the "Information Header" to this value.
This can also be the filename of a ruleset.

Multiple Headers

When a message passes through more than one MailScanner server on your site, they will each try to add their own headers. This option controls what should happen when trying to add a MailScanner header that already exists in the message.

Hostname

This is the name of the MailScanner server that is put in messages to users. If you have more than one MailScanner server on your site, you will want to change this on each server so that you can tell them apart.

Sign Messsages Already Processed

If a message has already been processed by another MailScanner server on your site, then the "Inline HTML/Text Signature" is not added to the message again if this option is set. Without it, you will get one signature added for every MailScanner server that processes the message

Sign Clean Messages

If this option is set, then the "Inline HTML/Text Signature" will be added to the end of every clean message processed by MailScanner. You can use this to inform the recipient that the message has been checked, and also to add any legal disclaimer or copyright statement you want to add to every message. Using a ruleset for this option, you could very simply set it so that only messages leaving your site are signed, for example.

Mark Infected Messages

If this option is set, then the "Inline HTML/Text Warning" is added to the start of every message that is found to be infected or has had attachments removed for any reason. This can be used to guide the recipients to read the infection reports contained in the replacement attachments.

Mark Unscanned Messages

If this option is set, then any message which is not scanned by MailScanner gets the "Mail Header" added to it with the string contained in the "Unscanned Header Value" option. This can be used to advertise your MailScanner service to customers/clients who are currently not using it..

Unscanned Header Value

This supplies the text that is placed in the "Mail Header" of messages that have not been scanned, if the option "Mark Unscanned Messages" is set. It is a useful place to advertise your MailScanner service to new customers/clients.

Deliver Cleaned Messages

Once a message has had all viruses and dangerous content removed from it, it will then be delivered to the original recipients if this option is set. If you want the behaviour from previous versions of MailScanner that had the "Deliver From Local Domains" keyword, then you should set this to be a ruleset that only returns "yes" for messages destined for inside your site, and "no" for messages going out of your site.

Notify Senders

If this option is set, a message will be sent back to the address that sent each infected message. The text contained in these messages is supplied by the "Sender Reports" described earlier in this document.

Never Notify Senders Of Precedence

This contains a space-separated list of message "Precedence:" header values. If you receive a nasty message, the sender will not be notified if the "Precedence:" header value appears in this list. This is particularly useful for stopping MailScanner responding to poorly-maintained mailing lists.