Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jun 2005 12:10:57 +0200 (CEST)
From:      Jan-Peter Koopmann <j.koopmann@seceidos.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/81755: [MAINTAINER] mail/MailScanner: update to 4.42.9
Message-ID:  <200506011010.j51AAvxm032156@services.intern.seceidos.de>
Resent-Message-ID: <200506011020.j51AK1jN041894@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         81755
>Category:       ports
>Synopsis:       [MAINTAINER] mail/MailScanner: update to 4.42.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 01 10:20:00 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jan-Peter Koopmann
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD services.intern.seceidos.de 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Jan  5 10:56:46 CET
>Description:
- Update to 4.42.9

I included unzip,lha,unarj,zoo and unace in the ports requirements and patched the ClamAV wrapper 
so that all of these archives are scanned now.

* New Features and Improvements *
- Now automatically detects and warns if the "Incoming Work Directory"
  setting contains any links. It also corrects the path (but not in the
  MailScanner.conf file) and continues to work properly.
- Added support for Sophos 3.93.2. You must use the sophos-autoupdate from
  this version if you want Sophos to work (both the sophos and sophossavi
  scanner settings).
- Tar and RPM distribution installation scripts now look for gtar if GNU
  tar was not found, and is happy if /usr/local/bin/perl and /usr/bin/perl
  point to the same place.
- SophosSAVI errors are detected as if they were viruses, and are not
  ignored.
- Panda support completely reimplemented a lot better by Rick Cooper.
- Upgraded File::Temp, Compress::Zlib and ExtUtils-MakeMaker to latest
  releases.
- New options "Disarmed Modify Subject" and "Disarmed Subject Text" now
  provide the ability to alter the Subject: line if any HTML tags in the
  body of the message were disarmed (by having their "Allow .... Tags" set
  to "disarm". This is switched on by default.
- New option "Spam Lists To Be Spam" now provides the ability to set how
  many Spam Lists a message must appear in before it is considered to be
  spam. The default is 1 as that mimics the previous behaviour.
- Improved output of SuSE MailScanner init.d script.
- Reversed spam and disarm tags to leave spam tag at start of Subject:.


* Fixes*
- Fixed problem that could cause harmless header files to be left in the
  temporary working directories when using Postfix.
- Fixed problem where attachment size checks were made on the contents of
  zip files and not just the zip files themselves.
- Hopefully fixed problem with ClamAV missing Worm.Sober.P occasionally.
- No longer import missing whine method from MIME-tools.
- Fixed problems with incomplete reporting of viruses in zip files.
- Fixed problem with "Delete" MCP action not being logged in syslog.
- Fixed problem with the "null MIME boundary" vulnerability test.
- Added check to upgrade_MailScanner_conf and upgrade_langages_conf so they
  check to ensure all input files have content before starting.
- Fixed bug where clean header was being applied to unscanned mail when using
  virus scanning rulesets.
- Fixed wrong build number for 1 Perl module in install.sh scripts.
- Fixed typo in upgrade_MailScanner_conf.
- Made significant changes to child worker process management and re-spawning,
  to try to avoid problems reported by a few users with MailScanner "slowly
  stopping working" over the space of several hours.


Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- MailScanner-4.42.9.patch begins here ---
diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/Makefile /server-root/ports/mail/mailscanner/Makefile
--- /server-root/ports/mail/mailscanner.orig/Makefile	Tue May 10 19:26:44 2005
+++ /server-root/ports/mail/mailscanner/Makefile	Wed Jun  1 11:36:00 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	MailScanner
-PORTVERSION=	4.41.3
+PORTVERSION=	4.42.9
 CATEGORIES=	mail
 MASTER_SITES=	http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
 DISTNAME=	${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL}
@@ -31,7 +31,11 @@
 		${LOCALBASE}/bin/tnef:${PORTSDIR}/converters/tnef \
 		${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget \
 		${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip \
-		${LOCALBASE}/bin/unrar:${PORTSDIR}/archivers/unrar
+		${LOCALBASE}/bin/unrar:${PORTSDIR}/archivers/unrar \
+		${LOCALBASE}/bin/zoo:${PORTSDIR}/archivers/zoo \
+		${LOCALBASE}/bin/unarj:${PORTSDIR}/archivers/unarj \
+		${LOCALBASE}/bin/unace:${PORTSDIR}/archivers/unace \
+		${LOCALBASE}/bin/lha:${PORTSDIR}/archivers/lha 
 
 CONFLICTS=	MailScanner-devel-[0-9]*
 
diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/distinfo /server-root/ports/mail/mailscanner/distinfo
--- /server-root/ports/mail/mailscanner.orig/distinfo	Tue May 10 19:26:44 2005
+++ /server-root/ports/mail/mailscanner/distinfo	Wed Jun  1 11:23:58 2005
@@ -1,2 +1,2 @@
-MD5 (MailScanner-install-4.41.3-1.tar.gz) = 6df068ec74fb07bd1d166c1ad5e69cd6
-SIZE (MailScanner-install-4.41.3-1.tar.gz) = 4925560
+MD5 (MailScanner-install-4.42.9-1.tar.gz) = 893eda4833586b61b5b78af95d0f2f0d
+SIZE (MailScanner-install-4.42.9-1.tar.gz) = 4775108
diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.8 /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.8
--- /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.8	Tue May 10 19:26:44 2005
+++ /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.8	Wed Jun  1 11:32:17 2005
@@ -1,8 +1,8 @@
---- ../MailScanner-install-4.40.10.old/docs/man/MailScanner.8	Fri Apr  1 16:10:19 2005
-+++ docs/man/MailScanner.8	Fri Apr  1 16:10:33 2005
+--- ../MailScanner-install-4.42.9.orig/docs/man/MailScanner.8	Wed Jun  1 11:24:25 2005
++++ docs/man/MailScanner.8	Wed Jun  1 11:30:08 2005
 @@ -1,4 +1,4 @@
 -.TH "MailScanner" "8" "4.38.2" "Julian Field" "Mail"
-+.TH "MailScanner" "8" "4.41.3" "Julian Field" "Mail"
++.TH "MailScanner" "8" "4.42.9" "Julian Field" "Mail"
  .SH "NAME"
  .LP 
  MailScanner \- Virus/Spam Scanner for Sendmail, Exim and Postfix
diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.8.html /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.8.html
--- /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.8.html	Wed Apr 13 16:42:01 2005
+++ /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.8.html	Wed Jun  1 11:32:17 2005
@@ -1,9 +1,9 @@
---- ../MailScanner-install-4.40.10.old/docs/man/MailScanner.8.html	Fri Apr  1 16:10:19 2005
-+++ docs/man/MailScanner.8.html	Fri Apr  1 16:10:35 2005
+--- ../MailScanner-install-4.42.9.orig/docs/man/MailScanner.8.html	Wed Jun  1 11:24:25 2005
++++ docs/man/MailScanner.8.html	Wed Jun  1 11:30:10 2005
 @@ -1,5 +1,5 @@
  <!-- Creator     : groff version 1.19 -->
 -<!-- CreationDate: Mon Jan 17 15:53:41 2005 -->
-+<!-- CreationDate: Fri Apr  1 16:08:30 2005 -->
++<!-- CreationDate: Wed Jun  1 11:29:47 2005 -->
  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">;
  <html>
diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.conf.5 /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5
--- /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.conf.5	Tue May 10 19:26:44 2005
+++ /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5	Wed Jun  1 11:32:17 2005
@@ -1,8 +1,8 @@
---- ../MailScanner-install-4.40.10.old/docs/man/MailScanner.conf.5	Fri Apr  1 16:10:19 2005
-+++ docs/man/MailScanner.conf.5	Fri Apr  1 16:10:37 2005
+--- ../MailScanner-install-4.42.9.orig/docs/man/MailScanner.conf.5	Wed Jun  1 11:24:25 2005
++++ docs/man/MailScanner.conf.5	Wed Jun  1 11:30:13 2005
 @@ -1,4 +1,4 @@
 -.TH "MailScanner.conf" "5" "4.38.2" "Julian Field" "Mail"
-+.TH "MailScanner.conf" "5" "4.41.3" "Julian Field" "Mail"
++.TH "MailScanner.conf" "5" "4.42.9" "Julian Field" "Mail"
  .SH "NAME"
  .LP 
  MailScanner.conf \- Main configuration for MailScanner
@@ -122,7 +122,47 @@
  \fBAllow IFrame Tags\fR
  Default: no
  .br 
-@@ -1753,6 +1832,12 @@
+@@ -1233,6 +1312,23 @@
+ .br 
+ This is the text inserted at the start of the "Subject:" line if the "Content Modify Subject" option is set. 
+ 
++.TP 
++\fBDisarmed Modify Subject\fR
++Default: yes
++.br 
++
++.br 
++If HTML tags in the message were "disarmed" by using the HTML "Allow" options above with the "disarm" settings, do you want to modify the subject line? This can also be the filename of a ruleset.
++
++
++.TP 
++\fBDisarmed Subject Text\fR
++Default: {Disarmed}
++.br 
++
++.br 
++This is the text to add to the start of the subject if the "Disarmed Modify Subject" option is set. This can also be the filename of a ruleset.
++
+ 
+ .TP 
+ \fBSpam Modify Subject\fR
+@@ -1415,6 +1511,15 @@
+ This provides a space\-separated list of "Spam Lists" (or RBL's or DNSBL's) which are checked for each message. These lists are based on the domain name of the sender address of each message. Every list used here must be defined in the "Spam List Definitions" file mentioned above. 
+ 
+ .TP 
++\fBSpam Lists To Be Spam\fR
++Default: 1
++.br 
++
++.br 
++If a message appears in at least this number of "Spam Lists" (as defined above), then the message will be treated as spam and so the "Spam Actions" will happen, unless the message reaches the levels for "High Scoring Spam". By default this is set to 1 to mimic the previous behaviour, which means that appearing in any "Spam Lists" will cause the message to be treated as spam. This can also be the filename of a ruleset.
++
++
++.TP 
+ \fBSpam Lists To Reach High Score\fR
+ Default: 5
+ .br 
+@@ -1753,6 +1858,12 @@
  
  .br 
  Log all occurrences of "Silent Viruses" as defined above? This can only be a simple yes/no value, not a ruleset.
diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.conf.5.html /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html
--- /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.conf.5.html	Wed Apr 13 16:42:01 2005
+++ /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html	Wed Jun  1 11:32:17 2005
@@ -1,9 +1,9 @@
---- ../MailScanner-install-4.40.10.old/docs/man/MailScanner.conf.5.html	Fri Apr  1 16:10:19 2005
-+++ docs/man/MailScanner.conf.5.html	Fri Apr  1 16:10:40 2005
+--- ../MailScanner-install-4.42.9.orig/docs/man/MailScanner.conf.5.html	Wed Jun  1 11:24:25 2005
++++ docs/man/MailScanner.conf.5.html	Wed Jun  1 11:30:17 2005
 @@ -1,5 +1,5 @@
  <!-- Creator     : groff version 1.19 -->
 -<!-- CreationDate: Mon Jan 17 15:53:41 2005 -->
-+<!-- CreationDate: Fri Apr  1 16:08:30 2005 -->
++<!-- CreationDate: Wed Jun  1 11:29:47 2005 -->
  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">;
  <html>
@@ -265,7 +265,92 @@
  <p><b>Allow IFrame Tags</b></p></td>
  </table>
  <!-- INDENTATION -->
-@@ -5122,6 +5331,28 @@
+@@ -3617,6 +3826,50 @@
+ <tr valign="top" align="left">
+ <td width="11%"></td>
+ <td width="89%">
++<p><b>Disarmed Modify Subject</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: yes</p>
++<!-- INDENTATION -->
++<p>If HTML tags in the message were &quot;disarmed&quot; by
++using the HTML &quot;Allow&quot; options above with the
++&quot;disarm&quot; settings, do you want to modify the
++subject line? 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>Disarmed Subject Text</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: {Disarmed}</p>
++<!-- INDENTATION -->
++<p>This is the text to add to the start of the subject if
++the &quot;Disarmed Modify Subject&quot; option is set. 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>Spam Modify Subject</b></p></td>
+ </table>
+ <!-- INDENTATION -->
+@@ -4118,6 +4371,33 @@
+ <tr valign="top" align="left">
+ <td width="11%"></td>
+ <td width="89%">
++<p><b>Spam Lists To Be Spam</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: 1</p>
++<!-- INDENTATION -->
++<p>If a message appears in at least this number of
++&quot;Spam Lists&quot; (as defined above), then the message
++will be treated as spam and so the &quot;Spam Actions&quot;
++will happen, unless the message reaches the levels for
++&quot;High Scoring Spam&quot;. By default this is set to 1
++to mimic the previous behaviour, which means that appearing
++in any &quot;Spam Lists&quot; will cause the message to be
++treated as spam. 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>Spam Lists To Reach High Score</b></p></td>
+ </table>
+ <!-- INDENTATION -->
+@@ -5122,6 +5402,28 @@
  <p>Log all occurrences of &quot;Silent Viruses&quot; as
  defined above? This can only be a simple yes/no value, not a
  ruleset.</p>
diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/files/patch-lib:clamav-wrapper /server-root/ports/mail/mailscanner/files/patch-lib:clamav-wrapper
--- /server-root/ports/mail/mailscanner.orig/files/patch-lib:clamav-wrapper	Sun Aug  8 19:16:18 2004
+++ /server-root/ports/mail/mailscanner/files/patch-lib:clamav-wrapper	Wed Jun  1 11:32:17 2005
@@ -1,7 +1,5 @@
-$FreeBSD: ports/mail/mailscanner/files/patch-lib:clamav-wrapper,v 1.4 2004/08/08 17:16:18 sem Exp $
-
---- ../MailScanner-4.27.5.orig/lib/clamav-wrapper	Thu Feb 26 15:25:51 2004
-+++ lib/clamav-wrapper	Thu Feb 26 15:26:23 2004
+--- ../MailScanner-install-4.42.9.orig/lib/clamav-wrapper	Wed Jun  1 11:24:25 2005
++++ lib/clamav-wrapper	Wed Jun  1 11:31:57 2005
 @@ -51,6 +51,9 @@
  
  # You may want to check this script for bash-isms
@@ -12,3 +10,32 @@
  TempDir="/tmp/clamav.$$"
  ClamUser="clamav"
  ClamGroup="clamav"
+@@ -98,23 +101,23 @@
+ # LESS COMMON unpackers, which probably aren't installed by default
+ # (hence disabled)
+ # Uncomment ONE of the following lines if you have unrar installed
+-#ExtraScanOptions="$ExtraScanOptions --unrar"  
++ExtraScanOptions="$ExtraScanOptions --unrar"  
+ #ExtraScanOptions="$ExtraScanOptions --unrar=/path/to/unrar" 
+ 
+ # Uncomment ONE of the following lines if you have unarj installed
+-#ExtraScanOptions="$ExtraScanOptions --unarj"  
++ExtraScanOptions="$ExtraScanOptions --unarj"  
+ #ExtraScanOptions="$ExtraScanOptions --unarj=/path/to/unarj" 
+ 
+ # Uncomment ONE of the following lines if you have unace installed
+-#ExtraScanOptions="$ExtraScanOptions --unace"  
++ExtraScanOptions="$ExtraScanOptions --unace"  
+ #ExtraScanOptions="$ExtraScanOptions --unace=/path/to/unace" 
+ 
+ # Uncomment ONE of the following lines if you have lha installed
+-#ExtraScanOptions="$ExtraScanOptions --lha"  
++ExtraScanOptions="$ExtraScanOptions --lha"  
+ #ExtraScanOptions="$ExtraScanOptions --lha=/path/to/lha" 
+ 
+ # Uncomment ONE of the following lines if you have zoo installed
+-#ExtraScanOptions="$ExtraScanOptions --zoo"  
++ExtraScanOptions="$ExtraScanOptions --zoo"  
+ #ExtraScanOptions="$ExtraScanOptions --zoo=/path/to/unzoo" 
+ 
+ # Uncomment next line if you need to disable Clam's DoS protection
--- MailScanner-4.42.9.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506011010.j51AAvxm032156>