- Update to 4.44.6

* New Features and Improvements *
- Published new version of the book, but advise you don't purchase until
  3rd week of August so I get to check a copy off the press first.
- Optimised situation where spam archive is being kept clean but many
  messages are being deleted. Thanks to yavor.trapkov@wipe.int for that.
- Improved logging to show what sort of HTML tags have been disarmed.
- Added "Scan Messages" option (intended to be a ruleset) which is an
  easy way of disabling all scanning and processing of messages. Great
  for customers who don't want scanning of any sort on their messages.
- More phishing net improvements and additions to the safe sites list.

* Fixes *
- Resolved dependency problems by "tweaking" /usr/lib/rpm/perl.req to
  produce no output.
- Added more Postfix temporarily-invalid-message checks.
  This is working perfectly reliably now.
- Added disk full checks for MailScanner/incoming space.
- Added missing object instantiate in the generic spam scanner.
- Fixed reporting and scoring bugs in Custom Spam Scanner.
- Made Postfix hash depth measurement more tolerant of stray files such
  as Razor logs appearing in the hold queue directories.
- Delete temporary TNEF files created by internal TNEF decoder/expander.
- Removed stray tar.gz files from tar distribution that shouldn't be there.

PR:		ports/85218
Submitted by:	maintainer
This commit is contained in:
Renato Botelho 2005-08-31 13:19:02 +00:00
parent bbd1ef13c8
commit 885c805aa0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141580
7 changed files with 81 additions and 26 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= MailScanner
PORTVERSION= 4.43.8
PORTVERSION= 4.44.6
CATEGORIES= mail
MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL}
@ -41,7 +41,7 @@ RUN_DEPENDS= ${BUILD_DEPENDS} \
CONFLICTS= MailScanner-devel-[0-9]*
PATCHLEVEL= 1
PATCHLEVEL= 2
USE_PERL5= yes
@ -154,10 +154,11 @@ do-install:
# Step 3: Install files in share
#
@${MKDIR} ${DATADIR}
cd ${WRKSRC}/etc && ${FIND} reports -type d -exec \
cd ${WRKSRC}/etc && ${FIND} reports -type d ! -name "*.old" -exec \
${MKDIR} ${DATADIR}/{} \;
cd ${WRKSRC}/etc && ${FIND} reports -type f ! -name "*.orig" -exec \
${INSTALL_DATA} {} ${DATADIR}/{}.sample \;
# cd ${WRKSRC}/etc && ${FIND} reports -type f ! -name "*.orig" -exec ...
cd ${WRKSRC}/etc && ${FIND} reports \( -type d -name "*.old" -prune \) \
-o \( -type f ! -name "*.orig" -exec ${INSTALL_DATA} {} ${DATADIR}/{}.sample \; \)
${CHMOD} -R ${BINMODE} ${DATADIR}/reports
#
# Step 4: Install lib

View File

@ -1,2 +1,2 @@
MD5 (MailScanner-install-4.43.8-1.tar.gz) = 274cab190e703851716a3bd4d3d7f58f
SIZE (MailScanner-install-4.43.8-1.tar.gz) = 4791190
MD5 (MailScanner-install-4.44.6-2.tar.gz) = 4bc41d36aeee9642625bbcaeb89f1174
SIZE (MailScanner-install-4.44.6-2.tar.gz) = 5346146

View File

@ -1,8 +1,8 @@
--- ../MailScanner-install-4.43.8.orig/docs/man/MailScanner.8 Fri Jul 8 14:17:05 2005
+++ docs/man/MailScanner.8 Fri Jul 8 14:17:28 2005
--- ../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
@@ -1,4 +1,4 @@
-.TH "MailScanner" "8" "4.42.9" "Julian Field" "Mail"
+.TH "MailScanner" "8" "4.43.8" "Julian Field" "Mail"
+.TH "MailScanner" "8" "4.44.6" "Julian Field" "Mail"
.SH "NAME"
.LP
MailScanner \- Virus/Spam Scanner for Sendmail, Exim and Postfix

View File

@ -1,9 +1,9 @@
--- ../MailScanner-install-4.43.8.orig/docs/man/MailScanner.8.html Fri Jul 8 14:17:05 2005
+++ docs/man/MailScanner.8.html Fri Jul 8 14:17:30 2005
--- ../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
@@ -1,5 +1,5 @@
<!-- Creator : groff version 1.19 -->
-<!-- CreationDate: Wed Jun 1 11:29:47 2005 -->
+<!-- CreationDate: Fri Jul 8 14:16:24 2005 -->
+<!-- CreationDate: Thu Aug 18 11:23:58 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,29 @@
--- ../MailScanner-install-4.43.8.orig/docs/man/MailScanner.conf.5 Fri Jul 8 14:17:05 2005
+++ docs/man/MailScanner.conf.5 Fri Jul 8 14:17:23 2005
--- ../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
@@ -1,4 +1,4 @@
-.TH "MailScanner.conf" "5" "4.42.9" "Julian Field" "Mail"
+.TH "MailScanner.conf" "5" "4.43.8" "Julian Field" "Mail"
+.TH "MailScanner.conf" "5" "4.44.6" "Julian Field" "Mail"
.SH "NAME"
.LP
MailScanner.conf \- Main configuration for MailScanner
@@ -1701,12 +1701,64 @@
@@ -326,6 +326,16 @@
.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".
+
+.TP
+\fBScan Messages\fR
+Default: yes
+.br
+
+.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
\fBMaximum Attachments Per Message\fR
Default: 200
@@ -1701,12 +1711,64 @@
.br
.br
@ -15,8 +32,8 @@
-# disable SpamAssassin checks until it has completed.
-WaitDuringBayesRebuild = no
+The Bayesian database rebuild and expiry may take a 2 or 3 minutes to complete. During this time you can either wait, or simply disable SpamAssassin checks until it has completed.
+
+
+
+.SH "Custom Spam Scanner Plugin"
+.TP
@ -38,8 +55,8 @@
+$Message \- a perl reference to the list of line of the message
+.RE
+.br
+
+
+.TP
+\fBMax Custom Spam Scanner Size\fR
+Default: 20000

View File

@ -1,9 +1,9 @@
--- ../MailScanner-install-4.43.8.orig/docs/man/MailScanner.conf.5.html Fri Jul 8 14:17:05 2005
+++ docs/man/MailScanner.conf.5.html Fri Jul 8 14:17:25 2005
--- ../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
@@ -1,5 +1,5 @@
<!-- Creator : groff version 1.19 -->
-<!-- CreationDate: Wed Jun 1 11:29:47 2005 -->
+<!-- CreationDate: Fri Jul 8 14:16:24 2005 -->
+<!-- CreationDate: Thu Aug 18 11:23:58 2005 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
@ -15,7 +15,38 @@
<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>
@@ -4909,10 +4910,239 @@
@@ -953,6 +954,30 @@
<tr valign="top" align="left">
<td width="11%"></td>
<td width="89%">
+<p><b>Scan 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: yes</p>
+<!-- INDENTATION -->
+<p>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.</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 @@
<td width="78%">
<p>Default: no</p>
<!-- INDENTATION -->

View File

@ -144,10 +144,12 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/cy+en/stored.content.message.txt.sample
%%DATADIR%%/reports/cy+en/stored.filename.message.txt.sample
%%DATADIR%%/reports/cy+en/stored.virus.message.txt.sample
%%DATADIR%%/reports/cz.tar.gz.sample
%%DATADIR%%/reports/cz/deleted.content.message.txt.sample
%%DATADIR%%/reports/cz/deleted.filename.message.txt.sample
%%DATADIR%%/reports/cz/deleted.virus.message.txt.sample
%%DATADIR%%/reports/cz/disinfected.report.txt.sample
%%DATADIR%%/reports/cz/filename.rules.txt.sample
%%DATADIR%%/reports/cz/inline.sig.html.sample
%%DATADIR%%/reports/cz/inline.sig.txt.sample
%%DATADIR%%/reports/cz/inline.spam.warning.txt.sample
@ -445,6 +447,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%DATADIR%%/reports/sk/stored.content.message.txt.sample
%%DATADIR%%/reports/sk/stored.filename.message.txt.sample
%%DATADIR%%/reports/sk/stored.virus.message.txt.sample
%%PORTDOCS%%%%DOCSDIR%%/Book.Dec04-Aug05.pdf
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/FreeBSD.html
@ -475,6 +478,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%PORTDOCS%%%%DOCSDIR%%/images/thumb_JulianField5.jpg
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/index.new.html
%%PORTDOCS%%%%DOCSDIR%%/index.old.html
%%PORTDOCS%%%%DOCSDIR%%/install/ClamAVModule.shtml
%%PORTDOCS%%%%DOCSDIR%%/install/OS-virus-scan-web.htm
%%PORTDOCS%%%%DOCSDIR%%/install/README.trend
@ -520,7 +524,6 @@ libexec/MailScanner/vexira-wrapper.sample
%%PORTDOCS%%%%DOCSDIR%%/install/tnef.shtml
%%PORTDOCS%%%%DOCSDIR%%/install/zmailer.shtml
%%PORTDOCS%%%%DOCSDIR%%/introduction.shtml
%%PORTDOCS%%%%DOCSDIR%%/jobs
%%PORTDOCS%%%%DOCSDIR%%/mailscanner_trans.gif
%%PORTDOCS%%%%DOCSDIR%%/man/MailScanner.8
%%PORTDOCS%%%%DOCSDIR%%/man/MailScanner.8.html
@ -539,6 +542,8 @@ libexec/MailScanner/vexira-wrapper.sample
%%PORTDOCS%%%%DOCSDIR%%/phishing.html
%%PORTDOCS%%%%DOCSDIR%%/phishing.jpg
%%PORTDOCS%%%%DOCSDIR%%/phishing2.jpg
%%PORTDOCS%%%%DOCSDIR%%/phishingnet.info/index.html
%%PORTDOCS%%%%DOCSDIR%%/phishingnet.info/PhishingNet.gif
%%PORTDOCS%%%%DOCSDIR%%/pressreleases.html
%%PORTDOCS%%%%DOCSDIR%%/presentations.html
%%PORTDOCS%%%%DOCSDIR%%/press.html
@ -555,6 +560,7 @@ libexec/MailScanner/vexira-wrapper.sample
%%PORTDOCS%%@dirrm %%DOCSDIR%%/install/mcp
%%PORTDOCS%%@dirrm %%DOCSDIR%%/install
%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
%%PORTDOCS%%@dirrm %%DOCSDIR%%/phishingnet.info
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%/reports/sk
@dirrm %%DATADIR%%/reports/se