View | Details | Raw Unified | Return to bug 85282
Collapse All | Expand All

(-)Makefile (-5 / +9 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	MailScanner
8
PORTNAME=	MailScanner
9
PORTVERSION=	4.42.1
9
PORTVERSION=	4.45.1
10
PORTREVISION=	1
10
PORTREVISION=	1
11
CATEGORIES=	mail
11
CATEGORIES=	mail
12
MASTER_SITES=	http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
12
MASTER_SITES=	http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
Lines 35-41 Link Here
35
		${LOCALBASE}/bin/tnef:${PORTSDIR}/converters/tnef \
35
		${LOCALBASE}/bin/tnef:${PORTSDIR}/converters/tnef \
36
		${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget \
36
		${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget \
37
		${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip \
37
		${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip \
38
		${LOCALBASE}/bin/unrar:${PORTSDIR}/archivers/unrar
38
		${LOCALBASE}/bin/unrar:${PORTSDIR}/archivers/unrar \
39
		${LOCALBASE}/bin/zoo:${PORTSDIR}/archivers/zoo \
40
		${LOCALBASE}/bin/unarj:${PORTSDIR}/archivers/unarj \
41
		${LOCALBASE}/bin/unace:${PORTSDIR}/archivers/unace \
42
		${LOCALBASE}/bin/lha:${PORTSDIR}/archivers/lha
39
43
40
CONFLICTS=	MailScanner-[0-9]*
44
CONFLICTS=	MailScanner-[0-9]*
41
45
Lines 152-161 Link Here
152
	# Step 3: Install files in share
156
	# Step 3: Install files in share
153
	#
157
	#
154
	@${MKDIR} ${DATADIR}
158
	@${MKDIR} ${DATADIR}
155
	cd ${WRKSRC}/etc && ${FIND} reports -type d -exec \
159
	cd ${WRKSRC}/etc && ${FIND} reports -type d ! -name "*.old" -exec \
156
		${MKDIR} ${DATADIR}/{} \;
160
		${MKDIR} ${DATADIR}/{} \;
157
	cd ${WRKSRC}/etc && ${FIND} reports -type f ! -name "*.orig" -exec \
161
	cd ${WRKSRC}/etc && ${FIND} reports \( -type d -name "*.old" -prune \) \
158
		${INSTALL_DATA} {} ${DATADIR}/{}.sample \;
162
		-o \( -type f ! -name "*.orig" -exec ${INSTALL_DATA} {} ${DATADIR}/{}.sample \; \)
159
	${CHMOD} -R ${BINMODE} ${DATADIR}/reports
163
	${CHMOD} -R ${BINMODE} ${DATADIR}/reports
160
	#
164
	#
161
	# Step 4: Install lib
165
	# Step 4: Install lib
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (MailScanner-install-4.42.1-1.tar.gz) = 7cb2929b0cd364be57e0d4534bb672f6
1
MD5 (MailScanner-install-4.45.1-1.tar.gz) = 3fc88ee10dbd010ded7d72877dd7e9d4
2
SIZE (MailScanner-install-4.42.1-1.tar.gz) = 4701002
2
SIZE (MailScanner-install-4.45.1-1.tar.gz) = 5423515
(-)pkg-plist (-2 / +19 lines)
Lines 1-4 Link Here
1
@comment $FreeBSD: ports/mail/mailscanner/pkg-plist,v 1.19 2005/02/16 16:11:36 vs Exp $
1
@comment $FreeBSD: ports/mail/mailscanner/pkg-plist,v 1.22 2005/05/10 17:26:44 jylefort Exp $
2
etc/MailScanner/MailScanner.conf.sample
2
etc/MailScanner/MailScanner.conf.sample
3
etc/MailScanner/filename.rules.conf.sample
3
etc/MailScanner/filename.rules.conf.sample
4
etc/MailScanner/filetype.rules.conf.sample
4
etc/MailScanner/filetype.rules.conf.sample
Lines 18-28 Link Here
18
lib/MailScanner/MailScanner/Config.pm
18
lib/MailScanner/MailScanner/Config.pm
19
lib/MailScanner/MailScanner/ConfigDefs.pl
19
lib/MailScanner/MailScanner/ConfigDefs.pl
20
lib/MailScanner/MailScanner/CustomConfig.pm
20
lib/MailScanner/MailScanner/CustomConfig.pm
21
lib/MailScanner/MailScanner/CustomFunctions/GenericSpamScanner.pm
21
lib/MailScanner/MailScanner/CustomFunctions/MyExample.pm
22
lib/MailScanner/MailScanner/CustomFunctions/MyExample.pm
22
lib/MailScanner/MailScanner/CustomFunctions/DavidHooton.pm
23
lib/MailScanner/MailScanner/CustomFunctions/DavidHooton.pm
23
lib/MailScanner/MailScanner/CustomFunctions/ZMRouterDirHash.pm
24
lib/MailScanner/MailScanner/CustomFunctions/ZMRouterDirHash.pm
24
lib/MailScanner/MailScanner/Exim.pm
25
lib/MailScanner/MailScanner/Exim.pm
25
lib/MailScanner/MailScanner/EximDiskStore.pm
26
lib/MailScanner/MailScanner/EximDiskStore.pm
27
lib/MailScanner/MailScanner/GenericSpam.pm
26
lib/MailScanner/MailScanner/Lock.pm
28
lib/MailScanner/MailScanner/Lock.pm
27
lib/MailScanner/MailScanner/Log.pm
29
lib/MailScanner/MailScanner/Log.pm
28
lib/MailScanner/MailScanner/MCP.pm
30
lib/MailScanner/MailScanner/MCP.pm
Lines 142-151 Link Here
142
%%DATADIR%%/reports/cy+en/stored.content.message.txt.sample
144
%%DATADIR%%/reports/cy+en/stored.content.message.txt.sample
143
%%DATADIR%%/reports/cy+en/stored.filename.message.txt.sample
145
%%DATADIR%%/reports/cy+en/stored.filename.message.txt.sample
144
%%DATADIR%%/reports/cy+en/stored.virus.message.txt.sample
146
%%DATADIR%%/reports/cy+en/stored.virus.message.txt.sample
147
%%DATADIR%%/reports/cz.tar.gz.sample
145
%%DATADIR%%/reports/cz/deleted.content.message.txt.sample
148
%%DATADIR%%/reports/cz/deleted.content.message.txt.sample
146
%%DATADIR%%/reports/cz/deleted.filename.message.txt.sample
149
%%DATADIR%%/reports/cz/deleted.filename.message.txt.sample
147
%%DATADIR%%/reports/cz/deleted.virus.message.txt.sample
150
%%DATADIR%%/reports/cz/deleted.virus.message.txt.sample
148
%%DATADIR%%/reports/cz/disinfected.report.txt.sample
151
%%DATADIR%%/reports/cz/disinfected.report.txt.sample
152
%%DATADIR%%/reports/cz/filename.rules.txt.sample
149
%%DATADIR%%/reports/cz/inline.sig.html.sample
153
%%DATADIR%%/reports/cz/inline.sig.html.sample
150
%%DATADIR%%/reports/cz/inline.sig.txt.sample
154
%%DATADIR%%/reports/cz/inline.sig.txt.sample
151
%%DATADIR%%/reports/cz/inline.spam.warning.txt.sample
155
%%DATADIR%%/reports/cz/inline.spam.warning.txt.sample
Lines 443-448 Link Here
443
%%DATADIR%%/reports/sk/stored.content.message.txt.sample
447
%%DATADIR%%/reports/sk/stored.content.message.txt.sample
444
%%DATADIR%%/reports/sk/stored.filename.message.txt.sample
448
%%DATADIR%%/reports/sk/stored.filename.message.txt.sample
445
%%DATADIR%%/reports/sk/stored.virus.message.txt.sample
449
%%DATADIR%%/reports/sk/stored.virus.message.txt.sample
450
%%PORTDOCS%%%%DOCSDIR%%/Book.Dec04-Aug05.pdf
446
%%PORTDOCS%%%%DOCSDIR%%/COPYING
451
%%PORTDOCS%%%%DOCSDIR%%/COPYING
447
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
452
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
448
%%PORTDOCS%%%%DOCSDIR%%/FreeBSD.html
453
%%PORTDOCS%%%%DOCSDIR%%/FreeBSD.html
Lines 473-478 Link Here
473
%%PORTDOCS%%%%DOCSDIR%%/images/thumb_JulianField5.jpg
478
%%PORTDOCS%%%%DOCSDIR%%/images/thumb_JulianField5.jpg
474
%%PORTDOCS%%%%DOCSDIR%%/index.html
479
%%PORTDOCS%%%%DOCSDIR%%/index.html
475
%%PORTDOCS%%%%DOCSDIR%%/index.new.html
480
%%PORTDOCS%%%%DOCSDIR%%/index.new.html
481
%%PORTDOCS%%%%DOCSDIR%%/index.old.html
476
%%PORTDOCS%%%%DOCSDIR%%/install/ClamAVModule.shtml
482
%%PORTDOCS%%%%DOCSDIR%%/install/ClamAVModule.shtml
477
%%PORTDOCS%%%%DOCSDIR%%/install/OS-virus-scan-web.htm
483
%%PORTDOCS%%%%DOCSDIR%%/install/OS-virus-scan-web.htm
478
%%PORTDOCS%%%%DOCSDIR%%/install/README.trend
484
%%PORTDOCS%%%%DOCSDIR%%/install/README.trend
Lines 492-503 Link Here
492
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/Conf.pm.patch.2.61
498
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/Conf.pm.patch.2.61
493
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/Conf.pm.patch.2.63
499
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/Conf.pm.patch.2.63
494
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/Conf.pm.patch.3.0.0
500
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/Conf.pm.patch.3.0.0
501
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/Conf.pm.patch.3.0.3
502
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/Conf.pm.patch.3.0.4
495
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/Message.pm.patch.3.0.0
503
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/Message.pm.patch.3.0.0
504
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/Message.pm.patch.3.0.3
505
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/Message.pm.patch.3.0.4
496
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.2.55
506
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.2.55
497
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.2.60
507
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.2.60
498
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.2.61
508
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.2.61
499
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.2.63
509
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.2.63
500
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.3.0.0
510
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.3.0.0
511
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.3.0.3
512
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.3.0.4
501
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/index.html
513
%%PORTDOCS%%%%DOCSDIR%%/install/mcp/index.html
502
%%PORTDOCS%%@exec mkdir -p %D/%%DOCSDIR%%/install/tcp
514
%%PORTDOCS%%@exec mkdir -p %D/%%DOCSDIR%%/install/tcp
503
%%PORTDOCS%%%%DOCSDIR%%/install/mime-tools-patch.txt
515
%%PORTDOCS%%%%DOCSDIR%%/install/mime-tools-patch.txt
Lines 515-521 Link Here
515
%%PORTDOCS%%%%DOCSDIR%%/install/tnef.shtml
527
%%PORTDOCS%%%%DOCSDIR%%/install/tnef.shtml
516
%%PORTDOCS%%%%DOCSDIR%%/install/zmailer.shtml
528
%%PORTDOCS%%%%DOCSDIR%%/install/zmailer.shtml
517
%%PORTDOCS%%%%DOCSDIR%%/introduction.shtml
529
%%PORTDOCS%%%%DOCSDIR%%/introduction.shtml
518
%%PORTDOCS%%%%DOCSDIR%%/jobs
530
%%PORTDOCS%%%%DOCSDIR%%/last-spam-logo.jpg
519
%%PORTDOCS%%%%DOCSDIR%%/mailscanner_trans.gif
531
%%PORTDOCS%%%%DOCSDIR%%/mailscanner_trans.gif
520
%%PORTDOCS%%%%DOCSDIR%%/man/MailScanner.8
532
%%PORTDOCS%%%%DOCSDIR%%/man/MailScanner.8
521
%%PORTDOCS%%%%DOCSDIR%%/man/MailScanner.8.html
533
%%PORTDOCS%%%%DOCSDIR%%/man/MailScanner.8.html
Lines 528-539 Link Here
528
%%PORTDOCS%%%%DOCSDIR%%/osdir.png
540
%%PORTDOCS%%%%DOCSDIR%%/osdir.png
529
%%PORTDOCS%%%%DOCSDIR%%/performance.shtml
541
%%PORTDOCS%%%%DOCSDIR%%/performance.shtml
530
%%PORTDOCS%%%%DOCSDIR%%/phishing3.png
542
%%PORTDOCS%%%%DOCSDIR%%/phishing3.png
543
%%PORTDOCS%%%%DOCSDIR%%/phishingcartoon.gif
531
%%PORTDOCS%%%%DOCSDIR%%/poetry.shtml
544
%%PORTDOCS%%%%DOCSDIR%%/poetry.shtml
532
%%PORTDOCS%%%%DOCSDIR%%/poweredby.google.gif
545
%%PORTDOCS%%%%DOCSDIR%%/poweredby.google.gif
533
%%PORTDOCS%%%%DOCSDIR%%/poweredby.transtec.gif
546
%%PORTDOCS%%%%DOCSDIR%%/poweredby.transtec.gif
534
%%PORTDOCS%%%%DOCSDIR%%/phishing.html
547
%%PORTDOCS%%%%DOCSDIR%%/phishing.html
535
%%PORTDOCS%%%%DOCSDIR%%/phishing.jpg
548
%%PORTDOCS%%%%DOCSDIR%%/phishing.jpg
536
%%PORTDOCS%%%%DOCSDIR%%/phishing2.jpg
549
%%PORTDOCS%%%%DOCSDIR%%/phishing2.jpg
550
%%PORTDOCS%%%%DOCSDIR%%/phishingnet.info/index.html
551
%%PORTDOCS%%%%DOCSDIR%%/phishingnet.info/PhishingNet.gif
537
%%PORTDOCS%%%%DOCSDIR%%/pressreleases.html
552
%%PORTDOCS%%%%DOCSDIR%%/pressreleases.html
538
%%PORTDOCS%%%%DOCSDIR%%/presentations.html
553
%%PORTDOCS%%%%DOCSDIR%%/presentations.html
539
%%PORTDOCS%%%%DOCSDIR%%/press.html
554
%%PORTDOCS%%%%DOCSDIR%%/press.html
Lines 541-546 Link Here
541
%%PORTDOCS%%%%DOCSDIR%%/readme.shtml
556
%%PORTDOCS%%%%DOCSDIR%%/readme.shtml
542
%%PORTDOCS%%%%DOCSDIR%%/reject.html
557
%%PORTDOCS%%%%DOCSDIR%%/reject.html
543
%%PORTDOCS%%%%DOCSDIR%%/sobig.html
558
%%PORTDOCS%%%%DOCSDIR%%/sobig.html
559
%%PORTDOCS%%%%DOCSDIR%%/store.html
544
%%PORTDOCS%%%%DOCSDIR%%/support.html
560
%%PORTDOCS%%%%DOCSDIR%%/support.html
545
%%PORTDOCS%%%%DOCSDIR%%/transtec.logo.gif
561
%%PORTDOCS%%%%DOCSDIR%%/transtec.logo.gif
546
%%PORTDOCS%%%%DOCSDIR%%/users.shtml
562
%%PORTDOCS%%%%DOCSDIR%%/users.shtml
Lines 550-555 Link Here
550
%%PORTDOCS%%@dirrm %%DOCSDIR%%/install/mcp
566
%%PORTDOCS%%@dirrm %%DOCSDIR%%/install/mcp
551
%%PORTDOCS%%@dirrm %%DOCSDIR%%/install
567
%%PORTDOCS%%@dirrm %%DOCSDIR%%/install
552
%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
568
%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
569
%%PORTDOCS%%@dirrm %%DOCSDIR%%/phishingnet.info
553
%%PORTDOCS%%@dirrm %%DOCSDIR%%
570
%%PORTDOCS%%@dirrm %%DOCSDIR%%
554
@dirrm %%DATADIR%%/reports/sk
571
@dirrm %%DATADIR%%/reports/sk
555
@dirrm %%DATADIR%%/reports/se
572
@dirrm %%DATADIR%%/reports/se
(-)files/patch-docs:man:MailScanner.8 (-4 / +4 lines)
Lines 1-8 Link Here
1
--- ../MailScanner-install-4.40.10.old/docs/man/MailScanner.8	Fri Apr  1 16:10:19 2005
1
--- ../MailScanner-install-4.45.1.orig/docs/man/MailScanner.8	Thu Aug 25 11:41:50 2005
2
+++ docs/man/MailScanner.8	Fri Apr  1 16:10:33 2005
2
+++ docs/man/MailScanner.8	Thu Aug 25 11:47:48 2005
3
@@ -1,4 +1,4 @@
3
@@ -1,4 +1,4 @@
4
-.TH "MailScanner" "8" "4.38.2" "Julian Field" "Mail"
4
-.TH "MailScanner" "8" "4.42.9" "Julian Field" "Mail"
5
+.TH "MailScanner" "8" "4.41.3" "Julian Field" "Mail"
5
+.TH "MailScanner" "8" "4.45.1" "Julian Field" "Mail"
6
 .SH "NAME"
6
 .SH "NAME"
7
 .LP 
7
 .LP 
8
 MailScanner \- Virus/Spam Scanner for Sendmail, Exim and Postfix
8
 MailScanner \- Virus/Spam Scanner for Sendmail, Exim and Postfix
(-)files/patch-docs:man:MailScanner.8.html (-4 / +4 lines)
Lines 1-9 Link Here
1
--- ../MailScanner-install-4.40.10.old/docs/man/MailScanner.8.html	Fri Apr  1 16:10:19 2005
1
--- ../MailScanner-install-4.45.1.orig/docs/man/MailScanner.8.html	Thu Aug 25 11:41:50 2005
2
+++ docs/man/MailScanner.8.html	Fri Apr  1 16:10:35 2005
2
+++ docs/man/MailScanner.8.html	Thu Aug 25 11:47:51 2005
3
@@ -1,5 +1,5 @@
3
@@ -1,5 +1,5 @@
4
 <!-- Creator     : groff version 1.19 -->
4
 <!-- Creator     : groff version 1.19 -->
5
-<!-- CreationDate: Mon Jan 17 15:53:41 2005 -->
5
-<!-- CreationDate: Wed Jun  1 11:29:47 2005 -->
6
+<!-- CreationDate: Fri Apr  1 16:08:30 2005 -->
6
+<!-- CreationDate: Thu Aug 25 11:47:32 2005 -->
7
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
7
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
8
 "http://www.w3.org/TR/html4/loose.dtd">
8
 "http://www.w3.org/TR/html4/loose.dtd">
9
 <html>
9
 <html>
(-)files/patch-docs:man:MailScanner.conf.5 (-90 / +63 lines)
Lines 1-137 Link Here
1
--- ../MailScanner-install-4.40.10.old/docs/man/MailScanner.conf.5	Fri Apr  1 16:10:19 2005
1
--- ../MailScanner-install-4.45.1.orig/docs/man/MailScanner.conf.5	Thu Aug 25 11:41:50 2005
2
+++ docs/man/MailScanner.conf.5	Fri Apr  1 16:10:37 2005
2
+++ docs/man/MailScanner.conf.5	Thu Aug 25 11:47:54 2005
3
@@ -1,4 +1,4 @@
3
@@ -1,4 +1,4 @@
4
-.TH "MailScanner.conf" "5" "4.38.2" "Julian Field" "Mail"
4
-.TH "MailScanner.conf" "5" "4.42.9" "Julian Field" "Mail"
5
+.TH "MailScanner.conf" "5" "4.41.3" "Julian Field" "Mail"
5
+.TH "MailScanner.conf" "5" "4.45.1" "Julian Field" "Mail"
6
 .SH "NAME"
6
 .SH "NAME"
7
 .LP 
7
 .LP 
8
 MailScanner.conf \- Main configuration for MailScanner
8
 MailScanner.conf \- Main configuration for MailScanner
9
@@ -27,7 +27,9 @@
9
@@ -326,6 +326,16 @@
10
 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.
11
 
12
 .LP 
13
-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.
14
+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.
15
+
16
+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.
17
 
18
 .LP 
19
 You should define the following variables:
20
@@ -74,6 +76,22 @@
21
 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. 
22
 .br 
10
 .br 
23
 Note: Some Symantec scanners complain (incorrectly) about "." characters appearing in the names of headers.
11
 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".
12
 
24
+
13
+
25
+.TP 
14
+.TP 
26
+\fB%org\-long\-name%\fR
15
+\fBScan Messages\fR
27
+Default: Your Organisation Name Here
16
+Default: yes
28
+.br 
17
+.br 
29
+
18
+
30
+.br 
19
+.br 
31
+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.
20
+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.
32
+
21
+
33
+.TP 
34
+\fB%web\-site%\fR
35
+Default: www.your\-organisation.com
36
+.br 
37
+
22
+
38
+.br 
39
+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.
40
 .SH "System Settings"
41
 .TP 
23
 .TP 
42
 \fBMax Children\fR
24
 \fBMaximum Attachments Per Message\fR
43
@@ -370,6 +388,23 @@
25
 Default: 200
44
 .br 
26
@@ -853,6 +863,15 @@
45
 The maximum length of time the "file" command is allowed to run for one batch of messages (in seconds).
27
 There is no point quarantining most viruses these days, 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 in previous versions. This can also be the filename of a ruleset.
46
 
28
 
47
+
29
 .TP 
48
+.TP 
30
+\fBQuarantine Modified Body\fR
49
+\fBUnrar Command\fR
31
+Default: no
50
+Default: /usr/bin/unrar
51
+.br 
52
+
53
+.br 
32
+.br 
54
+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.
55
+
33
+
56
+.TP 
57
+\fBUnrar Timeout\fR
58
+Default: 50
59
+.br 
34
+.br 
35
+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.
60
+
36
+
61
+.br 
62
+The maximum length of time the "unrar" command is allowed to run for 1 RAR archive (in seconds)
63
+
37
+
64
 .TP 
38
+.TP 
65
 \fBBlock Encrypted Messages\fR
39
 \fBQuarantine Whole Message\fR
66
 Default: no
40
 Default: no
67
@@ -562,6 +597,41 @@
41
 .br 
42
@@ -1701,12 +1720,64 @@
43
 .br 
68
 
44
 
69
 .br 
45
 .br 
70
 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.
46
-# The Bayesian database rebuild and expiry may take a 2 or 3 minutes
47
-# to complete. During this time you can either wait, or simply
48
-# disable SpamAssassin checks until it has completed.
49
-WaitDuringBayesRebuild = no
50
+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.
71
+
51
+
72
+.TP 
73
+\fBClamAVmodule Maximum Recursion Level\fR
74
+Default: 5
75
+.br 
76
+
52
+
77
+.br 
78
+ClamAVModule only: The maximum recursion level of archives. This setting *cannot* be the filename of a ruleset, only a simple number.
79
+
53
+
54
+.SH "Custom Spam Scanner Plugin"
80
+.TP 
55
+.TP 
81
+\fBClamAVmodule Maximum Files\fR
56
+\fBUse Custom Spam Scanner\fR
82
+Default: 100
57
+Default: no
83
+.br 
58
+.br 
84
+
59
+
85
+.br 
60
+.br 
86
+ClamAVModule only: The maximum number of files per batch. This setting *cannot* be the filename of a ruleset, only a simple number.
61
+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
87
+
88
+
89
+.TP 
90
+\fBClamAVmodule Maximum File Size\fR
91
+Default: 10000000
92
+.br 
62
+.br 
93
+
63
+.RS 7
64
+.IP  \(bu 4
65
+$IP		\- the numeric IP address of the system on the remote end of the SMTP connections
66
+.IP  \(bu 4
67
+$From	\- the address of the envelope sender of the message
68
+.IP  \(bu 4
69
+$To		\- a perl reference to the envelope recipients of the message
70
+.IP  \(bu 4
71
+$Message	\- a perl reference to the list of line of the message
72
+.RE
94
+.br 
73
+.br 
95
+ClamAVModule only: The maximum file of each file (Default = 10MB). This setting *cannot* be the filename of a ruleset, only a simple number.
96
+
74
+
97
+
75
+
98
+.TP 
76
+.TP 
99
+\fB\fRClamAVmodule Maximum Compression Ratio
77
+\fBMax Custom Spam Scanner Size\fR
100
+Default: 250
78
+Default: 20000
101
+.br 
79
+.br 
102
+
80
+
103
+.br 
81
+.br 
104
+ClamAVModule only: The maximum compression ration of archives. This setting *cannot* be the filename of a ruleset, only a simple number.
82
+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.
105
+ 
106
 .SH "Removing/Logging dangerous or potentially offensive content"
107
 .TP 
108
 \fBAllow Partial Messages\fR
109
@@ -601,6 +671,15 @@
110
 
83
 
84
+.TP 
85
+\fBCustom Spam Scanner Timeout\fR
86
+Default: 20
87
+.br 
111
 
88
 
112
 .TP 
113
+\fBPhishing Safe Sites File\fR
114
+Default: %etc\-dir%/phishing.safe.sites.conf
115
+.br 
89
+.br 
90
+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.
91
+
116
+
92
+
93
+.TP 
94
+\fBMax Custom Spam Scanner Timeouts\fR
95
+Default: 10
117
+.br 
96
+.br 
118
+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.
119
+
97
+
98
+.br 
99
+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.
120
+
100
+
121
+.TP 
101
+.TP 
122
 \fBAllow IFrame Tags\fR
102
+\fBCustom Spam Scanner Timeout History\fR
123
 Default: no
103
+Default: 20
124
 .br 
104
+.br 
125
@@ -1753,6 +1832,12 @@
126
 
127
 .br 
128
 Log all occurrences of "Silent Viruses" as defined above? This can only be a simple yes/no value, not a ruleset.
129
+
105
+
130
+.TP 
131
+\fBLog Dangerous HTML Tags\fR
132
+Default: no
133
+.br 
106
+.br 
134
+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.
107
+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").
135
 .SH "Advanced SpamAssassin Settings"
108
 .SH "What to do with spam"
136
 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. 
109
 .TP 
137
 
110
 \fBSpam Actions\fR
(-)files/patch-docs:man:MailScanner.conf.5.html (-165 / +189 lines)
Lines 1-46 Link Here
1
--- ../MailScanner-install-4.40.10.old/docs/man/MailScanner.conf.5.html	Fri Apr  1 16:10:19 2005
1
--- ../MailScanner-install-4.45.1.orig/docs/man/MailScanner.conf.5.html	Thu Aug 25 11:41:50 2005
2
+++ docs/man/MailScanner.conf.5.html	Fri Apr  1 16:10:40 2005
2
+++ docs/man/MailScanner.conf.5.html	Thu Aug 25 11:48:02 2005
3
@@ -1,5 +1,5 @@
3
@@ -1,5 +1,5 @@
4
 <!-- Creator     : groff version 1.19 -->
4
 <!-- Creator     : groff version 1.19 -->
5
-<!-- CreationDate: Mon Jan 17 15:53:41 2005 -->
5
-<!-- CreationDate: Wed Jun  1 11:29:47 2005 -->
6
+<!-- CreationDate: Fri Apr  1 16:08:30 2005 -->
6
+<!-- CreationDate: Thu Aug 25 11:47:32 2005 -->
7
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
7
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
8
 "http://www.w3.org/TR/html4/loose.dtd">
8
 "http://www.w3.org/TR/html4/loose.dtd">
9
 <html>
9
 <html>
10
@@ -120,13 +120,15 @@
10
@@ -34,6 +34,7 @@
11
 directories within the MailScanner installation and in the
11
 <a href="#Definitions of virus scanners and spam detectors">Definitions of virus scanners and spam detectors</a><br>
12
 section &quot;RULESETS&quot; later in this manpage.</p>
12
 <a href="#Spam detection and spam lists (DNS blocklists)">Spam detection and spam lists (DNS blocklists)</a><br>
13
 <!-- INDENTATION -->
13
 <a href="#SpamAssassin">SpamAssassin</a><br>
14
-<p>The options are best listed in a few categories. This is
14
+<a href="#Custom Spam Scanner Plugin">Custom Spam Scanner Plugin</a><br>
15
-also the order in which you will find them in the
15
 <a href="#What to do with spam">What to do with spam</a><br>
16
-MailScanner.conf file. If this list looks very large then
16
 <a href="#System logging">System logging</a><br>
17
-don&rsquo;t worry, the supplied MailScanner.conf file (or
17
 <a href="#Advanced SpamAssassin Settings">Advanced SpamAssassin Settings</a><br>
18
-MailScanner.conf.sample) contains sensible defaults for all
18
@@ -953,6 +954,30 @@
19
-the values. You will probably only need to change a very few
19
 <tr valign="top" align="left">
20
-of them to start with.</p>
20
 <td width="11%"></td>
21
+<p>The options are best listed in a few categories. If this
21
 <td width="89%">
22
+list looks very large then don&rsquo;t worry, the supplied
22
+<p><b>Scan Messages</b></p></td>
23
+MailScanner.conf file (or MailScanner.conf.sample) contains
24
+sensible defaults for all the values. You will probably only
25
+need to change a very few of them to start with.</p>
26
+<!-- INDENTATION -->
27
+<p>Starting with version 4.40.10 of MailScanner you can use
28
+shell environment variables such as $HOSTNAME or ${HOSTNAME}
29
+in MailScanner.conf and its relatives.</p>
30
 <!-- INDENTATION -->
31
 <p>You should define the following variables:</p>
32
 </td>
33
@@ -220,6 +222,54 @@
34
 headers.</p>
35
 </td>
36
 </table>
37
+<!-- INDENTATION -->
38
+<table width="100%" border=0 rules="none" frame="void"
39
+       cols="2" cellspacing="0" cellpadding="0">
40
+<tr valign="top" align="left">
41
+<td width="11%"></td>
42
+<td width="89%">
43
+<p><b>%org&minus;long&minus;name%</b></p></td>
44
+</table>
23
+</table>
45
+<!-- INDENTATION -->
24
+<!-- INDENTATION -->
46
+<table width="100%" border=0 rules="none" frame="void"
25
+<table width="100%" border=0 rules="none" frame="void"
Lines 48-61 Link Here
48
+<tr valign="top" align="left">
27
+<tr valign="top" align="left">
49
+<td width="22%"></td>
28
+<td width="22%"></td>
50
+<td width="78%">
29
+<td width="78%">
51
+<p>Default: Your Organisation Name Here</p>
30
+<p>Default: yes</p>
52
+<!-- INDENTATION -->
31
+<!-- INDENTATION -->
53
+<p>Enter the full name of your organisation below, this is
32
+<p>If this is set to yes, then email messages passing
54
+used in the signature placed at the bottom of report
33
+through MailScanner will be processed and checked, and all
55
+messages sent by MailScanner. It can include pretty much any
34
+the other options in this file will be used to control what
56
+text you like. You can make the result span several lines by
35
+checks are made on the message. If this is set to no, then
57
+including &quot;0 sequences in the text. These will be
36
+email messages will NOT be processed or checked *at all*,
58
+replaced by line&minus;breaks.</p>
37
+and so any viruses or other problems will be ignored.</p>
59
+</td>
38
+</td>
60
+</table>
39
+</table>
61
+<!-- INDENTATION -->
40
+<!-- INDENTATION -->
Lines 64-70 Link Here
64
+<tr valign="top" align="left">
43
+<tr valign="top" align="left">
65
+<td width="11%"></td>
44
+<td width="11%"></td>
66
+<td width="89%">
45
+<td width="89%">
67
+<p><b>%web&minus;site%</b></p></td>
46
 <p><b>Maximum Attachments Per Message</b></p></td>
47
 </table>
48
 <!-- INDENTATION -->
49
@@ -2523,6 +2548,27 @@
50
 <tr valign="top" align="left">
51
 <td width="11%"></td>
52
 <td width="89%">
53
+<p><b>Quarantine Modified Body</b></p></td>
68
+</table>
54
+</table>
69
+<!-- INDENTATION -->
55
+<!-- INDENTATION -->
70
+<table width="100%" border=0 rules="none" frame="void"
56
+<table width="100%" border=0 rules="none" frame="void"
Lines 72-123 Link Here
72
+<tr valign="top" align="left">
58
+<tr valign="top" align="left">
73
+<td width="22%"></td>
59
+<td width="22%"></td>
74
+<td width="78%">
60
+<td width="78%">
75
+<p>Default: www.your&minus;organisation.com</p>
61
+<p>Default: no</p>
76
+<!-- INDENTATION -->
62
+<!-- INDENTATION -->
77
+<p>Enter the location of your organisation&rsquo;s web site
63
+<p>Do you want to store copies of messages which have been
78
+below. This is used in the signature placed at the bottom of
64
+disarmed by having their HTML modified at all? This can also
79
+report messages sent by MailScanner. It should preferably be
65
+be the filename of a ruleset.</p>
80
+the location of a page that you have written explaining why
81
+you might have rejected the mail and what the recipient
82
+and/or sender should do about it.</p>
83
+</td>
66
+</td>
84
+</table>
67
+</table>
85
 <a name="System Settings"></a>
86
 <h2>System Settings</h2>
87
 <!-- INDENTATION -->
88
@@ -1071,6 +1121,54 @@
89
 <tr valign="top" align="left">
90
 <td width="11%"></td>
91
 <td width="89%">
92
+<p><b>Unrar Command</b></p></td>
93
+</table>
94
+<!-- INDENTATION -->
68
+<!-- INDENTATION -->
95
+<table width="100%" border=0 rules="none" frame="void"
69
+<table width="100%" border=0 rules="none" frame="void"
96
+       cols="2" cellspacing="0" cellpadding="0">
70
+       cols="2" cellspacing="0" cellpadding="0">
97
+<tr valign="top" align="left">
71
+<tr valign="top" align="left">
98
+<td width="22%"></td>
72
+<td width="11%"></td>
99
+<td width="78%">
73
+<td width="89%">
100
+<p>Default: /usr/bin/unrar</p>
74
 <p><b>Quarantine Whole Message</b></p></td>
101
+<!-- INDENTATION -->
75
 </table>
102
+<p>Where the &quot;unrar&quot; command is installed. If you
76
 <!-- INDENTATION -->
103
+haven&rsquo;t got this command, look at www.rarlab.com. This
77
@@ -4909,10 +4955,239 @@
104
+is used for unpacking rar archives so that the contents can
78
 <td width="78%">
105
+be checked for banned filenames and filetypes, and also that
79
 <p>Default: no</p>
106
+the archive can be tested to see if it is
80
 <!-- INDENTATION -->
107
+password&minus;protected. Virus scanning the contents of rar
81
-<p># The Bayesian database rebuild and expiry may take a 2
108
+archives is still left to the virus scanner, with one
82
-or 3 minutes # to complete. During this time you can either
109
+exception: If using the clavavmodule virus scanner, this
83
-wait, or simply # disable SpamAssassin checks until it has
110
+adds external RAR checking to that scanner which is needed
84
-completed. WaitDuringBayesRebuild = no</p>
111
+for archives which are RAR version 3.</p>
85
+<p>The Bayesian database rebuild and expiry may take a 2 or
86
+3 minutes to complete. During this time you can either wait,
87
+or simply disable SpamAssassin checks until it has
88
+completed.</p>
112
+</td>
89
+</td>
113
+</table>
90
+</table>
91
+<a name="Custom Spam Scanner Plugin"></a>
92
+<h2>Custom Spam Scanner Plugin</h2>
114
+<!-- INDENTATION -->
93
+<!-- INDENTATION -->
115
+<table width="100%" border=0 rules="none" frame="void"
94
+<table width="100%" border=0 rules="none" frame="void"
116
+       cols="2" cellspacing="0" cellpadding="0">
95
+       cols="2" cellspacing="0" cellpadding="0">
117
+<tr valign="top" align="left">
96
+<tr valign="top" align="left">
118
+<td width="11%"></td>
97
+<td width="11%"></td>
119
+<td width="89%">
98
+<td width="89%">
120
+<p><b>Unrar Timeout</b></p></td>
99
+<p><b>Use Custom Spam Scanner</b></p></td>
121
+</table>
100
+</table>
122
+<!-- INDENTATION -->
101
+<!-- INDENTATION -->
123
+<table width="100%" border=0 rules="none" frame="void"
102
+<table width="100%" border=0 rules="none" frame="void"
Lines 125-177 Link Here
125
+<tr valign="top" align="left">
104
+<tr valign="top" align="left">
126
+<td width="22%"></td>
105
+<td width="22%"></td>
127
+<td width="78%">
106
+<td width="78%">
128
+<p>Default: 50</p>
107
+<p>Default: no</p>
129
+<!-- INDENTATION -->
108
+<!-- INDENTATION -->
130
+<p>The maximum length of time the &quot;unrar&quot; command
109
+<p>Use the Custom Spam Scanner. This is code you will have
131
+is allowed to run for 1 RAR archive (in seconds)</p>
110
+to write yourself, a function called
111
+&quot;GenericSpamScanner&quot; stored in the file
112
+&quot;MailScanner/lib/MailScanner/CustomFunctions/GenericSpamScanner.pm&quot;.
113
+A sample function is given in the correct file in the
114
+distribution. This sample function also includes code to
115
+show you how to make it run an external program to produce a
116
+spam score. This can also be the filename of a ruleset. The
117
+function will be passed</p>
132
+</td>
118
+</td>
133
+</table>
119
+</table>
134
+<!-- INDENTATION -->
120
+<!-- TABS -->
135
+<table width="100%" border=0 rules="none" frame="void"
121
+<table width="100%" border=0 rules="none" frame="void"
136
+       cols="2" cellspacing="0" cellpadding="0">
122
+       cols="5" cellspacing="0" cellpadding="0">
137
+<tr valign="top" align="left">
123
+<tr valign="top" align="left">
138
+<td width="11%"></td>
124
+<td width="22%"></td>
139
+<td width="89%">
125
+<td width="1%">
140
 <p><b>Block Encrypted Messages</b></p></td>
126
+
141
 </table>
127
+<p>&bull;</p>
142
 <!-- INDENTATION -->
128
+</td>
143
@@ -1638,6 +1736,90 @@
129
+<td width="5%"></td>
144
 scanner, not the &quot;clamav&quot; scanner setting.</p>
130
+<td width="4%">
145
 </td>
131
+
146
 </table>
132
+<p>$IP</p>
147
+<!-- INDENTATION -->
133
+</td>
134
+<td width="68%">
135
+</td>
136
+<tr valign="top" align="left">
137
+<td width="22%"></td>
138
+<td width="1%"></td>
139
+<td width="5%"></td>
140
+<td width="4%">
141
+</td>
142
+<td width="68%">
143
+
144
+<p>&minus; the numeric IP address of the system on the
145
+remote end of the SMTP connections</p>
146
+</td>
147
+</table>
148
+<!-- TABS -->
148
+<table width="100%" border=0 rules="none" frame="void"
149
+<table width="100%" border=0 rules="none" frame="void"
149
+       cols="2" cellspacing="0" cellpadding="0">
150
+       cols="7" cellspacing="0" cellpadding="0">
150
+<tr valign="top" align="left">
151
+<tr valign="top" align="left">
151
+<td width="11%"></td>
152
+<td width="22%"></td>
152
+<td width="89%">
153
+<td width="1%">
153
+<p><b>ClamAVmodule Maximum Recursion Level</b></p></td>
154
+
155
+<p>&bull;</p>
156
+</td>
157
+<td width="5%"></td>
158
+<td width="7%">
159
+
160
+<p>$From</p>
161
+</td>
162
+<td width="2%"></td>
163
+<td width="8%">
164
+
165
+<p>&minus; the address of the envelope sender of the
166
+message</p>
167
+</td>
168
+<td width="55%">
169
+</td>
154
+</table>
170
+</table>
155
+<!-- INDENTATION -->
171
+<!-- TABS -->
156
+<table width="100%" border=0 rules="none" frame="void"
172
+<table width="100%" border=0 rules="none" frame="void"
157
+       cols="2" cellspacing="0" cellpadding="0">
173
+       cols="6" cellspacing="0" cellpadding="0">
158
+<tr valign="top" align="left">
174
+<tr valign="top" align="left">
159
+<td width="22%"></td>
175
+<td width="22%"></td>
160
+<td width="78%">
176
+<td width="1%">
161
+<p>Default: 5</p>
177
+
162
+<!-- INDENTATION -->
178
+<p>&bull;</p>
163
+<p>ClamAVModule only: The maximum recursion level of
179
+</td>
164
+archives. This setting *cannot* be the filename of a
180
+<td width="5%"></td>
165
+ruleset, only a simple number.</p>
181
+<td width="9%">
182
+
183
+<p>$To</p>
184
+</td>
185
+<td width="8%"></td>
186
+<td width="55%">
187
+</td>
188
+<tr valign="top" align="left">
189
+<td width="22%"></td>
190
+<td width="1%"></td>
191
+<td width="5%"></td>
192
+<td width="9%">
193
+</td>
194
+<td width="8%">
195
+
196
+<p>&minus; a perl reference to the envelope recipients of
197
+the message</p>
198
+</td>
199
+<td width="55%">
166
+</td>
200
+</td>
167
+</table>
201
+</table>
168
+<!-- INDENTATION -->
202
+<!-- TABS -->
169
+<table width="100%" border=0 rules="none" frame="void"
203
+<table width="100%" border=0 rules="none" frame="void"
170
+       cols="2" cellspacing="0" cellpadding="0">
204
+       cols="5" cellspacing="0" cellpadding="0">
171
+<tr valign="top" align="left">
205
+<tr valign="top" align="left">
172
+<td width="11%"></td>
206
+<td width="22%"></td>
173
+<td width="89%">
207
+<td width="1%">
174
+<p><b>ClamAVmodule Maximum Files</b></p></td>
208
+
209
+<p>&bull;</p>
210
+</td>
211
+<td width="5%"></td>
212
+<td width="12%">
213
+
214
+<p>$Message</p>
215
+</td>
216
+<td width="60%">
217
+</td>
175
+</table>
218
+</table>
176
+<!-- INDENTATION -->
219
+<!-- INDENTATION -->
177
+<table width="100%" border=0 rules="none" frame="void"
220
+<table width="100%" border=0 rules="none" frame="void"
Lines 179-190 Link Here
179
+<tr valign="top" align="left">
222
+<tr valign="top" align="left">
180
+<td width="22%"></td>
223
+<td width="22%"></td>
181
+<td width="78%">
224
+<td width="78%">
182
+<p>Default: 100</p>
225
+<p>&minus; a perl reference to the list of line of the
183
+<!-- INDENTATION -->
226
+message</p></td>
184
+<p>ClamAVModule only: The maximum number of files per batch.
185
+This setting *cannot* be the filename of a ruleset, only a
186
+simple number.</p>
187
+</td>
188
+</table>
227
+</table>
189
+<!-- INDENTATION -->
228
+<!-- INDENTATION -->
190
+<table width="100%" border=0 rules="none" frame="void"
229
+<table width="100%" border=0 rules="none" frame="void"
Lines 192-198 Link Here
192
+<tr valign="top" align="left">
231
+<tr valign="top" align="left">
193
+<td width="11%"></td>
232
+<td width="11%"></td>
194
+<td width="89%">
233
+<td width="89%">
195
+<p><b>ClamAVmodule Maximum File Size</b></p></td>
234
+<p><b>Max Custom Spam Scanner Size</b></p></td>
196
+</table>
235
+</table>
197
+<!-- INDENTATION -->
236
+<!-- INDENTATION -->
198
+<table width="100%" border=0 rules="none" frame="void"
237
+<table width="100%" border=0 rules="none" frame="void"
Lines 200-210 Link Here
200
+<tr valign="top" align="left">
239
+<tr valign="top" align="left">
201
+<td width="22%"></td>
240
+<td width="22%"></td>
202
+<td width="78%">
241
+<td width="78%">
203
+<p>Default: 10000000</p>
242
+<p>Default: 20000</p>
204
+<!-- INDENTATION -->
243
+<!-- INDENTATION -->
205
+<p>ClamAVModule only: The maximum file of each file (Default
244
+<p>How much of the message should be passed tot he Custom
206
+= 10MB). This setting *cannot* be the filename of a ruleset,
245
+Spam Scanner. Most spam tools only need the first 20kbytes
207
+only a simple number.</p>
246
+of the message to determine if it is spam or not. Passing
247
+more than is necessary only slows things down. This can also
248
+be the filename of a ruleset.</p>
208
+</td>
249
+</td>
209
+</table>
250
+</table>
210
+<!-- INDENTATION -->
251
+<!-- INDENTATION -->
Lines 213-219 Link Here
213
+<tr valign="top" align="left">
254
+<tr valign="top" align="left">
214
+<td width="11%"></td>
255
+<td width="11%"></td>
215
+<td width="89%">
256
+<td width="89%">
216
+<p>ClamAVmodule Maximum Compression Ratio</p></td>
257
+<p><b>Custom Spam Scanner Timeout</b></p></td>
217
+</table>
258
+</table>
218
+<!-- INDENTATION -->
259
+<!-- INDENTATION -->
219
+<table width="100%" border=0 rules="none" frame="void"
260
+<table width="100%" border=0 rules="none" frame="void"
Lines 221-274 Link Here
221
+<tr valign="top" align="left">
262
+<tr valign="top" align="left">
222
+<td width="22%"></td>
263
+<td width="22%"></td>
223
+<td width="78%">
264
+<td width="78%">
224
+<p>Default: 250</p>
265
+<p>Default: 20</p>
225
+<!-- INDENTATION -->
266
+<!-- INDENTATION -->
226
+<p>ClamAVModule only: The maximum compression ration of
267
+<p>How long should the custom spam scanner take to run? If
227
+archives. This setting *cannot* be the filename of a
268
+it takes more seconds than this, then it should be
228
+ruleset, only a simple number.</p>
269
+considered to have crashed and should be killed. This stops
270
+denial&minus;of&minus;service attacks.</p>
229
+</td>
271
+</td>
230
+</table>
272
+</table>
231
 <a name="Removing/Logging dangerous or potentially offensive content"></a>
232
 <h2>Removing/Logging dangerous or potentially offensive content</h2>
233
 <!-- INDENTATION -->
234
@@ -1761,6 +1943,33 @@
235
 <tr valign="top" align="left">
236
 <td width="11%"></td>
237
 <td width="89%">
238
+<p><b>Phishing Safe Sites File</b></p></td>
239
+</table>
240
+<!-- INDENTATION -->
273
+<!-- INDENTATION -->
241
+<table width="100%" border=0 rules="none" frame="void"
274
+<table width="100%" border=0 rules="none" frame="void"
242
+       cols="2" cellspacing="0" cellpadding="0">
275
+       cols="2" cellspacing="0" cellpadding="0">
243
+<tr valign="top" align="left">
276
+<tr valign="top" align="left">
244
+<td width="22%"></td>
277
+<td width="11%"></td>
245
+<td width="78%">
278
+<td width="89%">
246
+<p>Default: %etc&minus;dir%/phishing.safe.sites.conf</p>
279
+<p><b>Max Custom Spam Scanner Timeouts</b></p></td>
247
+<!-- INDENTATION -->
248
+<p>There are some companies, such as banks, that insist on
249
+sending out email messages with links in them that are
250
+caught by the &quot;Find Phishing Fraud&quot; test described
251
+above. This is the name of a file which contains a list of
252
+link destinations which should be ignored in the test. This
253
+may, for example, contain the known websites of some banks.
254
+See the file itself for more information. This can only be
255
+the name of the file containing the list, it *cannot* be the
256
+filename of a ruleset.</p>
257
+</td>
258
+</table>
280
+</table>
259
+<!-- INDENTATION -->
281
+<!-- INDENTATION -->
260
+<table width="100%" border=0 rules="none" frame="void"
282
+<table width="100%" border=0 rules="none" frame="void"
261
+       cols="2" cellspacing="0" cellpadding="0">
283
+       cols="2" cellspacing="0" cellpadding="0">
262
+<tr valign="top" align="left">
284
+<tr valign="top" align="left">
263
+<td width="11%"></td>
285
+<td width="22%"></td>
264
+<td width="89%">
286
+<td width="78%">
265
 <p><b>Allow IFrame Tags</b></p></td>
287
+<p>Default: 10</p>
266
 </table>
288
+<!-- INDENTATION -->
267
 <!-- INDENTATION -->
289
+<p>If the Custom Spam Scanner times out more times in a row
268
@@ -5122,6 +5331,28 @@
290
+than this, then it will be marked as &quot;unavailable&quot;
269
 <p>Log all occurrences of &quot;Silent Viruses&quot; as
291
+until MailScanner next re&minus;starts itself.</p>
270
 defined above? This can only be a simple yes/no value, not a
271
 ruleset.</p>
272
+</td>
292
+</td>
273
+</table>
293
+</table>
274
+<!-- INDENTATION -->
294
+<!-- INDENTATION -->
Lines 277-283 Link Here
277
+<tr valign="top" align="left">
297
+<tr valign="top" align="left">
278
+<td width="11%"></td>
298
+<td width="11%"></td>
279
+<td width="89%">
299
+<td width="89%">
280
+<p><b>Log Dangerous HTML Tags</b></p></td>
300
+<p><b>Custom Spam Scanner Timeout History</b></p></td>
281
+</table>
301
+</table>
282
+<!-- INDENTATION -->
302
+<!-- INDENTATION -->
283
+<table width="100%" border=0 rules="none" frame="void"
303
+<table width="100%" border=0 rules="none" frame="void"
Lines 285-296 Link Here
285
+<tr valign="top" align="left">
305
+<tr valign="top" align="left">
286
+<td width="22%"></td>
306
+<td width="22%"></td>
287
+<td width="78%">
307
+<td width="78%">
288
+<p>Default: no<br>
308
+<p>Default: 20</p>
289
+Log all occurrences of HTML tags found in messages, that can
309
+<!-- INDENTATION -->
290
+be blocked. This will help you build up your whitelist of
310
+<p>The total number of Custom Spam Scanner attempts during
291
+message sources for which particular HTML tags should be
311
+which &quot;Max Custom Spam Scanner Timeouts&quot; will
292
+allowed, such as mail from newsletters and daily cartoon
312
+cause the Custom Spam Scanner to be marked as
293
+strips. This can also be the filename of a ruleset.</p>
313
+&quot;unavailable&quot;. See the previous comment for more
314
+information. The default values of 10 and 20 mean that 10
315
+timeouts in any sequence of 20 attempts will trigger the
316
+behaviour described above, until the next periodic restart
317
+(see &quot;Restart Every&quot;).</p>
294
 </td>
318
 </td>
295
 </table>
319
 </table>
296
 <a name="Advanced SpamAssassin Settings"></a>
320
 <a name="What to do with spam"></a>

Return to bug 85282