Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/mailscanner/Makefile,v --- Makefile 11 Jun 2005 16:12:55 -0000 1.38 +++ Makefile 8 Jul 2005 12:27:34 -0000 @@ -6,7 +6,7 @@ # PORTNAME= MailScanner -PORTVERSION= 4.42.9 +PORTVERSION= 4.43.8 PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/ Index: distinfo =================================================================== RCS file: /home/ncvs/ports/mail/mailscanner/distinfo,v --- distinfo 1 Jun 2005 16:34:12 -0000 1.25 +++ distinfo 8 Jul 2005 12:27:34 -0000 @@ -1,2 +1,2 @@ -MD5 (MailScanner-install-4.42.9-1.tar.gz) = 893eda4833586b61b5b78af95d0f2f0d -SIZE (MailScanner-install-4.42.9-1.tar.gz) = 4775108 +MD5 (MailScanner-install-4.43.8-1.tar.gz) = 274cab190e703851716a3bd4d3d7f58f +SIZE (MailScanner-install-4.43.8-1.tar.gz) = 4791190 Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/mail/mailscanner/pkg-plist,v --- pkg-plist 10 May 2005 17:26:44 -0000 1.22 +++ pkg-plist 8 Jul 2005 12:27:34 -0000 @@ -18,11 +18,13 @@ lib/MailScanner/MailScanner/Config.pm lib/MailScanner/MailScanner/ConfigDefs.pl lib/MailScanner/MailScanner/CustomConfig.pm +lib/MailScanner/MailScanner/CustomFunctions/GenericSpamScanner.pm lib/MailScanner/MailScanner/CustomFunctions/MyExample.pm lib/MailScanner/MailScanner/CustomFunctions/DavidHooton.pm lib/MailScanner/MailScanner/CustomFunctions/ZMRouterDirHash.pm lib/MailScanner/MailScanner/Exim.pm lib/MailScanner/MailScanner/EximDiskStore.pm +lib/MailScanner/MailScanner/GenericSpam.pm lib/MailScanner/MailScanner/Lock.pm lib/MailScanner/MailScanner/Log.pm lib/MailScanner/MailScanner/MCP.pm @@ -492,12 +494,15 @@ %%PORTDOCS%%%%DOCSDIR%%/install/mcp/Conf.pm.patch.2.61 %%PORTDOCS%%%%DOCSDIR%%/install/mcp/Conf.pm.patch.2.63 %%PORTDOCS%%%%DOCSDIR%%/install/mcp/Conf.pm.patch.3.0.0 +%%PORTDOCS%%%%DOCSDIR%%/install/mcp/Conf.pm.patch.3.0.3 %%PORTDOCS%%%%DOCSDIR%%/install/mcp/Message.pm.patch.3.0.0 +%%PORTDOCS%%%%DOCSDIR%%/install/mcp/Message.pm.patch.3.0.3 %%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.2.55 %%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.2.60 %%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.2.61 %%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.2.63 %%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.3.0.0 +%%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.3.0.3 %%PORTDOCS%%%%DOCSDIR%%/install/mcp/index.html %%PORTDOCS%%@exec mkdir -p %D/%%DOCSDIR%%/install/tcp %%PORTDOCS%%%%DOCSDIR%%/install/mime-tools-patch.txt Index: files/patch-docs:man:MailScanner.8 =================================================================== RCS file: /home/ncvs/ports/mail/mailscanner/files/patch-docs:man:MailScanner.8,v --- files/patch-docs:man:MailScanner.8 1 Jun 2005 16:34:12 -0000 1.22 +++ files/patch-docs:man:MailScanner.8 8 Jul 2005 12:27:34 -0000 @@ -1,8 +1,8 @@ ---- ../MailScanner-install-4.42.9.orig/docs/man/MailScanner.8 Wed Jun 1 11:24:25 2005 -+++ docs/man/MailScanner.8 Wed Jun 1 11:30:08 2005 +--- ../MailScanner-install-4.43.8.orig/docs/man/MailScanner.8 Fri Jul 8 14:17:05 2005 ++++ docs/man/MailScanner.8 Fri Jul 8 14:17:28 2005 @@ -1,4 +1,4 @@ --.TH "MailScanner" "8" "4.38.2" "Julian Field" "Mail" -+.TH "MailScanner" "8" "4.42.9" "Julian Field" "Mail" +-.TH "MailScanner" "8" "4.42.9" "Julian Field" "Mail" ++.TH "MailScanner" "8" "4.43.8" "Julian Field" "Mail" .SH "NAME" .LP MailScanner \- Virus/Spam Scanner for Sendmail, Exim and Postfix Index: files/patch-docs:man:MailScanner.8.html =================================================================== RCS file: /home/ncvs/ports/mail/mailscanner/files/patch-docs:man:MailScanner.8.html,v --- files/patch-docs:man:MailScanner.8.html 1 Jun 2005 16:34:12 -0000 1.15 +++ files/patch-docs:man:MailScanner.8.html 8 Jul 2005 12:27:34 -0000 @@ -1,9 +1,9 @@ ---- ../MailScanner-install-4.42.9.orig/docs/man/MailScanner.8.html Wed Jun 1 11:24:25 2005 -+++ docs/man/MailScanner.8.html Wed Jun 1 11:30:10 2005 +--- ../MailScanner-install-4.43.8.orig/docs/man/MailScanner.8.html Fri Jul 8 14:17:05 2005 ++++ docs/man/MailScanner.8.html Fri Jul 8 14:17:30 2005 @@ -1,5 +1,5 @@ -- -+ +- ++ Index: files/patch-docs:man:MailScanner.conf.5 =================================================================== RCS file: /home/ncvs/ports/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5,v --- files/patch-docs:man:MailScanner.conf.5 1 Jun 2005 16:34:12 -0000 1.22 +++ files/patch-docs:man:MailScanner.conf.5 8 Jul 2005 12:27:34 -0000 @@ -1,177 +1,77 @@ ---- ../MailScanner-install-4.42.9.orig/docs/man/MailScanner.conf.5 Wed Jun 1 11:24:25 2005 -+++ docs/man/MailScanner.conf.5 Wed Jun 1 11:30:13 2005 +--- ../MailScanner-install-4.43.8.orig/docs/man/MailScanner.conf.5 Fri Jul 8 14:17:05 2005 ++++ docs/man/MailScanner.conf.5 Fri Jul 8 14:17:23 2005 @@ -1,4 +1,4 @@ --.TH "MailScanner.conf" "5" "4.38.2" "Julian Field" "Mail" -+.TH "MailScanner.conf" "5" "4.42.9" "Julian Field" "Mail" +-.TH "MailScanner.conf" "5" "4.42.9" "Julian Field" "Mail" ++.TH "MailScanner.conf" "5" "4.43.8" "Julian Field" "Mail" .SH "NAME" .LP MailScanner.conf \- Main configuration for MailScanner -@@ -27,7 +27,9 @@ - Many of the options can also be the filename of a ruleset, which can be used to control features depending on the addresses of the message, and/or the IP address where the message came from. You will find some examples of rulesets and an explanation of them in the "rules" directories within the MailScanner installation and in the section "RULESETS" later in this manpage. - - .LP --The options are best listed in a few categories. This is also the order in which you will find them in the MailScanner.conf file. If this list looks very large then don't worry, the supplied MailScanner.conf file (or MailScanner.conf.sample) contains sensible defaults for all the values. You will probably only need to change a very few of them to start with. -+The options are best listed in a few categories. If this list looks very large then don't worry, the supplied MailScanner.conf file (or MailScanner.conf.sample) contains sensible defaults for all the values. You will probably only need to change a very few of them to start with. -+ -+Starting with version 4.40.10 of MailScanner you can use shell environment variables such as $HOSTNAME or ${HOSTNAME} in MailScanner.conf and its relatives. - - .LP - You should define the following variables: -@@ -74,6 +76,22 @@ - Enter a short identifying name for your organisation below, this is used to make the X\-MailScanner headers unique for your organisation. Multiple servers within one site should use an identical value here to avoid adding multiple redundant headers where mail has passed through several servers within your organisation. +@@ -1701,12 +1701,64 @@ .br - Note: Some Symantec scanners complain (incorrectly) about "." characters appearing in the names of headers. -+ -+.TP -+\fB%org\-long\-name%\fR -+Default: Your Organisation Name Here -+.br -+ -+.br -+Enter the full name of your organisation below, this is used in the signature placed at the bottom of report messages sent by MailScanner. It can include pretty much any text you like. You can make the result span several lines by including "\n" sequences in the text. These will be replaced by line\-breaks. -+ -+.TP -+\fB%web\-site%\fR -+Default: www.your\-organisation.com -+.br -+ -+.br -+Enter the location of your organisation's web site below. This is used in the signature placed at the bottom of report messages sent by MailScanner. It should preferably be the location of a page that you have written explaining why you might have rejected the mail and what the recipient and/or sender should do about it. - .SH "System Settings" - .TP - \fBMax Children\fR -@@ -370,6 +388,23 @@ + .br - The maximum length of time the "file" command is allowed to run for one batch of messages (in seconds). +-# 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. +-WaitDuringBayesRebuild = no ++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. -+ -+.TP -+\fBUnrar Command\fR -+Default: /usr/bin/unrar -+.br -+ -+.br -+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. -+ -+.TP -+\fBUnrar Timeout\fR -+Default: 50 -+.br -+ -+.br -+The maximum length of time the "unrar" command is allowed to run for 1 RAR archive (in seconds) -+ - .TP - \fBBlock Encrypted Messages\fR - Default: no -@@ -562,6 +597,41 @@ - .br - 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. + ++.SH "Custom Spam Scanner Plugin" +.TP -+\fBClamAVmodule Maximum Recursion Level\fR -+Default: 5 ++\fBUse Custom Spam Scanner\fR ++Default: no +.br + +.br -+ClamAVModule only: The maximum recursion level of archives. This setting *cannot* be the filename of a ruleset, only a simple number. -+ -+.TP -+\fBClamAVmodule Maximum Files\fR -+Default: 100 ++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". 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. The function will be passed +.br -+ ++.RS 7 ++.IP \(bu 4 ++$IP \- the numeric IP address of the system on the remote end of the SMTP connections ++.IP \(bu 4 ++$From \- the address of the envelope sender of the message ++.IP \(bu 4 ++$To \- a perl reference to the envelope recipients of the message ++.IP \(bu 4 ++$Message \- a perl reference to the list of line of the message ++.RE +.br -+ClamAVModule only: The maximum number of files per batch. This setting *cannot* be the filename of a ruleset, only a simple number. + + +.TP -+\fBClamAVmodule Maximum File Size\fR -+Default: 10000000 ++\fBMax Custom Spam Scanner Size\fR ++Default: 20000 +.br + +.br -+ClamAVModule only: The maximum file of each file (Default = 10MB). This setting *cannot* be the filename of a ruleset, only a simple number. -+ ++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. + +.TP -+\fB\fRClamAVmodule Maximum Compression Ratio -+Default: 250 -+.br -+ -+.br -+ClamAVModule only: The maximum compression ration of archives. This setting *cannot* be the filename of a ruleset, only a simple number. -+ - .SH "Removing/Logging dangerous or potentially offensive content" - .TP - \fBAllow Partial Messages\fR -@@ -601,6 +671,15 @@ - - - .TP -+\fBPhishing Safe Sites File\fR -+Default: %etc\-dir%/phishing.safe.sites.conf ++\fBCustom Spam Scanner Timeout\fR ++Default: 20 +.br + +.br -+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. ++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. + + +.TP - \fBAllow IFrame Tags\fR - Default: no - .br -@@ -1233,6 +1312,23 @@ - .br - This is the text inserted at the start of the "Subject:" line if the "Content Modify Subject" option is set. - -+.TP -+\fBDisarmed Modify Subject\fR -+Default: yes ++\fBMax Custom Spam Scanner Timeouts\fR ++Default: 10 +.br + +.br -+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 also be the filename of a ruleset. -+ ++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. + +.TP -+\fBDisarmed Subject Text\fR -+Default: {Disarmed} ++\fBCustom Spam Scanner Timeout History\fR ++Default: 20 +.br + +.br -+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. -+ - ++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"). + .SH "What to do with spam" .TP - \fBSpam Modify Subject\fR -@@ -1415,6 +1511,15 @@ - This provides a space\-separated list of "Spam Lists" (or RBL's or DNSBL's) which are checked for each message. These lists are based on the domain name of the sender address of each message. Every list used here must be defined in the "Spam List Definitions" file mentioned above. - - .TP -+\fBSpam Lists To Be Spam\fR -+Default: 1 -+.br -+ -+.br -+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. -+ -+ -+.TP - \fBSpam Lists To Reach High Score\fR - Default: 5 - .br -@@ -1753,6 +1858,12 @@ - - .br - Log all occurrences of "Silent Viruses" as defined above? This can only be a simple yes/no value, not a ruleset. -+ -+.TP -+\fBLog Dangerous HTML Tags\fR -+Default: no -+.br -+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. - .SH "Advanced SpamAssassin Settings" - If you are using Postfix you may well need to use some of the settings below, as the home directory for the "postfix" user cannot be written to by the "postfix" user. You may also need to use these if you have installed SpamAssassin somewhere other than the default location. - + \fBSpam Actions\fR Index: files/patch-docs:man:MailScanner.conf.5.html =================================================================== RCS file: /home/ncvs/ports/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html,v --- files/patch-docs:man:MailScanner.conf.5.html 1 Jun 2005 16:34:12 -0000 1.18 +++ files/patch-docs:man:MailScanner.conf.5.html 8 Jul 2005 12:27:34 -0000 @@ -1,70 +1,43 @@ ---- ../MailScanner-install-4.42.9.orig/docs/man/MailScanner.conf.5.html Wed Jun 1 11:24:25 2005 -+++ docs/man/MailScanner.conf.5.html Wed Jun 1 11:30:17 2005 +--- ../MailScanner-install-4.43.8.orig/docs/man/MailScanner.conf.5.html Fri Jul 8 14:17:05 2005 ++++ docs/man/MailScanner.conf.5.html Fri Jul 8 14:17:25 2005 @@ -1,5 +1,5 @@ -- -+ +- ++ -@@ -120,13 +120,15 @@ - directories within the MailScanner installation and in the - section "RULESETS" later in this manpage.

+@@ -34,6 +34,7 @@ + Definitions of virus scanners and spam detectors
+ Spam detection and spam lists (DNS blocklists)
+ SpamAssassin
++Custom Spam Scanner Plugin
+ What to do with spam
+ System logging
+ Advanced SpamAssassin Settings
+@@ -4909,10 +4910,239 @@ + +

Default: no

--

The options are best listed in a few categories. This is --also the order in which you will find them in the --MailScanner.conf file. If this list looks very large then --don’t worry, the supplied MailScanner.conf file (or --MailScanner.conf.sample) contains sensible defaults for all --the values. You will probably only need to change a very few --of them to start with.

-+

The options are best listed in a few categories. If this -+list looks very large then don’t worry, the supplied -+MailScanner.conf file (or MailScanner.conf.sample) contains -+sensible defaults for all the values. You will probably only -+need to change a very few of them to start with.

-+ -+

Starting with version 4.40.10 of MailScanner you can use -+shell environment variables such as $HOSTNAME or ${HOSTNAME} -+in MailScanner.conf and its relatives.

- -

You should define the following variables:

- -@@ -220,6 +222,54 @@ - headers.

- - -+ -+ -+ -+ -+ -+
-+

%org−long−name%

-+ -+ -+ -+ -+ +
-+

Default: Your Organisation Name Here

-+ -+

Enter the full name of your organisation below, this is -+used in the signature placed at the bottom of report -+messages sent by MailScanner. It can include pretty much any -+text you like. You can make the result span several lines by -+including "0 sequences in the text. These will be -+replaced by line−breaks.

+-

# 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. WaitDuringBayesRebuild = no

++

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.

+
++ ++

Custom Spam Scanner Plugin

+ + + + + ++

Use Custom Spam Scanner

+
-+

%web−site%

+ + + + +
-+

Default: www.your−organisation.com

++

Default: no

+ -+

Enter the location of your organisation’s web site -+below. This is used in the signature placed at the bottom of -+report messages sent by MailScanner. It should preferably be -+the location of a page that you have written explaining why -+you might have rejected the mail and what the recipient -+and/or sender should do about it.

++

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". ++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. The ++function will be passed

+
- -

System Settings

- -@@ -1071,6 +1121,54 @@ - - - -+

Unrar Command

-+ -+ ++ + ++ cols="5" cellspacing="0" cellpadding="0"> + + -+ ++ ++ ++ -+
-+

Default: /usr/bin/unrar

-+ -+

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.

++
++ ++

++
++ ++

$IP

++
+
-+ -+ -+ -+ -+ -+
-+

Unrar Timeout

-+ -+ + + -+ ++ ++ ++ +
-+

Default: 50

-+ -+

The maximum length of time the "unrar" command -+is allowed to run for 1 RAR archive (in seconds)

++
++ ++ ++

− the numeric IP address of the system on the ++remote end of the SMTP connections

+
-+ -+ -+ -+ -+ -
-

Block Encrypted Messages

- -@@ -1638,6 +1736,90 @@ - scanner, not the "clamav" scanner setting.

- - -+ -+ -+ -+ -+ -+
-+

ClamAVmodule Maximum Recursion Level

-+ ++ + ++ cols="7" cellspacing="0" cellpadding="0"> + + -+ ++ ++ ++ ++ ++ +
-+

Default: 5

-+ -+

ClamAVModule only: The maximum recursion level of -+archives. This setting *cannot* be the filename of a -+ruleset, only a simple number.

++
++ ++

++
++ ++

$From

++
++ ++

− the address of the envelope sender of the ++message

++
+
-+ -+ -+ -+ -+ -+
-+

ClamAVmodule Maximum Files

-+ ++ + ++ cols="6" cellspacing="0" cellpadding="0"> + + -+ ++ ++ ++ ++ -+
-+

Default: 100

-+ -+

ClamAVModule only: The maximum number of files per batch. -+This setting *cannot* be the filename of a ruleset, only a -+simple number.

++
++ ++

++
++ ++

$To

++
+
-+ -+ -+ -+ -+ -+
-+

ClamAVmodule Maximum File Size

-+ -+ + + -+ ++ ++ ++ ++ +
-+

Default: 10000000

-+ -+

ClamAVModule only: The maximum file of each file (Default -+= 10MB). This setting *cannot* be the filename of a ruleset, -+only a simple number.

++
++ ++ ++

− a perl reference to the envelope recipients of ++the message

++
+
-+ -+ -+ -+ -+ -+
-+

ClamAVmodule Maximum Compression Ratio

-+ ++ + ++ cols="5" cellspacing="0" cellpadding="0"> + + -+ ++ ++ ++ -+
-+

Default: 250

-+ -+

ClamAVModule only: The maximum compression ration of -+archives. This setting *cannot* be the filename of a -+ruleset, only a simple number.

++
++ ++

++
++ ++

$Message

++
+
- -

Removing/Logging dangerous or potentially offensive content

- -@@ -1761,6 +1943,33 @@ - - - -+

Phishing Safe Sites File

+ + + + + ++

− a perl reference to the list of line of the ++message

+
-+

Default: %etc−dir%/phishing.safe.sites.conf

-+ -+

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.

-+
+ + + + -
-

Allow IFrame Tags

- -@@ -3617,6 +3826,50 @@ - - - -+

Disarmed Modify Subject

++

Max Custom Spam Scanner Size

+ + + + + +
-+

Default: yes

++

Default: 20000

+ -+

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 also be the filename of a -+ruleset.

++

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.

+
+ @@ -292,7 +195,7 @@ + + + -+

Disarmed Subject Text

++

Custom Spam Scanner Timeout

+ + + + + +
-+

Default: {Disarmed}

++

Default: 20

+ -+

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.

++

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.

+
+ @@ -313,14 +217,7 @@ + + + -

Spam Modify Subject

- - -@@ -4118,6 +4371,33 @@ - - - -+

Spam Lists To Be Spam

++

Max Custom Spam Scanner Timeouts

+ + + + + +
-+

Default: 1

++

Default: 10

+ -+

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.

++

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.

+
+ @@ -347,22 +238,7 @@ + + + -

Spam Lists To Reach High Score

- - -@@ -5122,6 +5402,28 @@ -

Log all occurrences of "Silent Viruses" as - defined above? This can only be a simple yes/no value, not a - ruleset.

-+ -+ -+ -+ -+ -+ -+ ++

Custom Spam Scanner Timeout History

+
-+

Log Dangerous HTML Tags

+ + + +
-+

Default: no
-+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.

++

Default: 20

++ ++

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").

- +