MailScanner Configuration Index

Index
Add Envelope From Header Add Envelope To Header Allow External Message Bodies Allow Filenames
Allow Filetypes Allow Form Tags Allow IFrame Tags Allow Object Codebase Tags
Allow Partial Messages Allow Password-Protected Archives Allow Script Tags Allow WebBugs
Allowed Sophos Error Messages Also Find Numeric Phishing Always Include MCP Report Always Include SpamAssassin Report
Always Looked Up Last Always Looked Up Last After Batch Archive Mail Attachment Encoding Charset
Attachment Warning Filename Attachments Zip Filename Block Encrypted Messages Block Unencrypted Messages
Bounce MCP As Attachment Bounce Spam As Attachment Cache SpamAssassin Results Check SpamAssassin If On Spam List
ClamAVmodule Maximum Compression Ratio ClamAVmodule Maximum File Size ClamAVmodule Maximum Files ClamAVmodule Maximum Recursion Level
Clean Header Value Content Modify Subject Content Subject Text Convert Dangerous HTML To Text
Convert HTML To Text Country Sub-Domains List Custom Functions Dir Custom Spam Scanner Timeout
Custom Spam Scanner Timeout History Dangerous Content Scanning Debug Debug SpamAssassin
Definite MCP Is High Scoring Definite Spam Is High Scoring Deleted Bad Content Message Report Deleted Bad Filename Message Report
Deleted Size Message Report Deleted Virus Message Report Deliver Cleaned Messages Deliver Disinfected Files
Deliver In Background Deliver Unparsable TNEF Delivery Method Deny Filenames
Deny Filetypes Detailed MCP Report Detailed Spam Report Disarmed Modify Subject
Disarmed Subject Text Disinfected Header Value Disinfected Report Enable Spam Bounce
Envelope From Header Envelope To Header Expand TNEF File Command
File Timeout Filename Modify Subject Filename Rules Filename Subject Text
Filetype Rules Find Archives By Content Find Phishing Fraud Find UU-Encoded Files
First Check Gunzip Command Gunzip Timeout Hide Incoming Work Dir
Hide Incoming Work Dir in Notices High Scoring MCP Actions High Scoring MCP Modify Subject High Scoring MCP Subject Text
High Scoring Spam Actions High Scoring Spam Modify Subject High Scoring Spam Subject Text High SpamAssassin Score
Highlight Phishing Fraud Hostname Ignore Spam Whitelist If Recipients Exceed Ignored Web Bug Filenames
Include Scanner Name In Reports Include Scores In MCP Report Include Scores In SpamAssassin Report Incoming Queue Dir
Incoming Work Dir Incoming Work Group Incoming Work Permissions Incoming Work User
Infected Header Value Information Header Information Header Value Inline HTML Signature
Inline HTML Warning Inline Spam Warning Inline Text Signature Inline Text Warning
Is Definitely MCP Is Definitely Not MCP Is Definitely Not Spam Is Definitely Spam
Keep Spam And MCP Archive Clean Language Strings Local Postmaster Lock Type
Lockfile Dir Log Dangerous HTML Tags Log MCP Log Non Spam
Log Permitted Filenames Log Permitted Filetypes Log Silent Viruses Log Spam
Log Speed MCP Actions MCP Checks MCP Error Score
MCP Header MCP High SpamAssassin Score MCP Max SpamAssassin Size MCP Max SpamAssassin Timeouts
MCP Modify Subject MCP Required SpamAssassin Score MCP SpamAssassin Default Rules Dir MCP SpamAssassin Install Prefix
MCP SpamAssassin Local Rules Dir MCP SpamAssassin Prefs File MCP SpamAssassin Timeout MCP SpamAssassin User State Dir
MCP Subject Text MTA Mail Header MailScanner Version Number
Mark Infected Messages Mark Unscanned Messages Max Children Max Custom Spam Scanner Size
Max Custom Spam Scanner Timeouts Max Normal Queue Size Max Spam Check Size Max Spam List Timeouts
Max SpamAssassin Size Max SpamAssassin Timeouts Max Unsafe Bytes Per Scan Max Unsafe Messages Per Scan
Max Unscanned Bytes Per Scan Max Unscanned Messages Per Scan Maximum Archive Depth Maximum Attachment Size
Maximum Attachments Per Message Maximum Message Size Minimum Attachment Size Minimum Code Status
Minimum Stars If On Spam List Monitors For Sophos Updates Monitors for ClamAV Updates Multiple Headers
Never Notify Senders Of Precedence Non MCP Actions Non Spam Actions Non-Forging Viruses
Notice Signature Notices From Notices Include Full Headers Notices To
Notify Senders Notify Senders Of Blocked Filenames Or Filetypes Notify Senders Of Blocked Size Attachments Notify Senders Of Other Blocked Content
Notify Senders Of Viruses Outgoing Queue Dir PID file Phishing Modify Subject
Phishing Safe Sites File Phishing Subject Text Quarantine Dir Quarantine Group
Quarantine Infections Quarantine Modified Body Quarantine Permissions Quarantine Silent Viruses
Quarantine User Quarantine Whole Message Quarantine Whole Messages As Queue Files Queue Scan Interval
Rebuild Bayes Every Recipient MCP Report Recipient Spam Report Reject Message
Rejection Report Remove These Headers Required SpamAssassin Score Restart Every
Run As Group Run As User Run In Foreground Scan Messages
Scanned Modify Subject Scanned Subject Text Send Notices Sender Bad Filename Report
Sender Content Report Sender Error Report Sender MCP Report Sender Size Report
Sender Spam List Report Sender Spam Report Sender SpamAssassin Report Sender Virus Report
Sendmail Sendmail2 Sign Clean Messages Sign Messages Already Processed
Silent Viruses Size Modify Subject Size Subject Text Sophos IDE Dir
Sophos Lib Dir Spam Actions Spam Checks Spam Domain List
Spam Header Spam List Spam List Definitions Spam List Timeout
Spam List Timeouts History Spam Lists To Be Spam Spam Lists To Reach High Score Spam Modify Subject
Spam Score Spam Score Character Spam Score Header Spam Score Number Format
Spam Subject Text SpamAssassin Auto Whitelist SpamAssassin Cache Database File SpamAssassin Cache Timings
SpamAssassin Default Rules Dir SpamAssassin Install Prefix SpamAssassin Local Rules Dir SpamAssassin Local State Dir
SpamAssassin Site Rules Dir SpamAssassin Timeout SpamAssassin Timeouts History SpamAssassin User State Dir
SpamScore Number Instead Of Stars Split Exim Spool Still Deliver Silent Viruses Stored Bad Content Message Report
Stored Bad Filename Message Report Stored Size Message Report Stored Virus Message Report Syslog Facility
TNEF Expander TNEF Timeout Unrar Command Unrar Timeout
Unscanned Header Value Use Custom Spam Scanner Use Default Rules With Multiple Recipients Use SpamAssassin
Use Stricter Phishing Net Use TNEF Contents Virus Modify Subject Virus Scanner Definitions
Virus Scanner Timeout Virus Scanners Virus Scanning Virus Subject Text
Wait During Bayes Rebuild Warning Is Attachment Web Bug Replacement Zip Attachments

Further information
There are 284 configuration option in this version.

"First Match" rulesets work through the recipients and stop at the first address that matches, using that rule's value as the one result of the configuration option. "First Match" rulesets stop as soon as they get a match with the recipients processed in an arbitrary order.

"All Match" rulesets work through every recipient, concatenating all the results. "All Match" rulesets are usually used when you want to check if any of the recipient addresses match. For example, when evaluating a "Yes/No" option with an "All Matches" ruleset, the result is taken as a "Yes" if any of the addresses match at all.

When you use the name of a configuration option, don't worry about whitespace and punctuation. The only characters that count are A-Z and numbers. Any combination of upper and lower case is fine, as are extra punctuation marks such as '-' and extra (or missing) spaces.

Name:Add Envelope From Header
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to add the Envelope-From: header?
 This is very useful for tracking where spam came from as it
 contains the envelope sender address.
 This can also be the filename of a ruleset.
 
Name:Add Envelope To Header
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to add the Envelope-To: header?
 This can be useful for tracking spam destinations, but should be
 used with care due to possible privacy concerns with the use of
 Bcc: headers by users.
 This can also be the filename of a ruleset.
 
Name:Allowed Sophos Error Messages
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 Anything on the next line that appears in brackets at the end of a line
 of output from Sophos will cause the error/infection to be ignored.
 Use of this option is dangerous, and should only be used if you are having
 trouble with lots of corrupt PDF files, for example.
 If you need to specify more than 1 string to find in the error message,
 then put each string in quotes and separate them with a comma.
 For example:
Allowed Sophos Error Messages = "corrupt", "format not supported", "File was encrypted", "The main body of virus data is out of date"
 
Name:Allow External Message Bodies
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Do you want to allow messages whose body is stored somewhere else on the
 internet, which is downloaded separately by the user's email package?
 There is no way to guarantee that the file fetched by the user's email
 package is free from viruses, as MailScanner never sees it.
 This feature is dangerous as it can allow viruses to be fetched from
 other Internet sites by a user's email package. The user would just
 think it was a normal email attachment and would have been scanned by
 MailScanner.
 It is only currently supported by Netscape 6 anyway, and the only people
 who it are the IETF. So I would strongly advise leaving this switched off.
 This can also be the filename of a ruleset.
 
Name:Allow Filenames
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Allow any attachment filenames matching any of the patters listed here.
 If this setting is empty, it is ignored and no matches are made.
 This can also be the filename of a ruleset.
 
Name:Allow Filetypes
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Allow any attachment filetypes matching any of the patters listed here.
 If this setting is empty, it is ignored and no matches are made.
 This can also be the filetype of a ruleset.
 
Name:Allow Form Tags
Current Value: disarm Default Value: disarm
Input Type:
Allowed Values
disarm
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to allow <Form> tags in email messages? This is a bad idea
 as these are used as scams to pursuade people to part with credit card
 information and other personal data.
 Value: yes     => Allow these tags to be in the message
        no      => Ban messages containing these tags
        disarm  => Allow these tags, but stop these tags from working
                   Note: Disarming can be defeated, it is not 100% safe!
 This can also be the filename of a ruleset.
 
Name:Allow IFrame Tags
Current Value: disarm Default Value: disarm
Input Type:
Allowed Values
disarm
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to allow <IFrame> tags in email messages? This is not a good
 idea as it allows various Microsoft Outlook security vulnerabilities to
 remain unprotected, but if you have a load of mailing lists sending them,
 then you will want to allow them to keep your users happy.
 Value: yes     => Allow these tags to be in the message
        no      => Ban messages containing these tags
        disarm  => Allow these tags, but stop these tags from working
 This can also be the filename of a ruleset, so you can allow them from
 known mailing lists but ban them from everywhere else.
 
Name:Allow Object Codebase Tags
Current Value: disarm Default Value: disarm
Input Type:
Allowed Values
disarm
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to allow <Object Codebase=...> or <Object Data=...> tags
 in email messages?
 This is a bad idea as it leaves you unprotected against various
 Microsoft-specific security vulnerabilities. But if your users demand
 it, you can do it.
 Value: yes     => Allow these tags to be in the message
        no      => Ban messages containing these tags
        disarm  => Allow these tags, but stop these tags from working
 This can also be the filename of a ruleset, so you can allow them just
 for specific users or domains.
 
Name:Allow Partial Messages
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Do you want to allow partial messages, which only contain a fraction of
 the attachments, not the whole thing? There is absolutely no way to
 scan these "partial messages" properly for viruses, as MailScanner never
 sees all of the attachment at the same time. Enabling this option can
 allow viruses through. You have been warned.
 This can also be the filename of a ruleset so you can, for example, allow
 them in outgoing mail but not in incoming mail.
 
Name:Allow Password-Protected Archives
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Should archives which contain any password-protected files be allowed?
 Leaving this set to "no" is a good way of protecting against all the
 protected zip files used by viruses at the moment.
 This can also be the filename of a ruleset.
 
Name:Allow Script Tags
Current Value: disarm Default Value: disarm
Input Type:
Allowed Values
disarm
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to allow <Script> tags in email messages? This is a bad idea
 as these are used to exploit vulnerabilities in email applications and
 web browsers.
 Value: yes     => Allow these tags to be in the message
        no      => Ban messages containing these tags
        disarm  => Allow these tags, but stop these tags from working
                   Note: Disarming can be defeated, it is not 100% safe!
 This can also be the filename of a ruleset.
 
Name:Allow WebBugs
Current Value: disarm Default Value: disarm
Input Type:
Allowed Values
disarm
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to allow <Img> tags with very small images in email messages?
 This is a bad idea as these are used as 'web bugs' to find out if a message
 has been read. It is not dangerous, it is just used to make you give away
 information.
 Value: yes     => Allow these tags to be in the message
        disarm  => Allow these tags, but stop these tags from working
                   Note: Disarming can be defeated, it is not 100% safe!
 Note: You cannot block messages containing web bugs as their detection
       is very vulnerable to false alarms.
 This can also be the filename of a ruleset.
 
Name:Also Find Numeric Phishing
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 While detecting "Phishing" attacks, do you also want to point out links
 to numeric IP addresses. Genuine links to totally numeric IP addresses
 are very rare, so this option is set to "yes" by default. If a numeric
 IP address is found in a link, the same phishing warning message is used
 as in the Find Phishing Fraud option above.
 This can also be the filename of a ruleset.
 
Name:Always Include MCP Report
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Always Include SpamAssassin Report
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Do you want to always include the Spam Report in the SpamCheck
 header, even if the message wasn't spam?
 This can also be the filename of a ruleset.
 
Name:Always Looked Up Last
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This option is intended for people who want to log more information
 about messages than what is put in syslog. It is intended to be used
 with a Custom Function which has the side-effect of logging information,
 perhaps to an SQL database, or any other processing you want to do
 after each message is processed.
 Its value is completely ignored, it is purely there to have side
 effects.
 If you want to use it, read CustomConfig.pm.
 
Name:Always Looked Up Last After Batch
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This option is intended for people who want to log per-batch information.
 This is evaluated after the "Always Looked Up Last" configuration option
 for each message in the batch. This is looked up once for the entire batch.
 Its value is completely ignored, it is purely there to have side effects.
 If you want to use it, read CustomConfig.pm.
 
Name:Archive Mail
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Space-separated list of any combination of
 1. email addresses to which mail should be forwarded,
 2. directory names where you want mail to be stored,
 3. file names (they must already exist!) to which mail will be appended
    in "mbox" format suitable for most Unix mail systems.

 Any of the items above can contain the magic string _DATE_ in them
 which will be replaced with the current date in yyyymmdd format.
 This will make archive-rolling and maintenance much easier, as you can
 guarantee that yesterday's mail archive will not be in active use today.

 If you give this option a ruleset, you can control exactly whose mail
 is archived or forwarded. If you do this, beware of the legal implications
 as this could be deemed to be illegal interception unless the police have
 asked you to do this.

 Note: This setting still works even if "Scan Messages" is no.

Archive Mail = /var/spool/MailScanner/archive
 
Name:Attachment Encoding Charset
Current Value: ISO-8859-1 Default Value: ISO-8859-1
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 What character set do you want to use for the attachment that
 replaces viruses (VirusWarning.txt)?
 The default is ISO-8859-1 as even Americans have to talk to the
 rest of the world occasionally :-)
 This can also be the filename of a ruleset.
 
Name:Attachments Zip Filename
Current Value: MessageAttachments.zip Default Value: MessageAttachments.zip
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If the attachments are to be compressed into a single zip file,
 this is the filename of the zip file.
 This can also be the filename of a ruleset.
 
Name:Attachment Warning Filename
Current Value: %org-name%-Attachment-Warning.txt Default Value: VirusWarning.txt
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 When a virus or attachment is replaced by a plain-text warning,
 and that warning is an attachment, this is the filename of the
 new attachment.
 This can also be the filename of a ruleset.
 
Name:Block Encrypted Messages
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Should encrypted messages be blocked?
 This is useful if you are wary about your users sending encrypted
 messages to your competition.
 This can be a ruleset so you can block encrypted message to certain domains.
 
Name:Block Unencrypted Messages
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Should unencrypted messages be blocked?
 This could be used to ensure all your users send messages outside your
 company encrypted to avoid snooping of mail to your business partners.
 This can be a ruleset so you can just check mail to certain users/domains.
 
Name:Bounce MCP As Attachment
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Bounce Spam As Attachment
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 When you bounce a spam message back to the sender, do you want to
 encapsulate it in another message, rather like the "attachment" option
 when delivering spam to the original recipient?
 NOTE: If you enable this option, be sure to whitelist your local server
       ie. 127.0.0.1 as otherwise the spam bounce message will be detected
       as spam again, which will cause another spam bounce and so on
       until your mail queues fill up and your server crashes!
 This can also be the filename of a ruleset.
 
Name:Cache SpamAssassin Results
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Many naive spammers send out the same message to lots of people.
 These messages are very likely to have roughly the same SpamAssassin score.
 For extra speed, cache the SpamAssassin results for the messages
 being processed so that you only call SpamAssassin once for all of the
 messages.
 This can also be the filename of a ruleset.
 
Name:Check SpamAssassin If On Spam List
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If the message sender is on any of the Spam Lists, do you still want
 to do the SpamAssassin checks? Setting this to "no" will reduce the load
 on your server, but will stop the High Scoring Spam Actions from ever
 happening.
 This can also be the filename of a ruleset.
 
Name:ClamAVmodule Maximum Compression Ratio
Current Value: 250 Default Value: 250
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:ClamAVmodule Maximum Files
Current Value: 1000 Default Value: 1000
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:ClamAVmodule Maximum File Size
Current Value: 10000000 # (10 Mbytes) Default Value: 10000000
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:ClamAVmodule Maximum Recursion Level
Current Value: 8 Default Value: 8
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 ClamAVModule only: set limits when scanning for viruses.

 The maximum recursion level of archives,
 The maximum number of files per batch,
 The maximum file of each file,
 The maximum compression ratio of archive.
 These settings *cannot* be the filename of a ruleset, only a simple number.
 
Name:Clean Header Value
Current Value: Found to be clean Default Value: Found to be clean
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Set the "Mail Header" to these values for clean/infected/disinfected messages.
 This can also be the filename of a ruleset.
 
Name:Content Modify Subject
Current Value: start Default Value: start
Input Type:
Allowed Values
end
start
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If an attachment triggered a content check, but there was nothing
 else wrong with the message, do you want to modify the subject line?
 This can be 1 of 4 values:
      no    = Do not modify the subject line, or
      start = Add text to the start of the subject line, or
      yes   = Add text to the start of the subject line, or
      end   = Add text to the end of the subject line.
 This makes filtering in Outlook very easy.
 This can also be the filename of a ruleset.
 
Name:Content Subject Text
Current Value: {Dangerous Content?} Default Value: {Dangerous Content?}
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is the text to add to the start of the subject if the
 "Content Modify Subject" option is set.
 You might want to change this so your users can see at a glance
 whether it just was just the content that MailScanner rejected.
 This can also be the filename of a ruleset.
 
Name:Convert Dangerous HTML To Text
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This option interacts with the "Allow ... Tags" options above like this:

 Allow...Tags    Convert Danger...    Action Taken on HTML Message
 ============    =================    ============================
    no              no                Blocked
    no              yes               Blocked
    disarm          no                Specified HTML tags disarmed
    disarm          yes               Specified HTML tags disarmed
    yes             no                Nothing, allowed to pass
    yes             yes               All HTML tags stripped

 If an "Allow ... Tags = yes" is triggered by a message, and this
 "Convert Dangerous HTML To Text" is set to "yes", then the HTML
 message will be converted to plain text.  This makes the HTML
 harmless, while still allowing your users to see the text content
 of the messages.  Note that all graphical content will be removed.

 This can also be the filename of a ruleset, so you can make this apply
 only to specific users or domains.
 
Name:Convert HTML To Text
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to convert all HTML messages into plain text?
 This is very useful for users who are children or are easily offended
 by nasty things like pornographic spam.
 This can also be the filename of a ruleset, so you can switch this
 feature on and off for particular users or domains.
 
Name:Country Sub-Domains List
Current Value: %etc-dir%/country.domains.conf Default Value: /etc/MailScanner/country.domains.conf
Input Type: File Ruleset Allowed: No Ruleset Type: N/A
Description:
 This file lists all the countries that use 2nd-level and 3rd-level
 domain names to classify distinct types of website within their country.
 This cannot be the name of a ruleset, it is just a simple setting.
 
Name:Custom Functions Dir
Current Value: /opt/MailScanner/lib/MailScanner/CustomFunctions Default Value: /usr/lib/MailScanner/MailScanner/CustomFunctions
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 Where to put the code for your "Custom Functions". No code in this
 directory should be over-written by the installation or upgrade process.
 All files starting with "." or ending with ".rpmnew" will be ignored,
 all other files will be compiled and may be used with Custom Functions.
 
Name:Custom Spam Scanner Timeout
Current Value: 20 Default Value: 20
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 How long should the custom spam scanner take to run? If it takes more
 seconds than this, then it should be considered to have crashed and
 should be killed. This stops denial-of-service attacks.
 
Name:Custom Spam Scanner Timeout History
Current Value: 20 Default Value: 20
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 The total number of Custom Spam Scanner attempts during which "Max
 Custom Spam Scanner Timeouts" will cause the Custom Spam Scanner to
 be marked as "unavailable". See the previous comment for more information.
 The default values of 10 and 20 mean that 10 timeouts in any sequence of
 20 attempts will trigger the behaviour described above, until the next
 periodic restart (see "Restart Every").
 
Name:Dangerous Content Scanning
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to scan the messages for potentially dangerous content?
 Setting this to "no" will disable all the content-based checks except
 Virus Scanning, Allow Partial Messages and Allow External Message Bodies.
 This can also be the filename of a ruleset.
 
Name:Debug
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 Set Debug to "yes" to stop it running as a daemon and just process
 one batch of messages and then exit.
 
Name:Debug SpamAssassin
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 Do you want to debug SpamAssassin from within MailScanner?
 
Name:Definite MCP Is High Scoring
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Definite Spam Is High Scoring
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Setting this to yes means that spam found in the blacklist is treated
 as "High Scoring Spam" in the "Spam Actions" section below. Setting it
 to no means that it will be treated as "normal" spam.
 This can also be the filename of a ruleset.
 
Name:Deleted Bad Content Message Report
Current Value: %report-dir%/deleted.content.message.txt Default Value: /etc/MailScanner/reports/en/deleted.content.message.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Set where to find the message text sent to users when one of their
 attachments has been deleted from a message.
 These can also be the filenames of rulesets.
 
Name:Deleted Bad Filename Message Report
Current Value: %report-dir%/deleted.filename.message.txt Default Value: /etc/MailScanner/reports/en/deleted.filename.message.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Deleted Size Message Report
Current Value: %report-dir%/deleted.size.message.txt Default Value: /etc/MailScanner/reports/en/deleted.size.message.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Deleted Virus Message Report
Current Value: %report-dir%/deleted.virus.message.txt Default Value: /etc/MailScanner/reports/en/deleted.virus.message.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Deliver Cleaned Messages
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to deliver messages once they have been cleaned of any
 viruses?
 By making this a ruleset, you can re-create the "Deliver From Local"
 facility of previous versions.
 
Name:Deliver Disinfected Files
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Should I attempt to disinfect infected attachments and then deliver
 the clean ones. "Disinfection" involves removing viruses from files
 (such as removing macro viruses from documents). "Cleaning" is the
 replacement of infected attachments with "VirusWarning.txt" text
 attachments.
 Less than 1% of viruses in the wild can be successfully disinfected,
 as macro viruses are now a rare occurrence. So the default has been
 changed to "no" as it gives a significant performance improvement.

 This can also be the filename of a ruleset.
 
Name:Deliver In Background
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 When attempting delivery of outgoing messages, should we do it in the
 background or wait for it to complete? The danger of doing it in the
 background is that the machine load goes ever upwards while all the
 slow sendmail processes run to completion. However, running it in the
 foreground may cause the mail server to run too slowly.
 
Name:Deliver Unparsable TNEF
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Some versions of Microsoft Outlook generate unparsable Rich Text
 format attachments. Do we want to deliver these bad attachments anyway?
 Setting this to yes introduces the slight risk of a virus getting through,
 but if you have a lot of troubled Outlook users you might need to do this.
 We are working on a replacement for the TNEF decoder.
 This can also be the filename of a ruleset.
 
Name:Delivery Method
Current Value: batch Default Value: batch
Input Type:
Allowed Values
queue
batch
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Attempt immediate delivery of messages, or just place them in the outgoing
 queue for the MTA to deliver when it wants to?
      batch -- attempt delivery of messages, in batches of up to 20 at once.
      queue -- just place them in the queue and let the MTA find them.
 This can also be the filename of a ruleset. For example, you could use a
 ruleset here so that messages coming to you are immediately delivered,
 while messages going to any other site are just placed in the queue in
 case the remote delivery is very slow.
 
Name:Deny Filenames
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Deny any attachment filenames matching any of the patters listed here.
 If this setting is empty, it is ignored and no matches are made.
 This can also be the filename of a ruleset.
 
Name:Deny Filetypes
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Deny any attachment filetypes matching any of the patters listed here.
 If this setting is empty, it is ignored and no matches are made.
 This can also be the filetype of a ruleset.
 
Name:Detailed MCP Report
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Detailed Spam Report
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Do you want the full spam report, or just a simple "spam / not spam" report?
 
Name:Disarmed Modify Subject
Current Value: start Default Value: start
Input Type:
Allowed Values
end
start
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If HTML tags in the message were "disarmed" by using the HTML "Allow"
 options above with the "disarm" settings, do you want to modify the
 subject line?
 This can be 1 of 4 values:
      no    = Do not modify the subject line, or
      start = Add text to the start of the subject line, or
      yes   = Add text to the start of the subject line, or
      end   = Add text to the end of the subject line.
 This can also be the filename of a ruleset.
 
Name:Disarmed Subject Text
Current Value: {Disarmed} Default Value: {Disarmed}
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is the text to add to the start of the subject if the
 "Disarmed Modify Subject" option is set.
 This can also be the filename of a ruleset.
 
Name:Disinfected Header Value
Current Value: Disinfected Default Value: Disinfected
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Disinfected Report
Current Value: %report-dir%/disinfected.report.txt Default Value: /etc/MailScanner/reports/en/disinfected.report.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Set where to find the message text sent to users explaining about the
 attached disinfected documents.
 This can also be the filename of a ruleset.
 
Name:Enable Spam Bounce
Current Value: %rules-dir%/bounce.rules Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 You can use this ruleset to enable the "bounce" Spam Action.
 You must *only* enable this for mail from sites with which you have
 agreed to bounce possible spam. Use it on low-scoring spam only (<10)
 and only to your regular customers for use in the rare case that a
 message is mis-tagged as spam when it shouldn't have been.
 Beware that many sites will automatically delete the bounce messages
 created by using this option unless you have agreed this with them in
 advance.
 If you enable this, be prepared to handle the irate responses from
 people to whom you are essentially sending more spam!
 
Name:Envelope From Header
Current Value: X-%org-name%-MailScanner-From: Default Value: X-MailScanner-Envelope-From:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is the name of the Envelope From header
 controlled by the option above.
 This can also be the filename of a ruleset.
 
Name:Envelope To Header
Current Value: X-%org-name%-MailScanner-To: Default Value: X-MailScanner-Envelope-To:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is the name of the Envelope To header
 controlled by the option above.
 This can also be the filename of a ruleset.
 
Name:Expand TNEF
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 Expand TNEF attachments using an external program (or a Perl module)?
 This should be "yes" unless the scanner you are using (Sophos, McAfee) has
 the facility built-in. However, if you set it to "no", then the filenames
 within the TNEF attachment will not be checked against the filename rules.
 
Name:File Command
Current Value: /usr/bin/file Default Value: /usr/bin/file
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 Where the "file" command is installed.
 This is used for checking the content type of files, regardless of their
 filename.
 To disable Filetype checking, set this value to blank.
 
Name:Filename Modify Subject
Current Value: start Default Value: start
Input Type:
Allowed Values
end
start
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If an attachment triggered a filename check, but there was nothing
 else wrong with the message, do you want to modify the subject line?
 This can be 1 of 4 values:
      no    = Do not modify the subject line, or
      start = Add text to the start of the subject line, or
      yes   = Add text to the start of the subject line, or
      end   = Add text to the end of the subject line.
 This makes filtering in Outlook very easy.
 This can also be the filename of a ruleset.
 
Name:Filename Rules
Current Value: %etc-dir%/filename.rules.conf Default Value:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 
 Set where to find the attachment filename ruleset.
 The structure of this file is explained elsewhere, but it is used to
 accept or reject file attachments based on their name, regardless of
 whether they are infected or not.

 This can also point to a ruleset, but the ruleset filename must end in
 ".rules" so that MailScanner can determine if the filename given is
 a ruleset or not!
 
Name:Filename Subject Text
Current Value: {Filename?} Default Value: {Filename?}
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is the text to add to the start of the subject if the
 "Filename Modify Subject" option is set.
 You might want to change this so your users can see at a glance
 whether it just was just the filename that MailScanner rejected.
 This can also be the filename of a ruleset.
 
Name:File Timeout
Current Value: 20 Default Value: 20
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 The maximum length of time the "file" command is allowed to run for 1
 batch of messages (in seconds).
 
Name:Filetype Rules
Current Value: %etc-dir%/filetype.rules.conf Default Value:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Set where to find the attachment filetype ruleset.
 The structure of this file is explained elsewhere, but it is used to
 accept or reject file attachments based on their content as determined
 by the "file" command, regardless of whether they are infected or not.

 This can also point to a ruleset, but the ruleset filename must end in
 ".rules" so that MailScanner can determine if the filename given is
 a ruleset or not!

 To disable this feature, set this to just "Filetype Rules =" or set
 the location of the file command to a blank string.
 
Name:Find Archives By Content
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Find zip archives by filename or by file contents?
 Finding them by content is a far more reliable way of finding them, but
 it does mean that you cannot tell your users to avoid zip file checking
 by renaming the file from ".zip" to "_zip" and tricks like that.
 Only set this to no (i.e. check by filename only) if you don't want to
 reliably check the contents of zip files. Note this does not affect
 virus checking, but it will affect all the other checks done on the contents
 of the zip file.
 This can also be the filename of a ruleset.
 
Name:Find Phishing Fraud
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to check for "Phishing" attacks?
 These are attacks that look like a genuine email message from your bank,
 which contain a link to click on to take you to the web site where you
 will be asked to type in personal information such as your account number
 or credit card details.
 Except it is not the real bank's web site at all, it is a very good copy
 of it run by thieves who want to steal your personal information or
 credit card details.
 These can be spotted because the real address of the link in the message
 is not the same as the text that appears to be the link.
 Note: This does cause extra load, particularly on systems receiving lots
       of spam such as secondary MX hosts.
 This can also be the filename of a ruleset.
 
Name:Find UU-Encoded Files
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 A few viruses store their infected data in UU-encoded files, to try to
 catch out virus scanners. This rarely succeeds at all.
 Setting this option to yes means that you can apply filename and filetype
 checks to the contents of UU-encoded files. This may occasionally be
 useful, in which case you should set to yes.
 This can also be the filename of a ruleset.
 
Name:First Check
Current Value: mcp Default Value: mcp
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 Do the spam checks first, or the MCP checks first?
 This cannot be the filename of a ruleset, only a fixed value.
 
Name:Gunzip Command
Current Value: /bin/gunzip Default Value: /bin/gunzip
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 Where the "gunzip" command is installed.
 This is used for expanding .gz files.
 To disable gzipped file checking, set this value to blank
 and the timeout to 0.
 
Name:Gunzip Timeout
Current Value: 50 Default Value: 50
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 The maximum length of time the "gunzip" command is allowed to run to expand
 1 attachment file (in seconds).
 
Name:Hide Incoming Work Dir
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Hide the directory path from all virus scanner reports sent to users.
 The extra directory paths give away information about your setup, and
 tend to just confuse users.
 This can also be the filename of a ruleset.
 
Name:Hide Incoming Work Dir in Notices
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Hide the directory path from all the system administrator notices.
 The extra directory paths give away information about your setup, and
 tend to just confuse users but are still useful for local sys admins.
 This can also be the filename of a ruleset.
 
Name:Highlight Phishing Fraud
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 If a phishing fraud is detected, do you want to highlight the tag with
 a message stating that the link may be to a fraudulent web site.
 This can also be the filename of a ruleeset.
 
Name:High Scoring MCP Actions
Current Value: deliver Default Value: deliver
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:High Scoring MCP Modify Subject
Current Value: start Default Value: start
Input Type:
Allowed Values
end
start
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:High Scoring MCP Subject Text
Current Value: {MCP?} Default Value: {MCP?}
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:High Scoring Spam Actions
Current Value: deliver header "X-Spam-Status: Yes" Default Value: deliver header "X-Spam-Status: Yes"
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is just like the "Spam Actions" option above, except that it applies
 when the score from SpamAssassin is higher than the "High SpamAssassin Score"
 value.
    deliver                 - deliver the message as normal
    delete                  - delete the message
    store                   - store the message in the quarantine
    forward user@domain.com - forward a copy of the message to user@domain.com
    striphtml               - convert all in-line HTML content to plain text.
                              You need to specify "deliver" as well for the
                              message to reach the original recipient.
    attachment              - Convert the original message into an attachment
                              of the message. This means the user has to take
                              an extra step to open the spam, and stops "web
                              bugs" very effectively.
    notify                  - Send the recipients a short notification that
                              spam addressed to them was not delivered. They
                              can then take action to request retrieval of
                              the original message if they think it was not
                              spam.
    header "name: value"    - Add the header
                                name: value
                              to the message. name must not contain any spaces.

 The default value I have set here enables Thunderbird 1.5 to automatically
 handle spam when set to trust the "SpamAssassin" headers.

 This can also be the filename of a ruleset, in which case the filename
 must end in ".rule" or ".rules".
 
Name:High Scoring Spam Modify Subject
Current Value: start Default Value: start
Input Type:
Allowed Values
end
start
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is just like the "Spam Modify Subject" option above, except that
 it applies when the score from SpamAssassin is higher than the
 "High SpamAssassin Score" value.
 This can be 1 of 4 values:
      no    = Do not modify the subject line, or
      start = Add text to the start of the subject line, or
      yes   = Add text to the start of the subject line, or
      end   = Add text to the end of the subject line.
 This can also be the filename of a ruleset.
 
Name:High Scoring Spam Subject Text
Current Value: {Spam?} Default Value: {Spam?}
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is just like the "Spam Subject Text" option above, except that
 it applies when the score from SpamAssassin is higher than the
 "High SpamAssassin Score" value.
 The exact string "_SCORE_" will be replaced by the numeric
 SpamAssassin score.
 The exact string "_STARS_" will be replaced by a row of stars
 whose length is the SpamAssassin score.
 This can also be the filename of a ruleset.
 
Name:High SpamAssassin Score
Current Value: 10 Default Value: 10
Input Type: Numeric Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If a message achieves a SpamAssassin score higher than this value,
 then the "High Scoring Spam Actions" are used. You may want to use
 this to deliver moderate scores, while deleting very high scoring messsages.
 This can also be the filename of a ruleset.
 
Name:Hostname
Current Value: the %org-name% ($HOSTNAME) MailScanner Default Value: the MailScanner
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Name of this host, or a name like "the MailScanner" if you want to hide
 the real hostname. It is used in the Help Desk note contained in the
 virus warnings sent to users.
 Remember you can use $HOSTNAME in here, so you might want to set it to
 Hostname = the %org-name% ($HOSTNAME) MailScanner
 This can also be the filename of a ruleset.
 
Name:Ignored Web Bug Filenames
Current Value: spacer pixel.gif pixel.png gap Default Value:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 This is a list of filenames (or parts of filenames) that may appear in
 the filename of a web bug URL. They are only checked in the filename,
 not any directories or hostnames in the URL of the possible web bug.

 If it appears, then the web bug is assumed to be a harmless "spacer" for
 page layout purposes and not a real web bug at all.
 It should be a space- and/or comma-separated list of filename parts.

 Note: Use this with care, as spammers may use this to circumvent the
       web bug trap. It is disabled by default because of this problem.

 This can also be the filename of a ruleset.
Ignored Web Bug Filenames = spacer pixel.gif pixel.png
 
Name:Ignore Spam Whitelist If Recipients Exceed
Current Value: 20 Default Value: 20
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 Spammers have learnt that they can get their message through by sending
 a message with lots of recipients, one of which chooses to whitelist
 everything coming to them, including the spammer.
 So if a message arrives with more than this number of recipients, ignore
 the "Is Definitely Not Spam" whitelist.
 
Name:Include Scanner Name In Reports
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 Include the name of the virus scanner in each of the scanner reports.
 This also includes the translation of "MailScanner" in each of the report
 lines resulting from one of MailScanner's own checks such as filename,
 filetype or dangerous HTML content. To change the name "MailScanner", look
 in reports/...../languages.conf.

 Very useful if you use several virus scanners, but a bad idea if you
 don't want to let your customers know which scanners you use.
 
Name:Include Scores In MCP Report
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Include Scores In SpamAssassin Report
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Do you want to include the numerical scores in the detailed SpamAssassin
 report, or just list the names of the scores
 
Name:Incoming Queue Dir
Current Value: /var/spool/mqueue.in Default Value: /var/spool/mqueue.in
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 Set location of incoming mail queue

 This can be any one of
 1. A directory name
    Example: /var/spool/mqueue.in
 2. A wildcard giving directory names
    Example: /var/spool/mqueue.in/*
 3. The name of a file containing a list of directory names,
    which can in turn contain wildcards.
    Example: /opt/MailScanner/etc/mqueue.in.list.conf

 If you are using sendmail and have your queues split into qf, df, xf
 directories, then just specify the main directory, do not give me the
 directory names of the qf,df,xf directories.
 Example: if you have /var/spool/mqueue.in/qf
                      /var/spool/mqueue.in/df
                      /var/spool/mqueue.in/xf
 then just tell me /var/spool/mqueue.in. I will find the subdirectories
 automatically.
 
Name:Incoming Work Dir
Current Value: /var/spool/MailScanner/incoming Default Value: /var/spool/MailScanner/incoming
Input Type: Directory Ruleset Allowed: No Ruleset Type: N/A
Description:
 Set where to unpack incoming messages before scanning them
 This can completely safely use tmpfs or a ramdisk, which will
 give you a significant performance improvement.
 NOTE: The path given here must not include any links at all,
 NOTE: but must be the absolute path to the directory.
 
Name:Incoming Work Group
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:Incoming Work Permissions
Current Value: 0600 Default Value: 0600
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 If you want processes running under the same *group* as MailScanner to
 be able to read the working files (and list what is in the
 directories, of course), set to 0640. If you want *all* other users to
 be able to read them, set to 0644. For a detailed description, if
 you're not already familiar with it, refer to `man 2 chmod`.
 Typical use: external helper programs of virus scanners (notably ClamAV),
 like unpackers.
 Use with care, you may well open security holes.

 Note: If the "Run As User" is "root" (or not set at all) and you are
       using the "clamd" virus scanner, then this must be set:
       Incoming Work Group = clamav
       Incoming Work Permissions = 0640
 
Name:Incoming Work User
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 If you want to create the temporary working files so they are owned
 by a user other than the "Run As User" setting at the top of this file,
 you can change that here.
 Note: If the "Run As User" is not "root" then you cannot change the
       user but may still be able to change the group, if the
       "Run As User" is a member of both of the groups "Run As Group"
       and "Incoming Work Group".
 Note: If the "Run As User" is "root" (or not set at all) and you are
       using the "clamd" virus scanner, then this must be set:
       Incoming Work Group = clamav
       Incoming Work Permissions = 0640
 
Name:Infected Header Value
Current Value: Found to be infected Default Value: Found to be infected
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Information Header
Current Value: X-%org-name%-MailScanner-Information: Default Value:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 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.
 
Name:Information Header Value
Current Value: Please contact the ISP for more information Default Value: Please contact the ISP for more information
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Set the "Information Header" to this value.
 This can also be the filename of a ruleset.
 
Name:Inline HTML Signature
Current Value: %report-dir%/inline.sig.html Default Value: /etc/MailScanner/reports/en/inline.sig.html
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Set where to find the HTML and text versions that will be added to the
 end of all clean messages, if "Sign Clean Messages" is set.
 These can also be the filenames of rulesets.
 
Name:Inline HTML Warning
Current Value: %report-dir%/inline.warning.html Default Value: /etc/MailScanner/reports/en/inline.warning.html
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Set where to find the HTML and text versions that will be inserted at
 the top of messages that have had viruses removed from them.
 These can also be the filenames of rulesets.
 
Name:Inline Spam Warning
Current Value: %report-dir%/inline.spam.warning.txt Default Value: /etc/MailScanner/reports/en/inline.spam.warning.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If you use the 'attachment' Spam Action or High Scoring Spam Action
 then this is the location of inline spam report that is inserted at
 the top of the message.
 
Name:Inline Text Signature
Current Value: %report-dir%/inline.sig.txt Default Value: /etc/MailScanner/reports/en/inline.sig.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Inline Text Warning
Current Value: %report-dir%/inline.warning.txt Default Value: /etc/MailScanner/reports/en/inline.warning.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Is Definitely MCP
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Is Definitely Not MCP
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Is Definitely Not Spam
Current Value: %rules-dir%/spam.whitelist.rules Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Spam Whitelist:
 Make this point to a ruleset, and anything in that ruleset whose value
 is "yes" will *never* be marked as spam.
 The whitelist check is done before the blacklist check. If anyone whitelists
 a message, then all recipients get the message. If no-one has whitelisted it,
 then the blacklist is checked.
 This setting over-rides the "Is Definitely Spam" setting.
 This can also be the filename of a ruleset.
Is Definitely Not Spam = no
 
Name:Is Definitely Spam
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Spam Blacklist:
 Make this point to a ruleset, and anything in that ruleset whose value
 is "yes" will *always* be marked as spam.
 This value can be over-ridden by the "Is Definitely Not Spam" setting.
 This can also be the filename of a ruleset.
 
Name:Keep Spam And MCP Archive Clean
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Do you want to stop any virus-infected spam getting into the spam or MCP
 archives? If you have a system where users can release messages from the
 spam or MCP archives, then you probably want to stop them being able to
 release any infected messages, so set this to yes.
 It is set to no by default as it causes a small hit in performance, and
 many people don't allow users to access the spam quarantine, so don't
 need it.
 This can also be the filename of a ruleset.
 
Name:Language Strings
Current Value: %report-dir%/languages.conf Default Value:
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Set where to find all the strings used so they can be translated into
 your local language.
 This can also be the filename of a ruleset so you can produce different
 languages for different messages.
 
Name:Local Postmaster
Current Value: postmaster Default Value: postmaster
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Address of the local Postmaster, which is used as the "From" address in
 virus warnings sent to users.
 This can also be the filename of a ruleset.
 
Name:Lockfile Dir
Current Value: /tmp Default Value: /tmp
Input Type: Directory Ruleset Allowed: No Ruleset Type: N/A
Description:
 Where to put the virus scanning engine lock files.
 These lock files are used between MailScanner and the virus signature
 "autoupdate" scripts, to ensure that they aren't both working at the
 same time (which could cause MailScanner to let a virus through).
 
Name:Lock Type
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 How to lock spool files.
 Don't set this unless you *know* you need to.
 For sendmail, it defaults to "posix".
 For sendmail 8.12 and older, you will probably need to change it to flock,
 particularly on Linux systems.
 For Exim, it defaults to "posix".
 No other type is implemented.
 
Name:Log Dangerous HTML Tags
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Log all occurrences of HTML tags found in messages, that can be blocked.
 This will help you build up your whitelist of message sources for which
 particular HTML tags should be allowed, such as mail from newsletters
 and daily cartoon strips.
 This can also be the filename of a ruleset.
 
Name:Log MCP
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:Log Non Spam
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 Do you want all non-spam to be logged? Useful if you want to see
 all the SpamAssassin reports of mail that was marked as non-spam.
 Note: It will generate a lot of log traffic.
 
Name:Log Permitted Filenames
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Log all the filenames that are allowed by the Filename Rules, or just
 the filenames that are denied?
 This can also be the filename of a ruleset.
 
Name:Log Permitted Filetypes
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Log all the filenames that are allowed by the Filetype Rules, or just
 the filetypes that are denied?
 This can also be the filename of a ruleset.
 
Name:Log Silent Viruses
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 Log all occurrences of "Silent Viruses" as defined above?
 This can only be a simple yes/no value, not a ruleset.
 
Name:Log Spam
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 Do you want all spam to be logged? Useful if you want to gather
 spam statistics from your logs, but can increase the system load quite
 a bit if you get a lot of spam.
 
Name:Log Speed
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 Do you want to log the processing speed for each section of the code
 for a batch? This can be very useful for diagnosing speed problems,
 particularly in spam checking.
 
Name:Mail Header
Current Value: X-%org-name%-MailScanner: Default Value: X-MailScanner:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 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.
 
Name:MailScanner Version Number
Current Value: VersionNumberHere Default Value: 1.0.0
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 This is the version number of the MailScanner distribution that created
 this configuration file. Please do not change this value.
 
Name:Mark Infected Messages
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Add the "Inline HTML Warning" or "Inline Text Warning" to the top of
 messages that have had attachments removed from them?
 This can also be the filename of a ruleset.
 
Name:Mark Unscanned Messages
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 When a message is to not be virus-scanned (which may happen depending
 upon the setting of "Virus Scanning", especially if it is a ruleset),
 do you want to add the header advising the users to get their email
 virus-scanned by you?
 Very good for advertising your MailScanning service and encouraging
 users to give you some more money and sign up to virus scanning.
 This can also be the filename of a ruleset.
 
Name:Max Children
Current Value: 5 Default Value: 5
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 How many MailScanner processes do you want to run at a time?
 There is no point increasing this figure if your MailScanner server
 is happily keeping up with your mail traffic.
 If you are running on a server with more than 1 CPU, or you have a
 high mail load (and/or slow DNS lookups) then you should see better
 performance if you increase this figure.
 If you are running on a small system with limited RAM, you should
 note that each child takes just over 20MB.

 As a rough guide, try 5 children per CPU. But read the notes above.
 
Name:Max Custom Spam Scanner Size
Current Value: 20k Default Value: 20000
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 How much of the message should be passed tot he Custom Spam Scanner.
 Most spam tools only need the first 20kbytes of the message to determine
 if it is spam or not. Passing more than is necessary only slows things
 down.
 This can also be the filename of a ruleset.
 
Name:Max Custom Spam Scanner Timeouts
Current Value: 10 Default Value: 10
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 If the Custom Spam Scanner times out more times in a row than this,
 then it will be marked as "unavailable" until MailScanner next re-
 starts itself.
 
Name:Maximum Archive Depth
Current Value: 2 Default Value: 2
Input Type: Numeric Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 The maximum depth to which zip archives will be unpacked, to allow for
 checking filenames and filetypes within zip archives.

 Note: This setting does *not* affect virus scanning in archives at all.

 To disable this feature set this to 0.
 A common useful setting is this option = 0, and Allow Password-Protected
 Archives = no. That block password-protected archives but does not do
 any filename/filetype checks on the files within the archive.
 This can also be the filename of a ruleset.
 
Name:Maximum Attachment Size
Current Value: -1 Default Value: -1
Input Type: Numeric Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 The maximum size, in bytes, of any attachment in a message.
 If this is set to zero, effectively no attachments are allowed.
 If this is set less than zero, then no size checking is done.
 This can also be the filename of a ruleset, so you can have different
 settings for different users. You might want to set this quite small for
 large mailing lists so they don't get deluged by large attachments.
 
Name:Maximum Attachments Per Message
Current Value: 200 Default Value: 200
Input Type: Numeric Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 The maximum number of attachments allowed in a message before it is
 considered to be an error. Some email systems, if bouncing a message
 between 2 addresses repeatedly, add information about each bounce as
 an attachment, creating a message with thousands of attachments in just
 a few minutes. This can slow down or even stop MailScanner as it uses
 all available memory to unpack these thousands of attachments.
 This can also be the filename of a ruleset.
 
Name:Maximum Message Size
Current Value: %rules-dir%/max.message.size.rules Default Value: 0
Input Type: Numeric Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 The maximum size, in bytes, of any message including the headers.
 If this is set to zero, then no size checking is done.
 This can also be the filename of a ruleset, so you can have different
 settings for different users. You might want to set this quite small for
 dialup users so their email applications don't time out downloading huge
 messages.
 
Name:Max Normal Queue Size
Current Value: 800 Default Value: 800
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 If more messages are found in the queue than this, then switch to an
 "accelerated" mode of processing messages. This will cause it to stop
 scanning messages in strict date order, but in the order it finds them
 in the queue. If your queue is bigger than this size a lot of the time,
 then some messages could be greatly delayed. So treat this option as
 "in emergency only".
 
Name:Max SpamAssassin Size
Current Value: 40k Default Value: 30000
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 SpamAssassin is not very fast when scanning huge messages, so messages
 bigger than this value will be truncated to this length for SpamAssassin
 testing. The original message will not be affected by this. This value
 is a good compromise as very few spam messages are bigger than this.

 Now for the options:
 1) <length of data in bytes>
 2) <length of data in bytes> trackback
 3) <length of data in bytes> continue <max extra bytes allowed>

 1) Put in a simple number.
    This will be the simple cut-off point for messages that are larger than
    this number.
 2) Put in a number followed by 'trackback'.
    Once the size limit is reached, MailScanner reverses towards the start
    of the message, until it hits a line that is blank. The message passed
    to SpamAssassin is truncated there. This stops any part-images being
    passed to SpamAssassin, and so avoids rules which trigger on this.
 3) Put in a number followed by 'continue' followed by another number.
    Once the size limit is reached, MailScanner continues adding to the data
    passed to SpamAssassin, until at most the 2nd number of bytes have been
    added looking for a blank line. This tries to complete the image data
    that has been started when the 1st number of bytes has been reached,
    while imposing a limit on the amount that can be added (to avoid attacks).

 If all this confuses you, just leave it alone at "40k" as that is good.
 
Name:Max SpamAssassin Timeouts
Current Value: 10 Default Value: 10
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 If SpamAssassin times out more times in a row than this, then it will be
 marked as "unavailable" until MailScanner next re-starts itself.
 This means that remote network failures causing SpamAssassin trouble will
 not mean your mail stops flowing.
 
Name:Max Spam Check Size
Current Value: 150000 Default Value: 150000
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 Spammers do not have the power to send out huge messages to everyone as
 it costs them too much (more smaller messages makes more profit than less
 very large messages). So if a message is bigger than a certain size, it
 is highly unlikely to be spam. Limiting this saves a lot of time checking
 huge messages.
 Disable this option by setting it to a huge value.
 This is measured in bytes.
 This can also be the filename of a ruleset.
 
Name:Max Spam List Timeouts
Current Value: 7 Default Value: 7
Input Type: Numeric Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 The maximum number of timeouts caused by any individual "Spam List" or
 "Spam Domain List" before it is marked as "unavailable". Once marked,
 the list will be ignored until the next automatic re-start (see
 "Restart Every" for the longest time it will wait).
 This can also be the filename of a ruleset.
 
Name:Max Unsafe Bytes Per Scan
Current Value: 50m Default Value: 50000000
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:Max Unsafe Messages Per Scan
Current Value: 30 Default Value: 30
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:Max Unscanned Bytes Per Scan
Current Value: 100m Default Value: 100000000
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:Max Unscanned Messages Per Scan
Current Value: 30 Default Value: 30
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:MCP Actions
Current Value: deliver Default Value: deliver
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:MCP Checks
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:MCP Error Score
Current Value: 1 Default Value: 1
Input Type: Numeric Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:MCP Header
Current Value: X-%org-name%-MailScanner-MCPCheck: Default Value: X-MailScanner-MCPCheck:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:MCP High SpamAssassin Score
Current Value: 10 Default Value: 10
Input Type: Numeric Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:MCP Max SpamAssassin Size
Current Value: 100k Default Value: 100000
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:MCP Max SpamAssassin Timeouts
Current Value: 20 Default Value: 20
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:MCP Modify Subject
Current Value: start Default Value: start
Input Type:
Allowed Values
end
start
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:MCP Required SpamAssassin Score
Current Value: 1 Default Value: 1
Input Type: Numeric Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 The rest of these options are clones of the equivalent spam options
 
Name:MCP SpamAssassin Default Rules Dir
Current Value: %mcp-dir% Default Value: /etc/MailScanner/mcp
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:MCP SpamAssassin Install Prefix
Current Value: %mcp-dir% Default Value: /etc/MailScanner/mcp
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:MCP SpamAssassin Local Rules Dir
Current Value: %mcp-dir% Default Value: /etc/MailScanner/mcp
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:MCP SpamAssassin Prefs File
Current Value: %mcp-dir%/mcp.spam.assassin.prefs.conf Default Value: /etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf
Input Type: File Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:MCP SpamAssassin Timeout
Current Value: 10 Default Value: 10
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:MCP SpamAssassin User State Dir
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:MCP Subject Text
Current Value: {MCP?} Default Value: {MCP?}
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Minimum Attachment Size
Current Value: -1 Default Value: -1
Input Type: Numeric Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 The minimum size, in bytes, of any attachment in a message.
 If this is set less than or equal to zero, then no size checking is done.
 It is very useful to set this to 1 as it removes any zero-length
 attachments which may be created by broken viruses.
 This can also be the filename of a ruleset.
 
Name:Minimum Code Status
Current Value: supported Default Value: supported
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 Minimum acceptable code stability status -- if we come across code
 that's not at least as stable as this, we barf.
 This is currently only used to check that you don't end up using untested
 virus scanner support code without realising it.
 Levels used are:
 none          - there may not even be any code.
 unsupported   - code may be completely untested, a contributed dirty hack,
                 anything, really.
 alpha         - code is pretty well untested. Don't assume it will work.
 beta          - code is tested a bit. It should work.
 supported     - code *should* be reliable.

 Don't even *think* about setting this to anything other than "beta" or
 "supported" on a system that receives real mail until you have tested it
 yourself and are happy that it is all working as you expect it to.
 Don't set it to anything other than "supported" on a system that could
 ever receive important mail.

 READ and UNDERSTAND the above text BEFORE changing this.
 
Name:Minimum Stars If On Spam List
Current Value: 0 Default Value: 0
Input Type: Numeric Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This sets the minimum number of "Spam Score Characters" which will appear
 if a message triggered the "Spam List" setting but received a very low
 SpamAssassin score. This means that people who only filter on the "Spam
 Stars" will still be able to catch messages which receive a very low
 SpamAssassin score. Set this value to 0 to disable it.
 This can also be the filename of a ruleset.
 
Name:Monitors for ClamAV Updates
Current Value: /usr/local/share/clamav/*.inc/* /usr/local/share/clamav/*.cvd Default Value: /usr/local/share/clamav/*.cvd
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 ClamAVModule only: monitor each of these files for changes in size to
 detect when a ClamAV update has happened.
 This is only used by the "clamavmodule" virus scanner, not the "clamav"
 scanner setting.
 
Name:Monitors For Sophos Updates
Current Value: /usr/local/Sophos/ide/*ides.zip Default Value: /usr/local/Sophos/ide/*.zip
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 SophosSAVI only: monitor each of these files for changes in size to
 detect when a Sophos update has happened. The date of the Sophos Lib Dir
 is also monitored.
 This is only used by the "sophossavi" virus scanner, not the "sophos"
 scanner setting.
 
Name:MTA
Current Value: sendmail Default Value: sendmail
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 Set whether to use postfix, sendmail, exim or zmailer.
 If you are using postfix, then see the "SpamAssassin User State Dir"
 setting near the end of this file
 
Name:Multiple Headers
Current Value: append Default Value: append
Input Type:
Allowed Values
add
replace
append
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 What to do when you get several MailScanner headers in one message,
 from multiple MailScanner servers. Values are
      "append"  : Append the new data to the existing header
      "add"     : Add a new header
      "replace" : Replace the old data with the new data
 Default is "append"
 This can also be the filename of a ruleset.
 
Name:Never Notify Senders Of Precedence
Current Value: list bulk Default Value: list bulk
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 If you supply a space-separated list of message "precedence" settings,
 then senders of those messages will not be warned about anything you
 rejected. This is particularly suitable for mailing lists, so that any
 MailScanner responses do not get sent to the entire list.
 
Name:Non-Forging Viruses
Current Value: Joke/ OF97/ WM97/ W97M/ eicar Default Value: Joke/ OF97/ WM97/ W97M/ eicar
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Strings listed here will be searched for in the output of the virus scanners.
 It works to achieve the opposite effect of the "Silent Viruses" listed above.
 If a string here is found in the output of the virus scanners, then the
 message will be treated as if it were not infected with a "Silent Virus".
 If a message is detected as both a silent virus and a non-forging virus,
 then the ___non-forging status will override the silent status.___
 In simple terms, you should list virus names (or parts of them) that you
 know do *not* forge the From address.
 A good example of this is a document macro virus or a Joke program.
 Another word that can be put in this list is the special keyword
    Zip-Password  : inserting this will cause senders to be warned about
                    password-protected zip files, when they are not allowed.
                    This will over-ride the All-Viruses setting in the list
                    of "Silent Viruses" above.
 
Name:Non MCP Actions
Current Value: deliver Default Value: deliver
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Non Spam Actions
Current Value: deliver header "X-Spam-Status: No" Default Value: deliver header "X-Spam-Status: No"
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is just like the "Spam Actions" option above, except that it applies
 to messages that are *NOT* spam.
    deliver                 - deliver the message as normal
    delete                  - delete the message
    store                   - store the message in the quarantine
    forward user@domain.com - forward a copy of the message to user@domain.com
    striphtml               - convert all in-line HTML content to plain text
    header "name: value"    - Add the header
                                name: value
                              to the message. name must not contain any spaces.

 The default value I have set here enables Thunderbird 1.5 to automatically
 handle spam when set to trust the "SpamAssassin" headers.

 This can also be the filename of a ruleset, in which case the filename
 must end in ".rule" or ".rules".
 
Name:Notices From
Current Value: MailScanner Default Value: MailScanner
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 The visible part of the email address used in the "From:" line of the
 notices. The <user@domain> part of the email address is set to the
 "Local Postmaster" setting.
 
Name:Notice Signature
Current Value: -- \nMailScanner\nEmail Virus Scanner\nwww.mailscanner.info Default Value: -- \nMailScanner\nEmail Virus Scanner\nwww.mailscanner.info
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 What signature to add to the bottom of the notices.
 To insert a line-break in there, use the sequence "\n".
 
Name:Notices Include Full Headers
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Include the full headers of each message in the notices sent to the local
 system administrators?
 This can also be the filename of a ruleset.
 
Name:Notices To
Current Value: postmaster Default Value: postmaster
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Where to send the notices.
 This can also be the filename of a ruleset.
 
Name:Notify Senders
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Do you want to notify the people who sent you messages containing
 viruses or badly-named filenames?
 This can also be the filename of a ruleset.
 
Name:Notify Senders Of Blocked Filenames Or Filetypes
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 *If* "Notify Senders" is set to yes, do you want to notify people
 who sent you messages containing attachments that are blocked due to
 their filename or file contents?
 This can also be the filename of a ruleset.
 
Name:Notify Senders Of Blocked Size Attachments
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 *If* "Notify Senders" is set to yes, do you want to notify people
 who sent you messages containing attachments that are blocked due to
 being too small or too large?
 This can also be the filename of a ruleset.
 
Name:Notify Senders Of Other Blocked Content
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 *If* "Notify Senders" is set to yes, do you want to notify people
 who sent you messages containing other blocked content, such as
 partial messages or messages with external bodies?
 This can also be the filename of a ruleset.
 
Name:Notify Senders Of Viruses
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 *If* "Notify Senders" is set to yes, do you want to notify people
 who sent you messages containing viruses?
 The default value has been changed to "no" as most viruses now fake
 sender addresses and therefore should be on the "Silent Viruses" list.
 This can also be the filename of a ruleset.
 
Name:Outgoing Queue Dir
Current Value: /var/spool/mqueue Default Value: /var/spool/mqueue
Input Type: Directory Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Set location of outgoing mail queue.
 This can also be the filename of a ruleset.
 
Name:Phishing Modify Subject
Current Value: no Default Value: no
Input Type:
Allowed Values
end
start
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 If a potential phishing attack is found in the message, do you want to
 modify the subject line?
 This can be 1 of 4 values:
      no    = Do not modify the subject line, or
      start = Add text to the start of the subject line, or
      yes   = Add text to the start of the subject line, or
      end   = Add text to the end of the subject line.
 This can also be the filename of a ruleset.
 
Name:Phishing Safe Sites File
Current Value: %etc-dir%/phishing.safe.sites.conf Default Value: /etc/MailScanner/phishing.safe.sites.conf
Input Type: File Ruleset Allowed: No Ruleset Type: N/A
Description:
 There are some companies, such as banks, that insist on sending out
 email messages with links in them that are caught by the "Find Phishing
 Fraud" test described above.
 This is the name of a file which contains a list of link destinations
 which should be ignored in the test. This may, for example, contain
 the known websites of some banks.
 See the file itself for more information.
 This can only be the name of the file containing the list, it *cannot*
 be the filename of a ruleset.
 
Name:Phishing Subject Text
Current Value: {Fraud?} Default Value: {Fraud?}
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is the text to add to the start of the subject if the "Phishing
 Modify Subhect" option is set.
 This can also be the filename of a ruleset.
 
Name:PID file
Current Value: /opt/MailScanner/var/MailScanner.pid Default Value: /var/run/MailScanner.pid
Input Type: File Ruleset Allowed: No Ruleset Type: N/A
Description:
 Set where to store the process id number so you can stop MailScanner
 
Name:Quarantine Dir
Current Value: /var/spool/MailScanner/quarantine Default Value: /var/spool/MailScanner/quarantine
Input Type: Directory Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Set where to store infected and message attachments (if they are kept)
 This can also be the filename of a ruleset.
 
Name:Quarantine Group
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 
Name:Quarantine Infections
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to store copies of the infected attachments and messages?
 This can also be the filename of a ruleset.
 
Name:Quarantine Modified Body
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to store copies of messages which have been disarmed by
 having their HTML modified at all?
 This can also be the filename of a ruleset.
 
Name:Quarantine Permissions
Current Value: 0600 Default Value: 0600
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 If you want processes running under the same *group* as MailScanner to
 be able to read the quarantined files (and list what is in the
 directories, of course), set to 0640. If you want *all* other users to
 be able to read them, set to 0644. For a detailed description, if
 you're not already familiar with it, refer to `man 2 chmod`.
 Typical use: let the webserver have access to the files so users can
 download them if they really want to.
 Use with care, you may well open security holes.
 
Name:Quarantine Silent Viruses
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 There is no point quarantining most viruses these days as the infected
 messages contain no useful content, so if you set this to "no" then no
 infections listed in your "Silent Viruses" setting will be quarantined,
 even if you have chosen to quarantine infections in general. This is
 currently set to "yes" so the behaviour is the same as it was in
 previous versions.
 This can also be the filename of a ruleset.
 
Name:Quarantine User
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 If you want to create the quarantine/archive so the files are owned
 by a user other than the "Run As User" setting at the top of this file,
 you can change that here.
 Note: If the "Run As User" is not "root" then you cannot change the
       user but may still be able to change the group, if the
       "Run As User" is a member of both of the groups "Run As Group"
       and "Quarantine Group".
 
Name:Quarantine Whole Message
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to quarantine the original *entire* message as well as
 just the infected attachments?
 This can also be the filename of a ruleset.
 
Name:Quarantine Whole Messages As Queue Files
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 When you quarantine an entire message, do you want to store it as
 raw mail queue files (so you can easily send them onto users) or
 as human-readable files (header then body in 1 file)?
 
Name:Queue Scan Interval
Current Value: 6 Default Value: 6
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 How often (in seconds) should each process check the incoming mail
 queue for new messages? If you have a quiet mail server, you might
 want to increase this value so it causes less load on your server, at
 the cost of slightly increasing the time taken for an average message
 to be processed.
 
Name:Rebuild Bayes Every
Current Value: 0 Default Value: 0
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 If you are using the Bayesian statistics engine on a busy server,
 you may well need to force a Bayesian database rebuild and expiry
 at regular intervals. This is measures in seconds.
 1 day = 86400 seconds.
 To disable this feature set this to 0.
 Note: If you enable this feature, set "bayes_auto_expire 0" in
       spam.assasssin.prefs.conf which you will find in the same
       directory as this file.
 
Name:Recipient MCP Report
Current Value: %report-dir%/recipient.mcp.report.txt Default Value: /etc/MailScanner/reports/en/recipient.mcp.report.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Recipient Spam Report
Current Value: %report-dir%/recipient.spam.report.txt Default Value: /etc/MailScanner/reports/en/recipient.spam.report.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If you use the 'notify' Spam Action or High Scoring Spam Action then
 this is the location of the notification message that is sent to the
 original recipients of the message.
 
Name:Rejection Report
Current Value: %report-dir%/rejection.report.txt Default Value: /etc/MailScanner/reports/en/message.rejection.report.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Set where to find the message text sent to users who triggered the ruleset
 you are using with the "Reject Message" option.
 
Name:Reject Message
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 You may not want to receive mail from certain addresses and/or to certain
 addresses. If so, you can do this with your email transport (sendmail,
 Postfix, etc) but that will just send a one-line message which is not
 helpful to the user sending the message.
 If this is set to yes, then the message set by the "Rejection Report"
 will be sent instead, and the incoming message will be deleted.
 If you want to store a copy of the original incoming message then use the
 "Archive Mail" setting to archive a copy of it.
 The purpose of this option is to set it to be a ruleset, so that you
 can reject messages from a few offending addresses where you need to  send
 a polite reply instead of just a brief 1-line rejection message.
 
Name:Remove These Headers
Current Value: X-Mozilla-Status: X-Mozilla-Status2: Default Value: X-Mozilla-Status: X-Mozilla-Status2:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 If any of these headers are included in a a message, they will be deleted.
 This is very useful for removing return-receipt requests and any headers
 which mean special things to your email client application.
 X-Mozilla-Status is bad as it allows spammers to make a message appear to
 have already been read, which is believed to bypass some naive spam
 filtering systems.
 Receipt requests are bad as they give any attacker confirmation that an
 account is active and being read. You don't want this sort of information
 to leak outside your corporation. So you might want to remove
     Disposition-Notification-To and Return-Receipt-To.
 If you are having problems with duplicate message-id headers when you
 release spam from the quarantine and send it to an Exchange server, then add
     Message-Id.
 Each header should end in a ":", but MailScanner will add it if you forget.
 Headers should be separated by commas or spaces.
 This can also be the filename of a ruleset.
 
Name:Required SpamAssassin Score
Current Value: 6 Default Value: 6
Input Type: Numeric Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This replaces the SpamAssassin configuration value 'required_hits'.
 If a message achieves a SpamAssassin score higher than this value,
 it is spam. See also the High SpamAssassin Score configuration option.
 This can also be the filename of a ruleset, so the SpamAssassin
 required_hits value can be set to different values for different messages.
 
Name:Restart Every
Current Value: 14400 Default Value: 14400
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 To avoid resource leaks, re-start periodically
 
Name:Run As Group
Current Value: Default Value: 0
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 Group to run as (not normally used for sendmail)
Run As Group = mail
Run As Group = postfix
 
Name:Run As User
Current Value: Default Value: 0
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 User to run as (not normally used for sendmail)
 If you want to change the ownership or permissions of the quarantine or
 temporary files created by MailScanner, please see the "Incoming Work"
 settings later in this file.
Run As User = mail
Run As User = postfix
 
Name:Run In Foreground
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 Set Run In Foreground to "yes" if you want MailScanner to operate
 normally in foreground (and not as a background daemon).
 Use this if you are controlling the execution of MailScanner
 with a tool like DJB's 'supervise' (see http://cr.yp.to/daemontools.html).
 
Name:Scan Messages
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 If this is set to yes, then email messages passing through MailScanner
 will be processed and checked, and all the other options in this file
 will be used to control what checks are made on the message.
 If this is set to no, then email messages will NOT be processed or
 checked *at all*, and so any viruses or other problems will be ignored.

 The purpose of this option is to set it to be a ruleset, so that you
 can skip all scanning of mail destined for some of your users/customers
 and still scan all the rest.
 A sample ruleset would look like this:
   To:       bad.customer.com  no
   From:     ignore.domain.com no
   FromOrTo: default           yes
 That will scan all mail except mail to bad.customer.com and mail from
 ignore.domain.com. To set this up, put the 3 lines above into a file
 called /etc/MailScanner/rules/scan.messages.rules and set the next line to
 Scan Messages = %rules-dir%/scan.messages.rules
 This can also be the filename of a ruleset (as illustrated above).
 
Name:Scanned Modify Subject
Current Value: no # end Default Value: no
Input Type:
Allowed Values
end
start
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 When the message has been scanned but no other subject line changes
 have happened, do you want modify the subject line?
 This can be 1 of 4 values:
      no    = Do not modify the subject line, or
      start = Add text to the start of the subject line, or
      end   = Add text to the end of the subject line, or
      yes   = Add text to the end of the subject line.
 This makes very good advertising of your MailScanning service.
 This can also be the filename of a ruleset.
 
Name:Scanned Subject Text
Current Value: {Scanned} Default Value: {Scanned}
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is the text to add to the start/end of the subject line if the
 "Scanned Modify Subject" option is set.
 This can also be the filename of a ruleset.
 
Name:Sender Content Report
Current Value: %report-dir%/sender.content.report.txt Default Value: /etc/MailScanner/reports/en/sender.content.report.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Set where to find the messages that are delivered to the sender, when they
 sent an email containing either an error, banned content, a banned filename
 or a virus infection.
 These can also be the filenames of rulesets.
 
Name:Sender Bad Filename Report
Current Value: %report-dir%/sender.filename.report.txt Default Value: /etc/MailScanner/reports/en/sender.filename.report.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Sender Error Report
Current Value: %report-dir%/sender.error.report.txt Default Value: /etc/MailScanner/reports/en/sender.error.report.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Sender MCP Report
Current Value: %report-dir%/sender.mcp.report.txt Default Value: /etc/MailScanner/reports/en/sender.mcp.report.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Sender Size Report
Current Value: %report-dir%/sender.size.report.txt Default Value: /etc/MailScanner/reports/en/sender.size.report.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Sender SpamAssassin Report
Current Value: %report-dir%/sender.spam.sa.report.txt Default Value: /etc/MailScanner/reports/en/sender.spam.sa.report.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Sender Spam List Report
Current Value: %report-dir%/sender.spam.rbl.report.txt Default Value: /etc/MailScanner/reports/en/sender.spam.rbl.report.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Sender Spam Report
Current Value: %report-dir%/sender.spam.report.txt Default Value: /etc/MailScanner/reports/en/sender.spam.report.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 There are 3 reports:
   Sender Spam Report         -  sent when a message triggers both a Spam
                                 List and SpamAssassin,
   Sender Spam List Report    -  sent when a message triggers a Spam List,
   Sender SpamAssassin Report -  sent when a message triggers SpamAssassin.

 These can also be the filenames of rulesets.
 
Name:Sender Virus Report
Current Value: %report-dir%/sender.virus.report.txt Default Value: /etc/MailScanner/reports/en/sender.virus.report.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Sendmail
Current Value: /usr/lib/sendmail Default Value: /usr/sbin/sendmail
Input Type: Command Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Set how to invoke MTA when sending messages MailScanner has created
 (e.g. to sender/recipient saying "found a virus in your message")
 This can also be the filename of a ruleset.
 
Name:Sendmail2
Current Value: /usr/lib/sendmail Default Value: /usr/sbin/sendmail
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Sendmail2 is provided for Exim users.
 It is the command used to attempt delivery of outgoing cleaned/disinfected
 messages.
 This is not usually required for sendmail.
 This can also be the filename of a ruleset.
For Exim users: Sendmail2 = /usr/sbin/exim -C /etc/exim/exim_send.conf
For sendmail users: Sendmail2 = /usr/lib/sendmail
Sendmail2 = /usr/sbin/sendmail -C /etc/exim/exim_send.conf
 
Name:Send Notices
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Notify the local system administrators ("Notices To") when any infections
 are found?
 This can also be the filename of a ruleset.
 
Name:Sign Clean Messages
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Add the "Inline HTML Signature" or "Inline Text Signature" to the end
 of uninfected messages?
 This can also be the filename of a ruleset.
 
Name:Sign Messages Already Processed
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If this is "no", then (as far as possible) messages which have already
 been processed by another MailScanner server will not have the clean
 signature added to the message. This prevents messages getting many
 copies of the signature as they flow through your site.
 This can also be the filename of a ruleset.
 
Name:Silent Viruses
Current Value: HTML-IFrame All-Viruses Default Value: HTML-IFrame All-Viruses
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Strings listed here will be searched for in the output of the virus scanners.
 It is used to list which viruses should be handled differently from other
 viruses. If a virus name is given here, then
 1) The sender will not be warned that he sent it
 2) No attempt at true disinfection will take place
    (but it will still be "cleaned" by removing the nasty attachments
     from the message)
 3) The recipient will not receive the message,
    unless the "Still Deliver Silent Viruses" option is set
 Other words that can be put in this list are the 5 special keywords
    HTML-IFrame   : inserting this will stop senders being warned about
                    HTML Iframe tags, when they are not allowed.
    HTML-Codebase : inserting this will stop senders being warned about
                    HTML Object Codebase/Data tags, when they are not allowed.
    HTML-Script   : inserting this will stop senders being warned about
                    HTML Script tags, when they are not allowed.
    HTML-Form     : inserting this will stop senders being warned about
                    HTML Form tags, when they are not allowed.
    Zip-Password  : inserting this will stop senders being warned about
                    password-protected zip files, when they are not allowed.
                    This keyword is not needed if you include All-Viruses.
    All-Viruses   : inserting this will stop senders being warned about
                    any virus, while still allowing you to warn senders
                    about HTML-based attacks. This includes Zip-Password
                    so you don't need to include both.

 The default of "All-Viruses" means that no senders of viruses will be
 notified (as the sender address is always forged these days anyway),
 but anyone who sends a message that is blocked for other reasons will
 still be notified.

 This can also be the filename of a ruleset.
 
Name:Size Modify Subject
Current Value: start Default Value: start
Input Type:
Allowed Values
end
start
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If an attachment or the entire message triggered a size check, but
 there was nothing else wrong with the message, do you want to modify
 the subject line?
 This can be 1 of 4 values:
      no    = Do not modify the subject line, or
      start = Add text to the start of the subject line, or
      yes   = Add text to the start of the subject line, or
      end   = Add text to the end of the subject line.
 This makes filtering in Outlook very easy.
 This can also be the filename of a ruleset.
 
Name:Size Subject Text
Current Value: {Size} Default Value: {Size}
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is the text to add to the start of the subject if the
 "Size Modify Subject" option is set.
 You might want to change this so your users can see at a glance
 whether it just was just the message or attachment size that
 MailScanner rejected.
 This can also be the filename of a ruleset.
 
Name:Sophos IDE Dir
Current Value: /usr/local/Sophos/ide Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 The directory (or a link to it) containing all the Sophos *.ide files.
 This is only used by the "sophossavi" virus scanner, and is irrelevant
 for all other scanners.
 
Name:Sophos Lib Dir
Current Value: /usr/local/Sophos/lib Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 The directory (or a link to it) containing all the Sophos *.so libraries.
 This is only used by the "sophossavi" virus scanner, and is irrelevant
 for all other scanners.
 
Name:Spam Actions
Current Value: deliver header "X-Spam-Status: Yes" Default Value: deliver header "X-Spam-Status: Yes"
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is a list of actions to take when a message is spam.
 It can be any combination of the following:
    deliver                 - deliver the message as normal
    delete                  - delete the message
    store                   - store the message in the quarantine
    bounce                  - send a rejection message back to the sender
    forward user@domain.com - forward a copy of the message to user@domain.com
    striphtml               - convert all in-line HTML content to plain text.
                              You need to specify "deliver" as well for the
                              message to reach the original recipient.
    attachment              - Convert the original message into an attachment
                              of the message. This means the user has to take
                              an extra step to open the spam, and stops "web
                              bugs" very effectively.
    notify                  - Send the recipients a short notification that
                              spam addressed to them was not delivered. They
                              can then take action to request retrieval of
                              the original message if they think it was not
                              spam.
    header "name: value"    - Add the header
                                name: value
                              to the message. name must not contain any spaces.

 The default value I have set here enables Thunderbird 1.5 to automatically
 handle spam when set to trust the "SpamAssassin" headers.

 This can also be the filename of a ruleset, in which case the filename
 must end in ".rule" or ".rules".
Spam Actions = store forward anonymous@ecs.soton.ac.uk
 
Name:SpamAssassin Auto Whitelist
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 Set this option to "yes" to enable the automatic whitelisting functions
 available within SpamAssassin. This will cause addresses from which you
 get real mail, to be marked so that it will never incorrectly spam-tag
 messages from those addresses.
 To disable whitelisting, you must set "use_auto_whitelist 0" in your
 spam.assassin.prefs.conf file as well as set this to no.
 
Name:SpamAssassin Cache Database File
Current Value: /var/spool/MailScanner/incoming/SpamAssassin.cache.db Default Value: /var/spool/MailScanner/incoming/SpamAssassin.cache.db
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 The SpamAssassin cache uses a database file which needs to be writable
 by the MailScanner "Run As User". This file will be created and setup for
 you automatically when MailScanner is started.
 
Name:SpamAssassin Cache Timings
Current Value: 1800,300,10800,172800,600 Default Value: 1800,300,10800,172800,600
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 Do not change this unless you absolutely have to, these numbers have
 been carefully calculated.
 They affect the length of time that different types of message are
 stored in the SpamAssassin cache which can be configured earlier in
 this file (look for "Cache").
 The numbers are all set in seconds. They are:
 1. Non-Spam cache lifetime                           = 30 minutes
 2. Spam (low scoring) cache lifetime                 = 5 minutes
 3. High-Scoring spam cache lifetime                  = 3 hours
 4. Viruses cache lifetime                            = 2 days
 5. How often to check the cache for expired messages = 10 minutes
 
Name:SpamAssassin Default Rules Dir
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 The default rules are searched for here, and in prefix/share/spamassassin,
 /usr/local/share/spamassassin, /usr/share/spamassassin, and maybe others.
 If this is set then it adds to the list of places that are searched;
 otherwise it has no effect.
SpamAssassin Default Rules Dir = /opt/MailScanner/share/spamassassin
 
Name:SpamAssassin Install Prefix
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 This setting is useful if SpamAssassin is installed in an unusual place,
 e.g. /opt/MailScanner. The install prefix is used to find some fallback
 directories if neither of the following two settings work.
 If this is set then it adds to the list of places that are searched;
 otherwise it has no effect.
SpamAssassin Install Prefix = /opt/MailScanner
 
Name:SpamAssassin Local Rules Dir
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 The site-local rules are searched for here, and in prefix/etc/spamassassin,
 prefix/etc/mail/spamassassin, /usr/local/etc/spamassassin, /etc/spamassassin,
 /etc/mail/spamassassin, and maybe others.
 Be careful of setting this: it may mean the spam.assassin.prefs.conf file
 is missed out, you will need to insert a soft-link with "ln -s" to link
 the file into mailscanner.cf in the new directory.
 If this is set then it replaces the list of places that are searched;
 otherwise it has no effect.
SpamAssassin Local Rules Dir = /opt/MailScanner/etc/mail/spamassassin
 
Name:SpamAssassin Local State Dir
Current Value: # /var/lib/spamassassin Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 The rules created by the "sa-update" tool are searched for here.
 This directory contains the 3.001001/updates_spamassassin_org
 directory structure beneath it.
 Only un-comment this setting once you have proved that the sa-update
 cron job has run successfully and has created a directory structure under
 the spamassassin directory within this one and has put some *.cf files in
 there. Otherwise it will ignore all your current rules!
 The default location may be /var/opt on Solaris systems.
 
Name:SpamAssassin Site Rules Dir
Current Value: /etc/mail/spamassassin Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 The site rules are searched for here.
 Normal location on most systems is /etc/mail/spamassassin.
 
Name:SpamAssassin Timeout
Current Value: 75 Default Value: 75
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 If SpamAssassin takes longer than this (in seconds), the check is
 abandoned and the timeout noted.
 
Name:SpamAssassin Timeouts History
Current Value: 30 Default Value: 30
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 The total number of SpamAssassin attempts during which "Max SpamAssassin
 Timeouts" will cause SpamAssassin to stop doing all network-based tests.
 If double the timeout value is reached (i.e. it continues to timeout at
 the same frequency as before) then it is marked as "unavailable".
 See the previous comment for more information.
 The default values of 10 and 20 mean that 10 timeouts in any sequence of
 20 attempts will trigger the behaviour described above, until the next
 periodic restart (see "Restart Every").
 
Name:SpamAssassin User State Dir
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 The per-user files (bayes, auto-whitelist, user_prefs) are looked
 for here and in ~/.spamassassin/. Note the files are mutable.
 If this is unset then no extra places are searched for.
 If using Postfix, you probably want to set this as shown in the example
 line at the end of this comment, and do
      mkdir /var/spool/MailScanner/spamassassin
      chown postfix.postfix /var/spool/MailScanner/spamassassin
 NOTE: SpamAssassin is always called from MailScanner as the same user,
       and that is the "Run As" user specified above. So you can only
       have 1 set of "per-user" files, it's just that you might possibly
       need to modify this location.
       You should not normally need to set this at all.
SpamAssassin User State Dir = /var/spool/MailScanner/spamassassin
 
Name:Spam Checks
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Do you want to check messages to see if they are spam?
 Note: If you switch this off then *no* spam checks will be done at all.
       This includes both MailScanner's own checks and SpamAssassin.
       If you want to just disable the "Spam List" feature then set
       "Spam List =" (i.e. an empty list) in the setting below.
 This can also be the filename of a ruleset.
 
Name:Spam Domain List
Current Value: Default Value:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 This is the list of spam domain blacklists which you are using
 (such as the "rfc-ignorant" domains). See the "Spam List Definitions"
 file for more information about what you can put here.
 This can also be the filename of a ruleset.
 
Name:Spam Header
Current Value: X-%org-name%-MailScanner-SpamCheck: Default Value: X-MailScanner-SpamCheck:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Add this extra header to all messages found to be spam.
 This can also be the filename of a ruleset.
 
Name:Spam List
Current Value: # spamhaus-ZEN # You can un-comment this to enable them Default Value:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is the list of spam blacklists (RBLs) which you are using.
 See the "Spam List Definitions" file for more information about what
 you can put here.
 This can also be the filename of a ruleset.
 
Name:Spam List Definitions
Current Value: %etc-dir%/spam.lists.conf Default Value: /etc/MailScanner/spam.lists.conf
Input Type: File Ruleset Allowed: No Ruleset Type: N/A
Description:
 This is the name of the file that translates the names of the "Spam List"
 values to the real DNS names of the spam blacklists.
 
Name:Spam Lists To Be Spam
Current Value: 1 Default Value: 1
Input Type: Numeric Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If a message appears in at least this number of "Spam Lists" (as defined
 above), then the message will be treated as spam and so the "Spam
 Actions" will happen, unless the message reaches the levels for "High
 Scoring Spam". By default this is set to 1 to mimic the previous
 behaviour, which means that appearing in any "Spam Lists" will cause
 the message to be treated as spam.
 This can also be the filename of a ruleset.
 
Name:Spam Lists To Reach High Score
Current Value: 3 Default Value: 3
Input Type: Numeric Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If a message appears in at least this number of "Spam Lists" (as defined
 above), then the message will be treated as "High Scoring Spam" and so
 the "High Scoring Spam Actions" will happen. You probably want to set
 this to 2 if you are actually using this feature. 5 is high enough that
 it will never happen unless you use lots of "Spam Lists".
 This can also be the filename of a ruleset.
 
Name:Spam List Timeout
Current Value: 10 Default Value: 10
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 If an individual "Spam List" or "Spam Domain List" check takes longer
 that this (in seconds), the check is abandoned and the timeout noted.
 
Name:Spam List Timeouts History
Current Value: 10 Default Value: 10
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 The total number of Spam List attempts during which "Max Spam List Timeouts"
 will cause the spam list fo be marked as "unavailable". See the previous
 comment for more information.
 The default values of 5 and 10 mean that 5 timeouts in any sequence of 10
 attempts will cause the list to be marked as "unavailable" until the next
 periodic restart (see "Restart Every").
 
Name:Spam Modify Subject
Current Value: start Default Value: start
Input Type:
Allowed Values
end
start
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If the message is spam, do you want to modify the subject line?
 This can be 1 of 4 values:
      no    = Do not modify the subject line, or
      start = Add text to the start of the subject line, or
      yes   = Add text to the start of the subject line, or
      end   = Add text to the end of the subject line.
 This makes filtering in Outlook very easy.
 This can also be the filename of a ruleset.
 
Name:Spam Score
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to include the "Spam Score" header. This shows 1 character
 (Spam Score Character) for every point of the SpamAssassin score. This
 makes it very easy for users to be able to filter their mail using
 whatever SpamAssassin threshold they want. For example, they just look
 for "sssss" for every message whose score is > 5, for example.
 This can also be the filename of a ruleset.
 
Name:Spam Score Character
Current Value: s Default Value: s
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 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,
             as it will cause confusion with comments in procmail as well
              as MailScanner itself,
            * as it will cause confusion with pattern matches in procmail,
            . as it will cause confusion with pattern matches in procmail,
            ? as it will cause the users to think something went wrong.
 "s" is nice and safe and stands for "spam".
 
Name:Spam Score Header
Current Value: X-%org-name%-MailScanner-SpamScore: Default Value: X-MailScanner-SpamScore:
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Add this extra header if "Spam Score" = yes. The header will
 contain 1 character for every point of the SpamAssassin score.
 
Name:Spam Score Number Format
Current Value: %d Default Value: %d
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 When putting the value of the spam score of a message into the headers,
 how do you want to format it. If you don't know how to use sprintf() or
 printf() in C, please *do not modify* this value. A few examples for you:
 %d     ==> 12
 %5.2f  ==> 12.34
 %05.1f ==> 012.3
 This can also be the filename of a ruleset.
 
Name:SpamScore Number Instead Of Stars
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If this option is set to yes, you will get a spam-score header saying just
 the value of the spam score, instead of the row of characters representing
 the score.
 This can also be the filename of a ruleset.
 
Name:Spam Subject Text
Current Value: {Spam?} Default Value: {Spam?}
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is the text to add to the start of the subject if the
 "Spam Modify Subject" option is set.
 The exact string "_SCORE_" will be replaced by the numeric
 SpamAssassin score.
 The exact string "_STARS_" will be replaced by a row of stars
 whose length is the SpamAssassin score.
 This can also be the filename of a ruleset.
 
Name:Split Exim Spool
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 Are you using Exim with split spool directories? If you don't understand
 this, the answer is probably "no". Refer to the Exim documentation for
 more information about split spool directories.
 
Name:Still Deliver Silent Viruses
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Still deliver (after cleaning) messages that contained viruses listed
 in the above option ("Silent Viruses") to the recipient?
 Setting this to "yes" is good when you are testing everything, and
 because it shows management that MailScanner is protecting them,
 but it is bad because they have to filter/delete all the incoming virus
 warnings.

 Note: Once you have deployed this into "production" use, you should set
 Note: this option to "no" so you don't bombard thousands of people with
 Note: useless messages they don't want!

 This can also be the filename of a ruleset.
 
Name:Stored Bad Content Message Report
Current Value: %report-dir%/stored.content.message.txt Default Value: /etc/MailScanner/reports/en/stored.content.message.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Set where to find the message text sent to users when one of their
 attachments has been deleted from a message and stored in the quarantine.
 These can also be the filenames of rulesets.
 
Name:Stored Bad Filename Message Report
Current Value: %report-dir%/stored.filename.message.txt Default Value: /etc/MailScanner/reports/en/stored.filename.message.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Stored Size Message Report
Current Value: %report-dir%/stored.size.message.txt Default Value: /etc/MailScanner/reports/en/stored.size.message.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Stored Virus Message Report
Current Value: %report-dir%/stored.virus.message.txt Default Value: /etc/MailScanner/reports/en/stored.virus.message.txt
Input Type: File Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 
Name:Syslog Facility
Current Value: mail Default Value: mail
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 This is the syslog "facility" name that MailScanner uses. If you don't
 know what a syslog facility name is, then either don't change this value
 or else go and read "man syslog.conf". The default value of "mail" will
 cause the MailScanner logs to go into the same place as all your other
 mail logs.
 
Name:TNEF Expander
Current Value: /opt/MailScanner/bin/tnef --maxsize=100000000 Default Value: /usr/bin/tnef --maxsize=100000000
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 Where the MS-TNEF expander is installed.
 This is EITHER the full command (including maxsize option) that runs
 the external TNEF expander binary,
 OR the keyword "internal" which will make MailScanner use the Perl
 module that does the same job.
 They are both provided as I am unsure which one is faster and which
 one is capable of expanding more file formats (there are plenty!).

 The --maxsize option limits the maximum size that any expanded attachment
 may be. It helps protect against Denial Of Service attacks in TNEF files.
 This can also be the filename of a ruleset.
TNEF Expander  = internal
 
Name:TNEF Timeout
Current Value: 120 Default Value: 120
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 The maximum length of time the TNEF Expander is allowed to run for 1 message.
 (in seconds)
 
Name:Unrar Command
Current Value: /usr/bin/unrar Default Value: /usr/bin/unrar
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 Where the "unrar" command is installed.
 If you haven't got this command, look at www.rarlab.com.

 This is used for unpacking rar archives so that the contents can be
 checked for banned filenames and filetypes, and also that the
 archive can be tested to see if it is password-protected.
 Virus scanning the contents of rar archives is still left to the virus
 scanner, with one exception:
 If using the clavavmodule virus scanner, this adds external RAR checking
 to that scanner which is needed for archives which are RAR version 3.
 
Name:Unrar Timeout
Current Value: 50 Default Value: 50
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 The maximum length of time the "unrar" command is allowed to run for 1
 RAR archive (in seconds)
 
Name:Unscanned Header Value
Current Value: Not scanned: please contact your Internet E-Mail Service Provider for details Default Value: Not scanned: please contact your Internet E-Mail Service Provider for details
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is the text used by the "Mark Unscanned Messages" option above.
 This can also be the filename of a ruleset.
 
Name:Use Custom Spam Scanner
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 Use the Custom Spam Scanner. This is code you will have to write yourself,
 a function called "GenericSpamScanner" stored in the file
 MailScanner/lib/MailScanner/CustomFunctions/GenericSpamScanner.pm
 It will be passed
  $IP      - the numeric IP address of the system on the remote end
             of the SMTP connections
  $From    - the address of the envelope sender of the message
  $To      - a perl reference to the envelope recipients of the message
  $Message - a perl reference to the list of line of the message
 A sample function is given in the correct file in the distribution.
 This sample function also includes code to show you how to make it run
 an external program to produce a spam score.
 This can also be the filename of a ruleset.
 
Name:Use Default Rules With Multiple Recipients
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 When trying to work out the value of configuration parameters which are
 using a ruleset, this controls the behaviour when a rule is checking the
 "To:" addresses.
 If this option is set to "yes", then the following happens when checking
 the ruleset:
   a) 1 recipient. Same behaviour as normal.
   b) Several recipients, but all in the same domain (domain.com for example).
      The rules are checked for one that matches the string "*@domain.com".
   c) Several recipients, not all in the same domain.
      The rules are checked for one that matches the string "*@*".

 If this option is set to "no", then some rules will use the result they
 get from the first matching rule for any of the recipients of a message,
 so the exact value cannot be predicted for messages with more than 1
 recipient.

 This value *cannot* be the filename of a ruleset.
 
Name:Use SpamAssassin
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to find spam using the "SpamAssassin" package?
 This can also be the filename of a ruleset.
 
Name:Use Stricter Phishing Net
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 If this is set to yes, then most of the URL in a link must match the
 destination address it claims to take you to. This is the default as it is
 a much stronger test and is very hard to maliciously avoid.
 If this is set to no, then just the company name and country (and any
 names between the two, dependent on the specific country) must match.
 This is not as strict as it will not protect you against internal
 malicious sites based within the company being abused. For example, it would
 not find www.nasty.company-name.co.uk pretending to be
 www.nice.company-name.co.uk. But it will still detect most phishing attacks
 of the type www.nasty.co.jp versus www.nice.co.jp.
 Depending on the country code it knows how many levels of domain need to
 be checked.
 This can also be the filename of a ruleset.
 
Name:Use TNEF Contents
Current Value: replace Default Value: replace
Input Type:
Allowed Values
replace
add
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 When the TNEF (winmail.dat) attachments are expanded, should the
 attachments contained in there be added to the list of attachments in
 the message?
 If you set this to "add" or "replace" then recipients of messages sent
 in "Outlook Rich Text Format" (TNEF) will be able to read the attachments
 if they are not using Microsoft Outlook.

 no      => Leave winmail.dat TNEF attachments alone.
 add     => Add the contents of winmail.dat as extra attachments, but also
            still include the winmail.dat file itself. This will result in
            TNEF messages being doubled in size.
 replace => Replace the winmail.dat TNEF attachment with the files it
            contains, and delete the original winmail.dat file itself.
            This means the message stays the same size, but is usable by
            non-Outlook recipients.

 This can also be the filename of a ruleset.
 
Name:Virus Modify Subject
Current Value: start Default Value: start
Input Type:
Allowed Values
end
start
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 If the message contained a virus, do you want to modify the subject line?
 This can be 1 of 4 values:
      no    = Do not modify the subject line, or
      start = Add text to the start of the subject line, or
      yes   = Add text to the start of the subject line, or
      end   = Add text to the end of the subject line.
 This makes filtering in Outlook very easy.
 This can also be the filename of a ruleset.
 
Name:Virus Scanner Definitions
Current Value: %etc-dir%/virus.scanners.conf Default Value: /etc/MailScanner/virus.scanners.conf
Input Type: File Ruleset Allowed: No Ruleset Type: N/A
Description:
 This is the name of the file that translates the names of the virus
 scanners into the commands that have to be run to do the actual scanning.
 
Name:Virus Scanners
Current Value: auto Default Value: auto # Space-separated list
Input Type: Mixed Ruleset Allowed: No Ruleset Type: N/A
Description:
 Which Virus Scanning package to use:
 sophos    from www.sophos.com, or
 sophossavi (also from www.sophos.com, using the SAVI perl module), or
 mcafee    from www.mcafee.com, or
 command   from www.command.co.uk, or
 bitdefender from www.bitdefender.com, or
 drweb     from www.dials.ru/english/dsav_toolkit/drwebunix.htm, or
 kaspersky-4.5 from www.kaspersky.com (Version 4.5 and newer), or
 kaspersky from www.kaspersky.com, or
 kavdaemonclient from www.kaspersky.com, or
 etrust    from http://www3.ca.com/Solutions/Product.asp?ID=156, or
 inoculate from www.cai.com/products/inoculateit.htm, or
 inoculan  from ftp.ca.com/pub/getbbs/linux.eng/inoctar.LINUX.Z, or
 nod32     for No32 before version 1.99 from www.nod32.com, or
 nod32-1.99 for Nod32 1.99 and later, from www.nod32.com, or
 f-secure  from www.f-secure.com, or
 f-prot    from www.f-prot.com, or
 panda     from www.pandasoftware.com, or
 rav       from www.ravantivirus.com, or
 antivir   from www.antivir.de, or
 clamav    from www.clamav.net, or
 clamavmodule (also from www.clamav.net using the ClamAV perl module), or
 clamd     (also from www.clamav.net using the clamd daemon)
           *Note: read the comments above the "Incoming Work Group" setting*,
           or
 trend     from www.trendmicro.com, or
 norman    from www.norman.de, or
 css       from www.symantec.com, or
 avg       from www.grisoft.com, or
 vexira    from www.centralcommand.com, or
 symscanengine from www.symantec.com (Symantec Scan Engine, not CSS), or
 avast     from www.avast.com, or
 avastd    (also from www.avast.com and relies on avastd to be configured
           [read 'man avastd.conf'] and running), or
 generic   One you wrote: edit the generic-wrapper and generic-autoupdate
           to fit your own needs. The output spec is in generic-wrapper, or
 none      No virus scanning at all.

 Note for McAfee users: do not use any symlinks with McAfee at all. It is
                        very strange but may not detect all viruses when
                        started from a symlink or scanning a directory path
                        including symlinks.

 Note: If you want to use multiple virus scanners, then this should be a
       space-separated list of virus scanners. For example:
       Virus Scanners = sophos f-prot mcafee

 Note: Make sure that you check that the base installation directory in the
       3rd column of virus.scanners.conf matches the location you have
       installed each of your virus scanners. The supplied
       virus.scanners.conf file assumes the default installation locations
       recommended by each of the virus scanner installation guides.

 Note: If you specify "auto" then MailScanner will search for all the
       scanners you have installed and will use all of them. If you really
       want none, then specify "none".

 This *cannot* be the filename of a ruleset.
 
Name:Virus Scanner Timeout
Current Value: 300 Default Value: 300
Input Type: Numeric Ruleset Allowed: No Ruleset Type: N/A
Description:
 The maximum length of time the commercial virus scanner is allowed to run
 for 1 batch of messages (in seconds).
 
Name:Virus Scanning
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Do you want to scan email for viruses?
 A few people don't have a virus scanner licence and so want to disable
 all the virus scanning.
 If you use a ruleset for this setting, then the mail will be scanned if
 *any* of the rules match (except the default). That way unscanned mail
 never reaches a user who is having their mail virus-scanned.

 If you want to be able to switch scanning on/off for different users or
 different domains, set this to the filename of a ruleset.
 This can also be the filename of a ruleset.
 
Name:Virus Subject Text
Current Value: {Virus?} Default Value: {Virus?}
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 This is the text to add to the start of the subject if the
 "Virus Modify Subject" option is set.
 This can also be the filename of a ruleset.
 
Name:Wait During Bayes Rebuild
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: No Ruleset Type: N/A
Description:
 The Bayesian database rebuild and expiry may take a 2 or 3 minutes
 to complete. During this time you can either wait, or simply
 disable SpamAssassin checks until it has completed.
 
Name:Warning Is Attachment
Current Value: yes Default Value: yes
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 When a virus or attachment is replaced by a plain-text warning,
 should the warning be in an attachment? If "no" then it will be
 placed in-line. This can also be the filename of a ruleset.
 
Name:Web Bug Replacement
Current Value: http://www.sng.ecs.soton.ac.uk/mailscanner/images/1x1spacer.gif Default Value: http://www.mailscanner.info/images/1x1spacer.gif
Input Type: Mixed Ruleset Allowed: Yes Ruleset Type: First Match
Description:
 When a web bug is found, what image do you want to replace it with?
 By replacing it with a real image, the page layout still works properly,
 so the formatting and layout of the message is correct.
 The following is a harmless untracked 1x1 pixel transparent image.
 If this is not specified, the the old value of "MailScannerWebBug" is used,
 which of course is not an image and may well upset layout of the email.
 This can also be the filename of a ruleset.
 
Name:Zip Attachments
Current Value: no Default Value: no
Input Type:
Allowed Values
yes
no
Ruleset Allowed: Yes Ruleset Type: All Match
Description:
 Should the attachments be compressed and put into a single zip file?
 This can also be the filename of a ruleset.