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

(-)/server-root/ports/mail/mailscanner-devel/Makefile (-6 / +5 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	MailScanner
8
PORTNAME=	MailScanner
9
PORTVERSION=	4.27.3
9
PORTVERSION=	4.28.1
10
PORTREVISION=	1
11
CATEGORIES=	mail
10
CATEGORIES=	mail
12
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/
13
PKGNAMESUFFIX=	-devel
12
PKGNAMESUFFIX=	-devel
Lines 25-32 Link Here
25
	${SITE_PERL}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools \
24
	${SITE_PERL}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools \
26
	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
25
	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
27
	${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
26
	${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
28
	${SITE_PERL}/Net/CIDR.pm:${PORTSDIR}/net-mgmt/p5-Net-CIDR
27
	${SITE_PERL}/Net/CIDR.pm:${PORTSDIR}/net-mgmt/p5-Net-CIDR \
29
28
	${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip
30
RUN_DEPENDS=	${BUILD_DEPENDS} \
29
RUN_DEPENDS=	${BUILD_DEPENDS} \
31
		${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash2 \
30
		${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash2 \
32
		${LOCALBASE}/bin/tnef:${PORTSDIR}/converters/tnef \
31
		${LOCALBASE}/bin/tnef:${PORTSDIR}/converters/tnef \
Lines 140-146 Link Here
140
	#
139
	#
141
	@${MKDIR} ${DATADIR}
140
	@${MKDIR} ${DATADIR}
142
	cd ${WRKSRC}/etc && ${FIND} reports -type d -exec \
141
	cd ${WRKSRC}/etc && ${FIND} reports -type d -exec \
143
		mkdir ${DATADIR}/{} \;
142
		${MKDIR} ${DATADIR}/{} \;
144
	cd ${WRKSRC}/etc && ${FIND} reports -type f ! -name "*.orig" -exec \
143
	cd ${WRKSRC}/etc && ${FIND} reports -type f ! -name "*.orig" -exec \
145
		${INSTALL_DATA} {} ${DATADIR}/{}.sample \;
144
		${INSTALL_DATA} {} ${DATADIR}/{}.sample \;
146
	${CHMOD} -R ${BINMODE} ${DATADIR}/reports
145
	${CHMOD} -R ${BINMODE} ${DATADIR}/reports
Lines 166-172 Link Here
166
	${INSTALL_DATA} ${FILESDIR}/README.FreeBSD.port ${DOCSDIR}
165
	${INSTALL_DATA} ${FILESDIR}/README.FreeBSD.port ${DOCSDIR}
167
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOC_FILES} ${DOCSDIR}
166
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOC_FILES} ${DOCSDIR}
168
	cd ${WRKSRC}/docs && \
167
	cd ${WRKSRC}/docs && \
169
		${FIND} * -type d -exec mkdir ${DOCSDIR}/{} \; && \
168
		${FIND} * -type d -exec ${MKDIR} ${DOCSDIR}/{} \; && \
170
		${FIND} * -type f ! -name "*.orig" -exec \
169
		${FIND} * -type f ! -name "*.orig" -exec \
171
			${INSTALL_DATA} {} ${DOCSDIR}/{} \;
170
			${INSTALL_DATA} {} ${DOCSDIR}/{} \;
172
.endif
171
.endif
(-)/server-root/ports/mail/mailscanner-devel/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (MailScanner-4.27.3-1.tar.gz) = 96bb1eecd50ab89493280cfb9f8b1a0f
1
MD5 (MailScanner-4.28.1-1.tar.gz) = 65ea5f2249bbd1d4dc3f9241f8dc655e
2
SIZE (MailScanner-4.27.3-1.tar.gz) = 957623
2
SIZE (MailScanner-4.28.1-1.tar.gz) = 988746
(-)/server-root/ports/mail/mailscanner-devel/files/patch-docs:man:MailScanner.8 (-9 / +4 lines)
Lines 1-13 Link Here
1
--- ../MailScanner-4.27.3.orig/docs/man/MailScanner.8	Fri Feb 13 11:29:03 2004
1
--- ../MailScanner-4.27.5.orig/docs/man/MailScanner.8	Thu Feb 26 15:25:49 2004
2
+++ docs/man/MailScanner.8	Fri Feb 13 12:56:31 2004
2
+++ docs/man/MailScanner.8	Thu Feb 26 15:27:36 2004
3
@@ -1,4 +1,4 @@
3
@@ -1,4 +1,4 @@
4
-.TH "MailScanner" "8" "4.26.6" "Julian Field" "Mail"
4
-.TH "MailScanner" "8" "4.27.4" "Julian Field" "Mail"
5
+.TH "MailScanner" "8" "4.27.3" "Julian Field" "Mail"
5
+.TH "MailScanner" "8" "4.28.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
9
@@ -100,4 +100,3 @@
10
 .SH "SEE ALSO"
11
 .LP 
12
 MailScanner.conf(5)
13
-)
(-)/server-root/ports/mail/mailscanner-devel/files/patch-docs:man:MailScanner.8.html (-9 lines)
Lines 1-9 Link Here
1
--- ../MailScanner-4.27.3.orig/docs/man/MailScanner.8.html	Fri Feb 13 11:29:03 2004
2
+++ docs/man/MailScanner.8.html	Fri Feb 13 12:56:31 2004
3
@@ -1,5 +1,5 @@
4
 <!-- Creator     : groff version 1.19 -->
5
-<!-- CreationDate: Mon Jan 26 16:29:48 2004 -->
6
+<!-- CreationDate: Fri Feb 13 12:56:03 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-devel/files/patch-docs:man:MailScanner.conf.5 (-30 / +4 lines)
Lines 1-34 Link Here
1
--- ../MailScanner-4.27.3.orig/docs/man/MailScanner.conf.5	Fri Feb 13 11:29:03 2004
1
--- ../MailScanner-4.27.5.orig/docs/man/MailScanner.conf.5	Thu Feb 26 15:25:49 2004
2
+++ docs/man/MailScanner.conf.5	Fri Feb 13 12:56:36 2004
2
+++ docs/man/MailScanner.conf.5	Thu Feb 26 15:27:43 2004
3
@@ -1,4 +1,4 @@
3
@@ -1,4 +1,4 @@
4
-.TH "MailScanner.conf" "5" "4.26.6" "Julian Field" "Mail"
4
-.TH "MailScanner.conf" "5" "4.27.4" "Julian Field" "Mail"
5
+.TH "MailScanner.conf" "5" "4.27.3" "Julian Field" "Mail"
5
+.TH "MailScanner.conf" "5" "4.28.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
@@ -1463,6 +1463,9 @@
10
 .br 
11
 "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.
12
 
13
+.br 
14
+"bounce" \- bounce the spam message. This option should not be used and must be enabled with the "Enable Spam Bounce" option first.
15
+
16
 .TP 
17
 \fBHigh Scoring Spam Actions\fR
18
 Default: deliver
19
@@ -1518,6 +1521,15 @@
20
 
21
 .br 
22
 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.
23
+
24
+.TP 
25
+\fBEnable Spam Bounce\fR
26
+Default: %rules\-dir%/bounce.rules
27
+.br 
28
+
29
+.br 
30
+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.
31
+
32
 
33
 .SH "System logging"
34
 .TP 
(-)/server-root/ports/mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5.html (-54 lines)
Lines 1-54 Link Here
1
--- ../MailScanner-4.27.3.orig/docs/man/MailScanner.conf.5.html	Fri Feb 13 11:29:03 2004
2
+++ docs/man/MailScanner.conf.5.html	Fri Feb 13 12:56:36 2004
3
@@ -1,5 +1,5 @@
4
 <!-- Creator     : groff version 1.19 -->
5
-<!-- CreationDate: Tue Jan 27 16:56:37 2004 -->
6
+<!-- CreationDate: Fri Feb 13 12:56:03 2004 -->
7
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
8
 "http://www.w3.org/TR/html4/loose.dtd">
9
 <html>
10
@@ -3890,6 +3890,10 @@
11
 message into an attachment of the message. This means the
12
 user has to take an extra step to open the spam, and stops
13
 &quot;web bugs&quot; very effectively.</p>
14
+<!-- INDENTATION -->
15
+<p>&quot;bounce&quot; &minus; bounce the spam message. This
16
+option should not be used and must be enabled with the
17
+&quot;Enable Spam Bounce&quot; option first.</p>
18
 </td>
19
 </table>
20
 <!-- INDENTATION -->
21
@@ -4044,6 +4048,33 @@
22
 Scoring Spam Action then this is the location of the
23
 notification message that is sent to the original recipients
24
 of the message.</p>
25
+</td>
26
+</table>
27
+<!-- INDENTATION -->
28
+<table width="100%" border=0 rules="none" frame="void"
29
+       cols="2" cellspacing="0" cellpadding="0">
30
+<tr valign="top" align="left">
31
+<td width="11%"></td>
32
+<td width="89%">
33
+<p><b>Enable Spam Bounce</b></p></td>
34
+</table>
35
+<!-- INDENTATION -->
36
+<table width="100%" border=0 rules="none" frame="void"
37
+       cols="2" cellspacing="0" cellpadding="0">
38
+<tr valign="top" align="left">
39
+<td width="22%"></td>
40
+<td width="78%">
41
+<p>Default: %rules&minus;dir%/bounce.rules</p>
42
+<!-- INDENTATION -->
43
+<p>You can use this ruleset to enable the &quot;bounce&quot;
44
+Spam Action. You must *only* enable this for mail from sites
45
+with which you have agreed to bounce possible spam. Use it
46
+on low&minus;scoring spam only (&lt;10) and only to your
47
+regular customers for use in the rare case that a message is
48
+mis&minus;tagged as spam when it shouldn&rsquo;t have been.
49
+Beware that many sites will automatically delete the bounce
50
+messages created by using this option unless you have agreed
51
+this with them in advance.</p>
52
 </td>
53
 </table>
54
 <a name="System logging"></a>
(-)/server-root/ports/mail/mailscanner-devel/files/patch-lib:clamav-wrapper (+12 lines)
Line 0 Link Here
1
--- ../MailScanner-4.27.5.orig/lib/clamav-wrapper	Thu Feb 26 15:25:51 2004
2
+++ lib/clamav-wrapper	Thu Feb 26 15:26:23 2004
3
@@ -51,6 +51,9 @@
4
 
5
 # You may want to check this script for bash-isms
6
 
7
+PATH=$PATH:/usr/local/bin
8
+export PATH
9
+
10
 TempDir="/tmp/clamav.$$"
11
 ClamUser="clamav"
12
 ClamGroup="clamav"
(-)/server-root/ports/mail/mailscanner-devel/pkg-plist (-23 / +26 lines)
Lines 50-55 Link Here
50
libexec/MailScanner/clamav-autoupdate.sample
50
libexec/MailScanner/clamav-autoupdate.sample
51
libexec/MailScanner/clamav-wrapper.sample
51
libexec/MailScanner/clamav-wrapper.sample
52
libexec/MailScanner/command-wrapper.sample
52
libexec/MailScanner/command-wrapper.sample
53
libexec/MailScanner/css-wrapper.sample
54
libexec/MailScanner/css-autoupdate.sample
53
libexec/MailScanner/drweb-wrapper.sample
55
libexec/MailScanner/drweb-wrapper.sample
54
libexec/MailScanner/etrust-autoupdate.sample
56
libexec/MailScanner/etrust-autoupdate.sample
55
libexec/MailScanner/etrust-wrapper.sample
57
libexec/MailScanner/etrust-wrapper.sample
Lines 77-105 Link Here
77
libexec/MailScanner/trend-autoupdate.sample
79
libexec/MailScanner/trend-autoupdate.sample
78
libexec/MailScanner/trend-wrapper.sample
80
libexec/MailScanner/trend-wrapper.sample
79
libexec/MailScanner/update_virus_scanners
81
libexec/MailScanner/update_virus_scanners
80
%%DATADIR%%/reports/cat/deleted.filename.message.txt.sample
82
%%DATADIR%%/reports/ca/deleted.filename.message.txt.sample
81
%%DATADIR%%/reports/cat/deleted.virus.message.txt.sample
83
%%DATADIR%%/reports/ca/deleted.virus.message.txt.sample
82
%%DATADIR%%/reports/cat/disinfected.report.txt.sample
84
%%DATADIR%%/reports/ca/disinfected.report.txt.sample
83
%%DATADIR%%/reports/cat/inline.sig.html.sample
85
%%DATADIR%%/reports/ca/inline.sig.html.sample
84
%%DATADIR%%/reports/cat/inline.sig.txt.sample
86
%%DATADIR%%/reports/ca/inline.sig.txt.sample
85
%%DATADIR%%/reports/cat/inline.spam.warning.txt.sample
87
%%DATADIR%%/reports/ca/inline.spam.warning.txt.sample
86
%%DATADIR%%/reports/cat/inline.warning.html.sample
88
%%DATADIR%%/reports/ca/inline.warning.html.sample
87
%%DATADIR%%/reports/cat/inline.warning.txt.sample
89
%%DATADIR%%/reports/ca/inline.warning.txt.sample
88
%%DATADIR%%/reports/cat/languages.conf.sample
90
%%DATADIR%%/reports/ca/languages.conf.sample
89
%%DATADIR%%/reports/cat/recipient.mcp.report.txt.sample
91
%%DATADIR%%/reports/ca/recipient.mcp.report.txt.sample
90
%%DATADIR%%/reports/cat/recipient.spam.report.txt.sample
92
%%DATADIR%%/reports/ca/recipient.spam.report.txt.sample
91
%%DATADIR%%/reports/cat/sender.error.report.txt.sample
93
%%DATADIR%%/reports/ca/sender.error.report.txt.sample
92
%%DATADIR%%/reports/cat/sender.filename.report.txt.sample
94
%%DATADIR%%/reports/ca/sender.filename.report.txt.sample
93
%%DATADIR%%/reports/cat/sender.spam.rbl.report.txt.sample
95
%%DATADIR%%/reports/ca/sender.spam.rbl.report.txt.sample
94
%%DATADIR%%/reports/cat/sender.spam.report.txt.sample
96
%%DATADIR%%/reports/ca/sender.spam.report.txt.sample
95
%%DATADIR%%/reports/cat/sender.spam.sa.report.txt.sample
97
%%DATADIR%%/reports/ca/sender.spam.sa.report.txt.sample
96
%%DATADIR%%/reports/cat/sender.virus.report.txt.sample
98
%%DATADIR%%/reports/ca/sender.virus.report.txt.sample
97
%%DATADIR%%/reports/cat/stored.filename.message.txt.sample
99
%%DATADIR%%/reports/ca/stored.filename.message.txt.sample
98
%%DATADIR%%/reports/cat/stored.virus.message.txt.sample
100
%%DATADIR%%/reports/ca/stored.virus.message.txt.sample
99
%%DATADIR%%/reports/cat/deleted.content.message.txt.sample
101
%%DATADIR%%/reports/ca/deleted.content.message.txt.sample
100
%%DATADIR%%/reports/cat/sender.content.report.txt.sample
102
%%DATADIR%%/reports/ca/sender.content.report.txt.sample
101
%%DATADIR%%/reports/cat/sender.mcp.report.txt.sample
103
%%DATADIR%%/reports/ca/sender.mcp.report.txt.sample
102
%%DATADIR%%/reports/cat/stored.content.message.txt.sample
104
%%DATADIR%%/reports/ca/stored.content.message.txt.sample
103
%%DATADIR%%/reports/cy+en/deleted.content.message.txt.sample
105
%%DATADIR%%/reports/cy+en/deleted.content.message.txt.sample
104
%%DATADIR%%/reports/cy+en/deleted.filename.message.txt.sample
106
%%DATADIR%%/reports/cy+en/deleted.filename.message.txt.sample
105
%%DATADIR%%/reports/cy+en/deleted.virus.message.txt.sample
107
%%DATADIR%%/reports/cy+en/deleted.virus.message.txt.sample
Lines 532-537 Link Here
532
@dirrm %%DATADIR%%/reports/de
534
@dirrm %%DATADIR%%/reports/de
533
@dirrm %%DATADIR%%/reports/cz
535
@dirrm %%DATADIR%%/reports/cz
534
@dirrm %%DATADIR%%/reports/cy+en
536
@dirrm %%DATADIR%%/reports/cy+en
537
@dirrm %%DATADIR%%/reports/ca
535
@dirrm %%DATADIR%%/reports/cat
538
@dirrm %%DATADIR%%/reports/cat
536
@dirrm %%DATADIR%%/reports
539
@dirrm %%DATADIR%%/reports
537
@dirrm %%DATADIR%%
540
@dirrm %%DATADIR%%

Return to bug 63633