[MAINTAINER] mail/MailScanner: update to 4.48.4

- Update to 4.48.4

PR:		ports/90296
Submitted by:	Jan-Peter Koopmann <j.koopmann@seceidos.de>
This commit is contained in:
Edwin Groothuis 2005-12-12 20:57:43 +00:00
parent 692ffc0876
commit e6cc6d53d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151048
7 changed files with 180 additions and 23 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= MailScanner
PORTVERSION= 4.46.2
PORTVERSION= 4.48.4
CATEGORIES= mail
MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL}
@ -233,6 +233,21 @@ do-install:
done
@${CAT} ${PKGMESSAGE}
.if !defined(NO_SPAMASSASSIN_SYMLINK)
post-install:
@if [ -d ${PREFIX}/etc/mail/spamassassin ]; then \
if [ ! -r ${PREFIX}/etc/mail/spamassassin/mailscanner.cf ]; then \
if [ ! -r ${PREFIX}/etc/MailScanner/spam.assassin.prefs.conf ]; then \
${CP} ${PREFIX}/etc/MailScanner/spam.assassin.prefs.conf.sample ${PREFIX}/etc/MailScanner/spam.assassin.prefs.conf; \
fi; \
${ECHO} ${LN} -s ${PREFIX}/etc/MailScanner/spam.assassin.prefs.conf ${PREFIX}/etc/mail/spamassassin/mailscanner.cf; \
${LN} -s ${PREFIX}/etc/MailScanner/spam.assassin.prefs.conf ${PREFIX}/etc/mail/spamassassin/mailscanner.cf; \
else \
${ECHO} "File ${PREFIX}/etc/mail/spamassassin/mailscanner.cf already exists!"; \
fi; \
fi
.endif
renew-wrapper: install
# Renew virus wrapper scripts
${INSTALL_SCRIPT} ${WRKSRC}/lib/*-wrapper ${PREFIX}/libexec/MailScanner

View file

@ -1,2 +1,2 @@
MD5 (MailScanner-install-4.46.2-2.tar.gz) = 71cc984d0b8588fbe8d10936bd240333
SIZE (MailScanner-install-4.46.2-2.tar.gz) = 5428009
MD5 (MailScanner-install-4.48.4-2.tar.gz) = d787daabb0a75f369bd1037256307909
SIZE (MailScanner-install-4.48.4-2.tar.gz) = 5434134

View file

@ -1,8 +1,8 @@
--- ../MailScanner-install-4.44.6.orig/docs/man/MailScanner.8 Mon Aug 22 16:18:05 2005
+++ docs/man/MailScanner.8 Mon Aug 22 16:18:20 2005
--- ../MailScanner-install-4.48.4.orig/docs/man/MailScanner.8 Wed Dec 7 18:33:04 2005
+++ docs/man/MailScanner.8 Wed Dec 7 18:33:48 2005
@@ -1,4 +1,4 @@
-.TH "MailScanner" "8" "4.42.9" "Julian Field" "Mail"
+.TH "MailScanner" "8" "4.44.6" "Julian Field" "Mail"
+.TH "MailScanner" "8" "4.45.1" "Julian Field" "Mail"
.SH "NAME"
.LP
MailScanner \- Virus/Spam Scanner for Sendmail, Exim and Postfix

View file

@ -1,9 +1,9 @@
--- ../MailScanner-install-4.44.6.orig/docs/man/MailScanner.8.html Mon Aug 22 16:18:05 2005
+++ docs/man/MailScanner.8.html Mon Aug 22 16:18:23 2005
--- ../MailScanner-install-4.48.4.orig/docs/man/MailScanner.8.html Wed Dec 7 18:33:04 2005
+++ docs/man/MailScanner.8.html Wed Dec 7 18:33:51 2005
@@ -1,5 +1,5 @@
<!-- Creator : groff version 1.19 -->
-<!-- CreationDate: Wed Jun 1 11:29:47 2005 -->
+<!-- CreationDate: Thu Aug 18 11:23:58 2005 -->
+<!-- CreationDate: Tue Dec 6 20:28:14 2005 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>

View file

@ -1,12 +1,12 @@
--- ../MailScanner-install-4.44.6.orig/docs/man/MailScanner.conf.5 Mon Aug 22 16:18:05 2005
+++ docs/man/MailScanner.conf.5 Mon Aug 22 16:18:27 2005
--- ../MailScanner-install-4.48.4.orig/docs/man/MailScanner.conf.5 Wed Dec 7 18:33:04 2005
+++ docs/man/MailScanner.conf.5 Wed Dec 7 18:33:54 2005
@@ -1,4 +1,4 @@
-.TH "MailScanner.conf" "5" "4.42.9" "Julian Field" "Mail"
+.TH "MailScanner.conf" "5" "4.44.6" "Julian Field" "Mail"
+.TH "MailScanner.conf" "5" "4.48.4" "Julian Field" "Mail"
.SH "NAME"
.LP
MailScanner.conf \- Main configuration for MailScanner
@@ -326,6 +326,16 @@
@@ -326,6 +326,23 @@
.br
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".
@ -19,11 +19,51 @@
+.br
+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.
+
+.TP
+\fBReject Messages\fR
+Default: no
+.br
+
+.br
+You may not want to receive mail from certain addresses and/or to certain addresses. If so, you can do this with your email transport (sendmail, Postfix, etc) but that will just send a one\-line message which is not helpful to the user sending the message. If this is set to yes, then the message set by the "Rejection Report" will be sent instead, and the incoming message will be deleted. If you want to store a copy of the original incoming message then use the "Archive Mail" setting to archive a copy of it. The purpose of this option is to set it to be a ruleset, so that you can reject messages from a few offending addresses where you need to send a polite reply instead of just a brief 1\-line rejection message.
+
.TP
\fBMaximum Attachments Per Message\fR
Default: 200
@@ -1701,12 +1711,64 @@
@@ -853,6 +870,15 @@
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.
.TP
+\fBQuarantine Modified Body\fR
+Default: no
+.br
+
+.br
+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.
+
+
+.TP
\fBQuarantine Whole Message\fR
Default: no
.br
@@ -885,6 +911,16 @@
.br
Set where to find all the strings used so they can be translated into your local language. This can also be the filename of a ruleset so you can produce different languages for different messages.
+
+.TP
+\fBRejection Report\fR
+Default: %reports\-dir%/rejection.report.txt
+.br
+
+.br
+Set where to find the message text sent to users who triggered the ruleset you are using with the "Reject Message" option.
+
+
.TP
\fBDeleted Bad Filename Message Report\fR
Default: %reports\-dir%/deleted.filename.message.txt
@@ -1701,12 +1737,64 @@
.br
.br
@ -55,16 +95,16 @@
+$Message \- a perl reference to the list of line of the message
+.RE
+.br
+
+
+.TP
+\fBMax Custom Spam Scanner Size\fR
+Default: 20000
+.br
+
+.br
+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
+\fBCustom Spam Scanner Timeout\fR
+Default: 20

View file

@ -1,9 +1,9 @@
--- ../MailScanner-install-4.44.6.orig/docs/man/MailScanner.conf.5.html Mon Aug 22 16:18:05 2005
+++ docs/man/MailScanner.conf.5.html Mon Aug 22 16:18:30 2005
--- ../MailScanner-install-4.48.4.orig/docs/man/MailScanner.conf.5.html Wed Dec 7 18:33:07 2005
+++ docs/man/MailScanner.conf.5.html Wed Dec 7 18:34:00 2005
@@ -1,5 +1,5 @@
<!-- Creator : groff version 1.19 -->
-<!-- CreationDate: Wed Jun 1 11:29:47 2005 -->
+<!-- CreationDate: Thu Aug 18 11:23:58 2005 -->
+<!-- CreationDate: Tue Dec 6 20:28:14 2005 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
@ -15,7 +15,7 @@
<a href="#What to do with spam">What to do with spam</a><br>
<a href="#System logging">System logging</a><br>
<a href="#Advanced SpamAssassin Settings">Advanced SpamAssassin Settings</a><br>
@@ -953,6 +954,30 @@
@@ -953,6 +954,61 @@
<tr valign="top" align="left">
<td width="11%"></td>
<td width="89%">
@ -42,11 +42,98 @@
+ cols="2" cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="89%">
+<p><b>Reject Messages</b></p></td>
+</table>
+<!-- INDENTATION -->
+<table width="100%" border=0 rules="none" frame="void"
+ cols="2" cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="22%"></td>
+<td width="78%">
+<p>Default: no</p>
+<!-- INDENTATION -->
+<p>You may not want to receive mail from certain addresses
+and/or to certain addresses. If so, you can do this with
+your email transport (sendmail, Postfix, etc) but that will
+just send a one&minus;line message which is not helpful to
+the user sending the message. If this is set to yes, then
+the message set by the &quot;Rejection Report&quot; will be
+sent instead, and the incoming message will be deleted. If
+you want to store a copy of the original incoming message
+then use the &quot;Archive Mail&quot; setting to archive a
+copy of it. The purpose of this option is to set it to be a
+ruleset, so that you can reject messages from a few
+offending addresses where you need to send a polite reply
+instead of just a brief 1&minus;line rejection message.</p>
+</td>
+</table>
+<!-- INDENTATION -->
+<table width="100%" border=0 rules="none" frame="void"
+ cols="2" cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="89%">
<p><b>Maximum Attachments Per Message</b></p></td>
</table>
<!-- INDENTATION -->
@@ -4909,10 +4934,239 @@
@@ -2523,6 +2579,27 @@
<tr valign="top" align="left">
<td width="11%"></td>
<td width="89%">
+<p><b>Quarantine Modified Body</b></p></td>
+</table>
+<!-- INDENTATION -->
+<table width="100%" border=0 rules="none" frame="void"
+ cols="2" cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="22%"></td>
+<td width="78%">
+<p>Default: no</p>
+<!-- INDENTATION -->
+<p>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.</p>
+</td>
+</table>
+<!-- INDENTATION -->
+<table width="100%" border=0 rules="none" frame="void"
+ cols="2" cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="89%">
<p><b>Quarantine Whole Message</b></p></td>
</table>
<!-- INDENTATION -->
@@ -2621,6 +2698,27 @@
<tr valign="top" align="left">
<td width="11%"></td>
<td width="89%">
+<p><b>Rejection Report</b></p></td>
+</table>
+<!-- INDENTATION -->
+<table width="100%" border=0 rules="none" frame="void"
+ cols="2" cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="22%"></td>
+<td width="78%">
+<p>Default: %reports&minus;dir%/rejection.report.txt</p>
+<!-- INDENTATION -->
+<p>Set where to find the message text sent to users who
+triggered the ruleset you are using with the &quot;Reject
+Message&quot; option.</p>
+</td>
+</table>
+<!-- INDENTATION -->
+<table width="100%" border=0 rules="none" frame="void"
+ cols="2" cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="89%">
<p><b>Deleted Bad Filename Message Report</b></p></td>
</table>
<!-- INDENTATION -->
@@ -4909,10 +5007,239 @@
<td width="78%">
<p>Default: no</p>
<!-- INDENTATION -->

View file

@ -97,6 +97,7 @@ libexec/MailScanner/trend-wrapper.sample
libexec/MailScanner/update_virus_scanners
libexec/MailScanner/vexira-autoupdate.sample
libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/ca/rejection.report.txt.sample
%%DATADIR%%/reports/ca/deleted.content.message.txt.sample
%%DATADIR%%/reports/ca/deleted.filename.message.txt.sample
%%DATADIR%%/reports/ca/deleted.virus.message.txt.sample
@ -134,6 +135,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/cy+en/recipient.mcp.report.txt.sample
%%DATADIR%%/reports/cy+en/recipient.spam.report.txt.sample
%%DATADIR%%/reports/cy+en/sender.content.report.txt.sample
%%DATADIR%%/reports/cy+en/rejection.report.txt.sample
%%DATADIR%%/reports/cy+en/sender.error.report.txt.sample
%%DATADIR%%/reports/cy+en/sender.filename.report.txt.sample
%%DATADIR%%/reports/cy+en/sender.mcp.report.txt.sample
@ -159,6 +161,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/cz/recipient.mcp.report.txt.sample
%%DATADIR%%/reports/cz/recipient.spam.report.txt.sample
%%DATADIR%%/reports/cz/sender.content.report.txt.sample
%%DATADIR%%/reports/cz/rejection.report.txt.sample
%%DATADIR%%/reports/cz/sender.error.report.txt.sample
%%DATADIR%%/reports/cz/sender.filename.report.txt.sample
%%DATADIR%%/reports/cz/sender.mcp.report.txt.sample
@ -183,6 +186,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/de/recipient.mcp.report.txt.sample
%%DATADIR%%/reports/de/recipient.spam.report.txt.sample
%%DATADIR%%/reports/de/sender.content.report.txt.sample
%%DATADIR%%/reports/de/rejection.report.txt.sample
%%DATADIR%%/reports/de/sender.error.report.txt.sample
%%DATADIR%%/reports/de/sender.filename.report.txt.sample
%%DATADIR%%/reports/de/sender.mcp.report.txt.sample
@ -206,6 +210,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/dk/recipient.mcp.report.txt.sample
%%DATADIR%%/reports/dk/recipient.spam.report.txt.sample
%%DATADIR%%/reports/dk/sender.content.report.txt.sample
%%DATADIR%%/reports/dk/rejection.report.txt.sample
%%DATADIR%%/reports/dk/sender.error.report.txt.sample
%%DATADIR%%/reports/dk/sender.filename.report.txt.sample
%%DATADIR%%/reports/dk/sender.mcp.report.txt.sample
@ -229,6 +234,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/en/recipient.mcp.report.txt.sample
%%DATADIR%%/reports/en/recipient.spam.report.txt.sample
%%DATADIR%%/reports/en/sender.content.report.txt.sample
%%DATADIR%%/reports/en/rejection.report.txt.sample
%%DATADIR%%/reports/en/sender.error.report.txt.sample
%%DATADIR%%/reports/en/sender.filename.report.txt.sample
%%DATADIR%%/reports/en/sender.mcp.report.txt.sample
@ -251,6 +257,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/es/languages.conf.sample
%%DATADIR%%/reports/es/recipient.mcp.report.txt.sample
%%DATADIR%%/reports/es/recipient.spam.report.txt.sample
%%DATADIR%%/reports/es/rejection.report.txt.sample
%%DATADIR%%/reports/es/sender.content.report.txt.sample
%%DATADIR%%/reports/es/sender.error.report.txt.sample
%%DATADIR%%/reports/es/sender.filename.report.txt.sample
@ -274,6 +281,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/fr/languages.conf.sample
%%DATADIR%%/reports/fr/recipient.mcp.report.txt.sample
%%DATADIR%%/reports/fr/recipient.spam.report.txt.sample
%%DATADIR%%/reports/fr/rejection.report.txt.sample
%%DATADIR%%/reports/fr/sender.content.report.txt.sample
%%DATADIR%%/reports/fr/sender.error.report.txt.sample
%%DATADIR%%/reports/fr/sender.filename.report.txt.sample
@ -297,6 +305,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/hu/languages.conf.sample
%%DATADIR%%/reports/hu/recipient.mcp.report.txt.sample
%%DATADIR%%/reports/hu/recipient.spam.report.txt.sample
%%DATADIR%%/reports/hu/rejection.report.txt.sample
%%DATADIR%%/reports/hu/sender.content.report.txt.sample
%%DATADIR%%/reports/hu/sender.error.report.txt.sample
%%DATADIR%%/reports/hu/sender.filename.report.txt.sample
@ -320,6 +329,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/it/languages.conf.sample
%%DATADIR%%/reports/it/recipient.mcp.report.txt.sample
%%DATADIR%%/reports/it/recipient.spam.report.txt.sample
%%DATADIR%%/reports/it/rejection.report.txt.sample
%%DATADIR%%/reports/it/sender.content.report.txt.sample
%%DATADIR%%/reports/it/sender.error.report.txt.sample
%%DATADIR%%/reports/it/sender.filename.report.txt.sample
@ -343,6 +353,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/nl/languages.conf.sample
%%DATADIR%%/reports/nl/recipient.mcp.report.txt.sample
%%DATADIR%%/reports/nl/recipient.spam.report.txt.sample
%%DATADIR%%/reports/nl/rejection.report.txt.sample
%%DATADIR%%/reports/nl/sender.content.report.txt.sample
%%DATADIR%%/reports/nl/sender.error.report.txt.sample
%%DATADIR%%/reports/nl/sender.filename.report.txt.sample
@ -366,6 +377,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/pt_br/languages.conf.sample
%%DATADIR%%/reports/pt_br/recipient.mcp.report.txt.sample
%%DATADIR%%/reports/pt_br/recipient.spam.report.txt.sample
%%DATADIR%%/reports/pt_br/rejection.report.txt.sample
%%DATADIR%%/reports/pt_br/sender.content.report.txt.sample
%%DATADIR%%/reports/pt_br/sender.error.report.txt.sample
%%DATADIR%%/reports/pt_br/sender.filename.report.txt.sample
@ -389,6 +401,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/ro/languages.conf.sample
%%DATADIR%%/reports/ro/recipient.mcp.report.txt.sample
%%DATADIR%%/reports/ro/recipient.spam.report.txt.sample
%%DATADIR%%/reports/ro/rejection.report.txt.sample
%%DATADIR%%/reports/ro/sender.content.report.txt.sample
%%DATADIR%%/reports/ro/sender.error.report.txt.sample
%%DATADIR%%/reports/ro/sender.filename.report.txt.sample
@ -413,6 +426,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/se/languages.conf.sample
%%DATADIR%%/reports/se/recipient.mcp.report.txt.sample
%%DATADIR%%/reports/se/recipient.spam.report.txt.sample
%%DATADIR%%/reports/se/rejection.report.txt.sample
%%DATADIR%%/reports/se/sender.content.report.txt.sample
%%DATADIR%%/reports/se/sender.error.report.txt.sample
%%DATADIR%%/reports/se/sender.filename.report.txt.sample
@ -436,6 +450,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/sk/languages.conf.sample
%%DATADIR%%/reports/sk/recipient.mcp.report.txt.sample
%%DATADIR%%/reports/sk/recipient.spam.report.txt.sample
%%DATADIR%%/reports/sk/rejection.report.txt.sample
%%DATADIR%%/reports/sk/sender.content.report.txt.sample
%%DATADIR%%/reports/sk/sender.error.report.txt.sample
%%DATADIR%%/reports/sk/sender.filename.report.txt.sample