[MAINTAINER] mail/MailScanner-devel: update to 4.37.3

- Update to 4.37.3

    Change Log:
    * New Features and Improvements *
    - When stripping HTML messages to plain text, the contents of script and
      style tags are omitted.
    - Phishing net improved to ignore email addresses.
    - Now supports split sendmail queues where any incoming mqueue.in directory
      can have qf, df, xf, tf subdirectories, each containing the appropriate
      type of file for each message. This will greatly speed operation on big
      queues as the directories will be less than half the size of a combined
      queue directory.
    - New option "Keep Spam And MCP Archive Clean" which forces it to virus scan
      all spam that is quarantined. Any spam (or MCP messages) found to be virus-
      infected are removed from the quarantine, so you can safely let your users
      have access to the spam archive safe in the knowledge that they cannot get
      any viruses out of it.
      Note: This feature is disabled by default, as most people won't want the
	    performance hit of all the extra scanning, as they don't their users
	    access to the spam quarantine anyway.
    - Changed Postfix handling so that "Archive Mail" feature creates files
      with unique names so that re-used message-ids don't cause overwriting of
      older files in the same day with the same message-id.

    * Fixes *
    - Fixed sendmail and ZMailer problem where subject lines starting with a
      line-break were not tagged correctly.
    - Fixed minor problems with multi-line Subject: headers.
    - Fixed bugs with some MTAs when keeping spam archive clean.

PR:		ports/75128
Submitted by:	Jan-Peter Koopmann <j.koopmann@seceidos.de>
This commit is contained in:
Edwin Groothuis 2004-12-17 08:24:24 +00:00
parent 50d1cdb311
commit 483a586f40
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124283
8 changed files with 5793 additions and 61 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= MailScanner
PORTVERSION= 4.35.5
PORTVERSION= 4.37.3
CATEGORIES= mail
MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
PKGNAMESUFFIX= -devel
@ -71,7 +71,7 @@ USRLOCAL_FILES_LIB= \
rav-wrapper sophos-autoupdate
post-extract:
cd ${WRKSRC} && ${TAR} xzf perl-tar/MailScanner-${PORTVERSION}-${PATCHLEVEL}.tar.gz > /dev/null && ${MV} MailScanner-${PORTVERSION}/* .
cd ${WRKSRC} && ${TAR} xvzf perl-tar/MailScanner-${PORTVERSION}-${PATCHLEVEL}.tar.gz > /dev/null && ${MV} MailScanner-${PORTVERSION}/* .
do-build:
${PERL} -pi -e \
@ -210,6 +210,18 @@ do-install:
${ECHO} "Changes in MailScanner.conf found. Please look at \
${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION}" ; \
fi
# Upgrading langauages.conf... Please wait... ATTENTION: English version only!
@${WRKSRC}/bin/upgrade_languages_conf \
${DATADIR}/reports/en/languages.conf \
${DATADIR}/reports/en/languages.conf.sample > \
${DATADIR}/reports/en/languages.conf.new.${PORTVERSION} \
2> /dev/null
@if diff -b -B -q ${DATADIR}/reports/en/languages.conf \
${DATADIR}/reports/en/languages.conf.new.${PORTVERSION} ; \
then ${ECHO} "No changes in languages.conf found" ; \
${RM} ${DATADIR}/reports/en/languages.conf.new.${PORTVERSION} ; \
else ${CP} ${DATADIR}/reports/en/languages.conf.new.${PORTVERSION} ${DATADIR}/reports/en/languages.conf ; \
fi
.endif
@${SED} -e 's,%%PREFIX%%,${PREFIX},' pkg-message > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}

View File

@ -1,2 +1,2 @@
MD5 (MailScanner-install-4.35.5-1.tar.gz) = 11ee29729d98e315eb3a925cb407251c
SIZE (MailScanner-install-4.35.5-1.tar.gz) = 5266876
MD5 (MailScanner-install-4.37.3-1.tar.gz) = 27033636c42193a1f9dd3417d1533d16
SIZE (MailScanner-install-4.37.3-1.tar.gz) = 5628665

View File

@ -1,8 +1,8 @@
--- ../MailScanner-install-4.35.5.orig/docs/man/MailScanner.8 Fri Oct 22 08:13:43 2004
+++ docs/man/MailScanner.8 Fri Oct 22 08:13:55 2004
--- ../MailScanner-install-4.37.3.orig/docs/man/MailScanner.8 Wed Dec 15 21:17:17 2004
+++ docs/man/MailScanner.8 Wed Dec 15 21:29:54 2004
@@ -1,4 +1,4 @@
-.TH "MailScanner" "8" "4.34.8" "Julian Field" "Mail"
+.TH "MailScanner" "8" "4.35.5" "Julian Field" "Mail"
+.TH "MailScanner" "8" "4.37.3" "Julian Field" "Mail"
.SH "NAME"
.LP
MailScanner \- Virus/Spam Scanner for Sendmail, Exim and Postfix

View File

@ -1,9 +1,9 @@
--- ../MailScanner-install-4.35.5.orig/docs/man/MailScanner.8.html Fri Oct 22 08:13:44 2004
+++ docs/man/MailScanner.8.html Fri Oct 22 08:13:57 2004
--- ../MailScanner-install-4.37.3.orig/docs/man/MailScanner.8.html Wed Dec 15 21:17:17 2004
+++ docs/man/MailScanner.8.html Wed Dec 15 21:29:56 2004
@@ -1,5 +1,5 @@
<!-- Creator : groff version 1.19 -->
-<!-- CreationDate: Fri Oct 15 15:13:21 2004 -->
+<!-- CreationDate: Fri Oct 22 08:13:20 2004 -->
+<!-- CreationDate: Wed Dec 15 21:29:27 2004 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>

View File

@ -1,8 +1,8 @@
--- ../MailScanner-install-4.35.5.orig/docs/man/MailScanner.conf.5 Fri Oct 22 08:13:43 2004
+++ docs/man/MailScanner.conf.5 Fri Oct 22 08:14:01 2004
--- ../MailScanner-install-4.37.3.orig/docs/man/MailScanner.conf.5 Wed Dec 15 21:17:17 2004
+++ docs/man/MailScanner.conf.5 Wed Dec 15 21:30:00 2004
@@ -1,4 +1,4 @@
-.TH "MailScanner.conf" "5" "4.34.8" "Julian Field" "Mail"
+.TH "MailScanner.conf" "5" "4.35.5" "Julian Field" "Mail"
+.TH "MailScanner.conf" "5" "4.37.3" "Julian Field" "Mail"
.SH "NAME"
.LP
MailScanner.conf \- Main configuration for MailScanner
@ -15,7 +15,23 @@
.br
.br
@@ -1266,12 +1266,11 @@
@@ -781,6 +781,15 @@
When an entire message is saved in the quarantine for any reason, do you want to save it as the raw data files out of the mail queue (which can be processed with the df2mbox script, and which is easier to send to its original recipients), or do you want a conventional message file consisting of the header followed by the body of the message. If the previous option is switched off, then this will only affect archived mail and quarantined spam. If the previous option is on, then this also affects quarantined infections.
.TP
+\fBKeep Spam And MCP Archive Clean\fR
+Default: no
+.br
+
+.br
+Do you want to stop any virus\-infected spam getting into the spam or MCP archives? If you have a system where users can release messages from the spam or MCP archives, then you probably want to stop them being able to release any infected messages, so set this to yes. It is set to no by default as it causes a small hit in performance, and many people don't allow users to access the spam quarantine, so don't need it. This can also be the filename of a ruleset.
+
+
+.TP
\fBLanguage Strings\fR
Default: %reports\-dir%/languages.conf
.br
@@ -1266,12 +1275,11 @@
.TP
\fBAttachment Encoding Charset\fR
@ -30,7 +46,7 @@
.SH "Mail archiving and monitoring"
.TP
\fBArchive Mail\fR
@@ -1725,8 +1724,16 @@
@@ -1725,8 +1733,16 @@
.br
Log all the filenames that are allowed by the Filetype Rules, or just the filetypes that are denied? This can also be the filename of a ruleset.
@ -48,7 +64,7 @@
.TP
\fBSpamAssassin User State Dir\fR
@@ -1734,7 +1741,7 @@
@@ -1734,7 +1750,7 @@
.br
.br

View File

@ -31,6 +31,10 @@
to update your virus-wrappers, autoupdates, reports and
languages.conf
The english languages.conf is updated automatically. For all
other versions use the update_languages_conf tool found
in the work directory of this port.
Sophos users: Please take a look at the Sophos install
script %%PREFIX%%/share/doc/MailScanner/Sophos.install.freebsd

View File

@ -80,6 +80,7 @@ libexec/MailScanner/nod32-wrapper.sample
libexec/MailScanner/norman-autoupdate.sample
libexec/MailScanner/norman-wrapper.sample
libexec/MailScanner/panda-wrapper.sample
libexec/MailScanner/panda-autoupdate.sample
libexec/MailScanner/rav-autoupdate.sample
libexec/MailScanner/rav-wrapper.sample
libexec/MailScanner/sophos-autoupdate.sample
@ -451,6 +452,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%PORTDOCS%%%%DOCSDIR%%/Sophos.install.freebsd
%%PORTDOCS%%%%DOCSDIR%%/book.cover.gif
%%PORTDOCS%%%%DOCSDIR%%/building.txt
%%PORTDOCS%%%%DOCSDIR%%/docs.html
%%PORTDOCS%%%%DOCSDIR%%/donations.shtml
%%PORTDOCS%%%%DOCSDIR%%/downloadgraphs.shtml
%%PORTDOCS%%%%DOCSDIR%%/downloads.shtml
@ -522,9 +524,12 @@ libexec/MailScanner/vexira-wrapper.sample
%%PORTDOCS%%%%DOCSDIR%%/poetry.shtml
%%PORTDOCS%%%%DOCSDIR%%/poweredby.google.gif
%%PORTDOCS%%%%DOCSDIR%%/poweredby.transtec.gif
%%PORTDOCS%%%%DOCSDIR%%/phishing.html
%%PORTDOCS%%%%DOCSDIR%%/phishing.jpg
%%PORTDOCS%%%%DOCSDIR%%/phishing2.jpg
%%PORTDOCS%%%%DOCSDIR%%/pressreleases.html
%%PORTDOCS%%%%DOCSDIR%%/presentations.html
%%PORTDOCS%%%%DOCSDIR%%/press.html
%%PORTDOCS%%%%DOCSDIR%%/pressreleases.html
%%PORTDOCS%%%%DOCSDIR%%/qmail/qmail-queue.zip
%%PORTDOCS%%%%DOCSDIR%%/readme.shtml
%%PORTDOCS%%%%DOCSDIR%%/reject.html