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

(-)/server-root/ports/mail/mailscanner/Makefile (-4 / +6 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	MailScanner
8
PORTNAME=	MailScanner
9
PORTVERSION=	4.27.7
9
PORTVERSION=	4.28.5
10
CATEGORIES=	mail
10
CATEGORIES=	mail
11
MASTER_SITES=	http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
11
MASTER_SITES=	http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
12
DISTNAME=	MailScanner-${PORTVERSION}-${PATCHLEVEL}
12
DISTNAME=	MailScanner-${PORTVERSION}-${PATCHLEVEL}
Lines 23-29 Link Here
23
	${SITE_PERL}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools \
23
	${SITE_PERL}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools \
24
	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
24
	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
25
	${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
25
	${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
26
	${SITE_PERL}/Net/CIDR.pm:${PORTSDIR}/net-mgmt/p5-Net-CIDR 
26
	${SITE_PERL}/Net/CIDR.pm:${PORTSDIR}/net-mgmt/p5-Net-CIDR \
27
	${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
28
	${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
27
RUN_DEPENDS=	${BUILD_DEPENDS} \
29
RUN_DEPENDS=	${BUILD_DEPENDS} \
28
		${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash2 \
30
		${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash2 \
29
		${LOCALBASE}/bin/tnef:${PORTSDIR}/converters/tnef \
31
		${LOCALBASE}/bin/tnef:${PORTSDIR}/converters/tnef \
Lines 34-40 Link Here
34
36
35
USE_PERL5=	yes
37
USE_PERL5=	yes
36
38
37
PATCHLEVEL=	1
39
PATCHLEVEL=	2
38
WRKSRC=		${WRKDIR}/MailScanner-${PORTVERSION}
40
WRKSRC=		${WRKDIR}/MailScanner-${PORTVERSION}
39
PKGMESSAGE=	${WRKDIR}/pkg-message
41
PKGMESSAGE=	${WRKDIR}/pkg-message
40
42
Lines 105-111 Link Here
105
.endfor
107
.endfor
106
108
107
do-install:
109
do-install:
108
	# 
110
	#
109
	# Step 1: Install libexec files
111
	# Step 1: Install libexec files
110
	#
112
	#
111
	${MKDIR} ${PREFIX}/libexec/MailScanner
113
	${MKDIR} ${PREFIX}/libexec/MailScanner
(-)/server-root/ports/mail/mailscanner/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (MailScanner-4.27.7-1.tar.gz) = 587c0ac52b9ef2ba889c40d6fafdd05a
1
MD5 (MailScanner-4.28.5-2.tar.gz) = 5cb83fca38392efa76d3f73280525f46
2
SIZE (MailScanner-4.27.7-1.tar.gz) = 965165
2
SIZE (MailScanner-4.28.5-2.tar.gz) = 969966
(-)/server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.8 (-3 / +3 lines)
Lines 1-8 Link Here
1
--- ../MailScanner-4.27.7.orig/docs/man/MailScanner.8	Mon Mar  1 15:25:07 2004
1
--- ../MailScanner-4.28.5.orig/docs/man/MailScanner.8	Mon Mar  8 10:41:05 2004
2
+++ docs/man/MailScanner.8	Mon Mar  1 15:27:56 2004
2
+++ docs/man/MailScanner.8	Mon Mar  8 10:42:01 2004
3
@@ -1,4 +1,4 @@
3
@@ -1,4 +1,4 @@
4
-.TH "MailScanner" "8" "4.27.4" "Julian Field" "Mail"
4
-.TH "MailScanner" "8" "4.27.4" "Julian Field" "Mail"
5
+.TH "MailScanner" "8" "4.27.7" "Julian Field" "Mail"
5
+.TH "MailScanner" "8" "4.28.5" "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
(-)/server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.8.html (+9 lines)
Line 0 Link Here
1
--- ../MailScanner-4.28.5.orig/docs/man/MailScanner.8.html	Mon Mar  8 10:41:05 2004
2
+++ docs/man/MailScanner.8.html	Mon Mar  8 10:42:01 2004
3
@@ -1,5 +1,5 @@
4
 <!-- Creator     : groff version 1.19 -->
5
-<!-- CreationDate: Mon Feb 23 12:00:39 2004 -->
6
+<!-- CreationDate: Mon Mar  8 10:33:07 2004 -->
7
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
8
 "http://www.w3.org/TR/html4/loose.dtd">
9
 <html>
(-)/server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5 (-3 / +69 lines)
Lines 1-8 Link Here
1
--- ../MailScanner-4.27.7.orig/docs/man/MailScanner.conf.5	Mon Mar  1 15:25:07 2004
1
--- ../MailScanner-4.28.5.orig/docs/man/MailScanner.conf.5	Mon Mar  8 10:41:05 2004
2
+++ docs/man/MailScanner.conf.5	Mon Mar  1 15:28:04 2004
2
+++ docs/man/MailScanner.conf.5	Mon Mar  8 10:42:01 2004
3
@@ -1,4 +1,4 @@
3
@@ -1,4 +1,4 @@
4
-.TH "MailScanner.conf" "5" "4.27.4" "Julian Field" "Mail"
4
-.TH "MailScanner.conf" "5" "4.27.4" "Julian Field" "Mail"
5
+.TH "MailScanner.conf" "5" "4.27.7" "Julian Field" "Mail"
5
+.TH "MailScanner.conf" "5" "4.28.5" "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
@@ -383,6 +383,14 @@
10
 This is intended for use with a ruleset to ensure that mail is always encrypted before being sent. This could be used to ensure that mail to your business partners is sent securely. 
11
 
12
 .TP 
13
+\fBAllow Password\-Protected Archives\fR
14
+Default: no
15
+.br 
16
+
17
+.br 
18
+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.
19
+
20
+.TP 
21
 \fBMaximum Message Size\fR
22
 Default: 0
23
 .br 
24
@@ -397,6 +405,14 @@
25
 
26
 .br 
27
 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.
28
+
29
+.TP 
30
+\fBMaximum Archive Depth\fR
31
+Default: 3
32
+.br 
33
+
34
+.br 
35
+The maximum depth to which zip archives will be unpacked to allow for checking filenames and filetypes within zip archives. Setting this to 0 will disable filename/\-type checks within zip files while still allowing to block password protected zip files.
36
 .SH "Options specific to Sophos Anti-Virus"
37
 .TP 
38
 \fBAllowed Sophos Error Messages\fR
39
@@ -457,7 +473,7 @@
40
 .br 
41
 
42
 .br 
43
-Which Virus Scanning package to use. Possible choices are sophos, sophossavi, mcafee, command, kaspersky, kaspersky\-4.5, kavdaemonclient, inoculate, inoculan, onoculan, nod32, nod32\-1.99, f\-secure, f\-prot, panda, rav, antivir, clamav, clamavmodule, trend, bitdefender, none (no virus scanning at all)
44
+Which Virus Scanning package to use. Possible choices are sophos, sophossavi, mcafee, command, kaspersky, kaspersky\-4.5, kavdaemonclient, inoculate, inoculan, onoculan, nod32, nod32\-1.99, f\-secure, f\-prot, panda, rav, antivir, clamav, clamavmodule, css, trend, bitdefender, none (no virus scanning at all)
45
 .br 
46
 
47
 .br 
48
@@ -489,13 +505,15 @@
49
 .br 
50
 
51
 .br 
52
-Messages whose virus reports contain any of the words listed here will be treated as "silent" viruses. No messages will be sent back to the senders of these viruses, and the delivery to the recipient of the message can be controlled by the next option "Still Deliver Silent Viruses". This is primarily designed for viruses such as "Klez" and "Bugbear" which put fake addresses on messages they send, so there is no point informing the sender of the message, as it won't actually be them who sent it anyway. Other words that can be put in this list are the 3 special keywords
53
+Messages whose virus reports contain any of the words listed here will be treated as "silent" viruses. No messages will be sent back to the senders of these viruses, and the delivery to the recipient of the message can be controlled by the next option "Still Deliver Silent Viruses". This is primarily designed for viruses such as "Klez" and "Bugbear" which put fake addresses on messages they send, so there is no point informing the sender of the message, as it won't actually be them who sent it anyway. Other words that can be put in this list are the 5 special keywords
54
 .br 
55
 HTML\-IFrame: inserting this will stop senders being warned about HTML Iframe tags, when they are not allowed.
56
 .br 
57
 HTML\-Codebase: inserting this will stop senders being warned about HTML Object Codebase tags, when they are not allowed.
58
 .br 
59
-All\-Viruses: inserting this will stop senders being warned about any virus, while still allowing you to warn senders about HTML\-based attacks.
60
+Zip\-Password: inserting this will stop senders being warned about password\-protected zip files when they are not allowd. This keyword is not needed if you include All\-Viruses.
61
+.br 
62
+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.
63
 .br 
64
 
65
 .br 
66
@@ -517,7 +535,7 @@
67
 .br 
68
 
69
 .br 
70
-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.
71
+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, whey they are not allowed.
72
 
73
 .SH "Options specific to ClamAV Anti-Virus"
74
 .TP 
(-)/server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html (+117 lines)
Line 0 Link Here
1
--- ../MailScanner-4.28.5.orig/docs/man/MailScanner.conf.5.html	Mon Mar  8 10:41:05 2004
2
+++ docs/man/MailScanner.conf.5.html	Mon Mar  8 10:42:01 2004
3
@@ -1,5 +1,5 @@
4
 <!-- Creator     : groff version 1.19 -->
5
-<!-- CreationDate: Mon Feb 23 12:00:39 2004 -->
6
+<!-- CreationDate: Mon Mar  8 10:33:06 2004 -->
7
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
8
 "http://www.w3.org/TR/html4/loose.dtd">
9
 <html>
10
@@ -1048,6 +1048,29 @@
11
 <tr valign="top" align="left">
12
 <td width="11%"></td>
13
 <td width="89%">
14
+<p><b>Allow Password&minus;Protected Archives</b></p></td>
15
+</table>
16
+<!-- INDENTATION -->
17
+<table width="100%" border=0 rules="none" frame="void"
18
+       cols="2" cellspacing="0" cellpadding="0">
19
+<tr valign="top" align="left">
20
+<td width="22%"></td>
21
+<td width="78%">
22
+<p>Default: no</p>
23
+<!-- INDENTATION -->
24
+<p>Should archives which contain any
25
+password&minus;protected files be allowed? Leaving this set
26
+to &quot;no&quot; is a good way of protecting against all
27
+the protected zip files used by viruses at the moment. This
28
+can also be the filename of a ruleset.</p>
29
+</td>
30
+</table>
31
+<!-- INDENTATION -->
32
+<table width="100%" border=0 rules="none" frame="void"
33
+       cols="2" cellspacing="0" cellpadding="0">
34
+<tr valign="top" align="left">
35
+<td width="11%"></td>
36
+<td width="89%">
37
 <p><b>Maximum Message Size</b></p></td>
38
 </table>
39
 <!-- INDENTATION -->
40
@@ -1093,6 +1116,29 @@
41
 attachments.</p>
42
 </td>
43
 </table>
44
+<!-- INDENTATION -->
45
+<table width="100%" border=0 rules="none" frame="void"
46
+       cols="2" cellspacing="0" cellpadding="0">
47
+<tr valign="top" align="left">
48
+<td width="11%"></td>
49
+<td width="89%">
50
+<p><b>Maximum Archive Depth</b></p></td>
51
+</table>
52
+<!-- INDENTATION -->
53
+<table width="100%" border=0 rules="none" frame="void"
54
+       cols="2" cellspacing="0" cellpadding="0">
55
+<tr valign="top" align="left">
56
+<td width="22%"></td>
57
+<td width="78%">
58
+<p>Default: 3</p>
59
+<!-- INDENTATION -->
60
+<p>The maximum depth to which zip archives will be unpacked
61
+to allow for checking filenames and filetypes within zip
62
+archives. Setting this to 0 will disable
63
+filename/&minus;type checks within zip files while still
64
+allowing to block password protected zip files.</p>
65
+</td>
66
+</table>
67
 <a name="Options specific to Sophos Anti-Virus"></a>
68
 <h2>Options specific to Sophos Anti-Virus</h2>
69
 <!-- INDENTATION -->
70
@@ -1247,7 +1293,7 @@
71
 kaspersky&minus;4.5, kavdaemonclient, inoculate, inoculan,
72
 onoculan, nod32, nod32&minus;1.99, f&minus;secure,
73
 f&minus;prot, panda, rav, antivir, clamav, clamavmodule,
74
-trend, bitdefender, none (no virus scanning at all)</p>
75
+css, trend, bitdefender, none (no virus scanning at all)</p>
76
 <!-- INDENTATION -->
77
 <p>Note for McAfee users: Do NOT use any symlinks with
78
 McAfee at all. It is very strange but McAfee may not detect
79
@@ -1329,16 +1375,22 @@
80
 fake addresses on messages they send, so there is no point
81
 informing the sender of the message, as it won&rsquo;t
82
 actually be them who sent it anyway. Other words that can be
83
-put in this list are the 3 special keywords<br>
84
+put in this list are the 5 special keywords<br>
85
 HTML&minus;IFrame: inserting this will stop senders being
86
 warned about HTML Iframe tags, when they are not
87
 allowed.<br>
88
 HTML&minus;Codebase: inserting this will stop senders being
89
 warned about HTML Object Codebase tags, when they are not
90
 allowed.<br>
91
+Zip&minus;Password: inserting this will stop senders being
92
+warned about password&minus;protected zip files when they
93
+are not allowd. This keyword is not needed if you include
94
+All&minus;Viruses.<br>
95
 All&minus;Viruses: inserting this will stop senders being
96
 warned about any virus, while still allowing you to warn
97
-senders about HTML&minus;based attacks.</p>
98
+senders about HTML&minus;based attacks. This includes
99
+Zip&minus;Password so you don&rsquo;t need to include
100
+both.</p>
101
 <!-- INDENTATION -->
102
 <p>The default of &quot;All&minus;Viruses&quot; means that
103
 no senders of viruses will be notified (as the sender
104
@@ -1400,8 +1452,11 @@
105
 non&minus;forging status will override the silent status. In
106
 simple terms, you should list virus names (or parts of them)
107
 that you know do *not* forge the From address. A good
108
-example of this is a document macro virus or a Joke
109
-program.</p>
110
+example of this is a document macro virus or a Joke program.
111
+Another word that can be put in this list is the special
112
+keyword &quot;Zip&minus;.Password&quot;. Inserting this will
113
+cause senders to be warned about password&minus;protected
114
+zip files, whey they are not allowed.</p>
115
 </td>
116
 </table>
117
 <a name="Options specific to ClamAV Anti-Virus"></a>
(-)/server-root/ports/mail/mailscanner/pkg-plist (-1 lines)
Lines 534-540 Link Here
534
@dirrm %%DATADIR%%/reports/de
534
@dirrm %%DATADIR%%/reports/de
535
@dirrm %%DATADIR%%/reports/cz
535
@dirrm %%DATADIR%%/reports/cz
536
@dirrm %%DATADIR%%/reports/cy+en
536
@dirrm %%DATADIR%%/reports/cy+en
537
@dirrm %%DATADIR%%/reports/cat
538
@dirrm %%DATADIR%%/reports/ca
537
@dirrm %%DATADIR%%/reports/ca
539
@dirrm %%DATADIR%%/reports
538
@dirrm %%DATADIR%%/reports
540
@dirrm %%DATADIR%%
539
@dirrm %%DATADIR%%

Return to bug 63921