aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/mailscanner/Makefile5
-rw-r--r--mail/mailscanner/distinfo4
-rw-r--r--mail/mailscanner/files/CHANGES.port3
-rw-r--r--mail/mailscanner/files/Sophos.install.freebsd2
-rw-r--r--mail/mailscanner/files/patch-docs:man:MailScanner.86
-rw-r--r--mail/mailscanner/files/patch-docs:man:MailScanner.8.html6
-rw-r--r--mail/mailscanner/files/patch-docs:man:MailScanner.conf.552
-rw-r--r--mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html88
-rw-r--r--mail/mailscanner/pkg-plist1
9 files changed, 148 insertions, 19 deletions
diff --git a/mail/mailscanner/Makefile b/mail/mailscanner/Makefile
index 3c9d1fa5c7d9..ad83732903f5 100644
--- a/mail/mailscanner/Makefile
+++ b/mail/mailscanner/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= MailScanner
-PORTVERSION= 4.51.5
+PORTVERSION= 4.52.2
CATEGORIES= mail
MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL}
@@ -106,7 +106,8 @@ DOC_FILES= INSTALL INSTALL.FreeBSD INSTALL.OpenBSD README
ETC_FILES= MailScanner.conf filename.rules.conf \
filetype.rules.conf spam.assassin.prefs.conf \
spam.lists.conf virus.scanners.conf \
- phishing.safe.sites.conf
+ phishing.safe.sites.conf \
+ country.domains.conf
MCP_FILES= mcp.spam.assassin.prefs.conf \
10_example.cf
USRLOCAL_FILES_LIB= \
diff --git a/mail/mailscanner/distinfo b/mail/mailscanner/distinfo
index 8b65067cdeb6..7a95cf6074a8 100644
--- a/mail/mailscanner/distinfo
+++ b/mail/mailscanner/distinfo
@@ -1,2 +1,2 @@
-MD5 (MailScanner-install-4.51.5-1.tar.gz) = 9d8d732aa73fdc75bf86510891dc1669
-SIZE (MailScanner-install-4.51.5-1.tar.gz) = 6544488
+MD5 (MailScanner-install-4.52.2-1.tar.gz) = d559a96f1f5b51322293d1a9b5a37f1c
+SIZE (MailScanner-install-4.52.2-1.tar.gz) = 6554423
diff --git a/mail/mailscanner/files/CHANGES.port b/mail/mailscanner/files/CHANGES.port
index 5afef633acad..f14ee0d16302 100644
--- a/mail/mailscanner/files/CHANGES.port
+++ b/mail/mailscanner/files/CHANGES.port
@@ -1,3 +1,6 @@
+Version 4.52.2
+=================
+- Upgrade to MailScanenr 4.52
Version 4.51.5
=================
diff --git a/mail/mailscanner/files/Sophos.install.freebsd b/mail/mailscanner/files/Sophos.install.freebsd
index 6d4aedfd3b0d..8095f3a32ff4 100644
--- a/mail/mailscanner/files/Sophos.install.freebsd
+++ b/mail/mailscanner/files/Sophos.install.freebsd
@@ -1,6 +1,6 @@
!%%LOCALBASE%%/bin/bash
#
-# $Id: Sophos.install,v 1.13.2.3 2003/06/07 17:20:39 jkf Exp $
+# $Id: Sophos.install.freebsd,v 1.3 2004/01/31 23:43:16 sergei Exp $
#
# Run this script to install Sophos in the right place, with the right
# options for the MailScanner.
diff --git a/mail/mailscanner/files/patch-docs:man:MailScanner.8 b/mail/mailscanner/files/patch-docs:man:MailScanner.8
index fd1ee4de3408..47a22fad1cac 100644
--- a/mail/mailscanner/files/patch-docs:man:MailScanner.8
+++ b/mail/mailscanner/files/patch-docs:man:MailScanner.8
@@ -1,8 +1,8 @@
---- ../MailScanner-install-4.50.15.orig/docs/man/MailScanner.8 Tue Feb 7 14:24:40 2006
-+++ docs/man/MailScanner.8 Tue Feb 7 15:51:55 2006
+--- ../MailScanner-install-4.52.2.orig/docs/man/MailScanner.8 Thu Apr 13 09:25:25 2006
++++ docs/man/MailScanner.8 Thu Apr 13 09:25:39 2006
@@ -1,10 +1,10 @@
-.TH "MailScanner" "8" "4.49.7" "Julian Field" "Mail"
-+.TH "MailScanner" "8" "4.50.15" "Julian Field" "Mail"
++.TH "MailScanner" "8" "4.52.2" "Julian Field" "Mail"
.SH "NAME"
.LP
MailScanner \- Virus/Spam Scanner for Sendmail, Exim and Postfix
diff --git a/mail/mailscanner/files/patch-docs:man:MailScanner.8.html b/mail/mailscanner/files/patch-docs:man:MailScanner.8.html
index 40721ad4f44e..ac17b1d18df5 100644
--- a/mail/mailscanner/files/patch-docs:man:MailScanner.8.html
+++ b/mail/mailscanner/files/patch-docs:man:MailScanner.8.html
@@ -1,5 +1,5 @@
---- ../MailScanner-install-4.50.15.orig/docs/man/MailScanner.8.html Tue Feb 7 14:24:40 2006
-+++ docs/man/MailScanner.8.html Tue Feb 7 15:51:59 2006
+--- ../MailScanner-install-4.52.2.orig/docs/man/MailScanner.8.html Thu Apr 13 09:25:25 2006
++++ docs/man/MailScanner.8.html Thu Apr 13 09:25:42 2006
@@ -1,168 +1,236 @@
-<!-- Creator : groff version 1.19 -->
-<!-- CreationDate: Wed Jan 4 13:45:56 2006 -->
@@ -170,7 +170,7 @@
-</body>
-</html>
+<!-- Creator : groff version 1.19 -->
-+<!-- CreationDate: Tue Feb 7 15:51:46 2006 -->
++<!-- CreationDate: Thu Apr 13 09:24:53 2006 -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+"http://www.w3.org/TR/html4/loose.dtd">
+<html>
diff --git a/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5 b/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5
index 2ec42acc3f5e..b6befa12e0d3 100644
--- a/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5
+++ b/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5
@@ -1,8 +1,8 @@
---- ../MailScanner-install-4.51.5.orig/docs/man/MailScanner.conf.5 Mon Mar 6 19:05:04 2006
-+++ docs/man/MailScanner.conf.5 Mon Mar 6 19:05:25 2006
+--- ../MailScanner-install-4.52.2.orig/docs/man/MailScanner.conf.5 Thu Apr 13 09:25:25 2006
++++ docs/man/MailScanner.conf.5 Thu Apr 13 09:25:46 2006
@@ -1,4 +1,4 @@
-.TH "MailScanner.conf" "5" "4.50.1" "Julian Field" "Mail"
-+.TH "MailScanner.conf" "5" "4.51.5" "Julian Field" "Mail"
++.TH "MailScanner.conf" "5" "4.52.2" "Julian Field" "Mail"
.SH "NAME"
.LP
MailScanner.conf \- Main configuration for MailScanner
@@ -60,7 +60,47 @@
.TP
\fBVirus Scanners\fR
-@@ -1682,7 +1704,7 @@
+@@ -686,6 +708,23 @@
+ .br
+ While detecting "Phishing" attacks, do you also want to point out links to numeric IP addresses. Genuine links to totally numeric IP addresses are very rare, so this option is set to "yes" by default. If a numeric IP address is found in a link, the same phishing warning message is used as in the Find Phishing Fraud option above. This value cannot be the name of a ruleset, only a simple yes or no.
+
++.TP
++\fBUse Stricter Phishing Net\fR
++Default: yes
++.br
++
++.br
++If this is set to yes, then most of the URL in a link must match the destination address it claims to take you to. This is the default as it is a much stronger test and is very hard to maliciously avoid. If this is set to no, then just the company name and country (and any names between the two, dependent on the specific country) must match. This is not as strict as it will not protect you against internal malicious sites based within the company being abused. For example, it would not find www.nasty.company\-name.co.uk pretending to be www.nice.company\-name.co.uk. But it will still detect most phishing attacks of the type www.nasty.co.jp versus www.nice.co.jp. Depending on the country code it knows how many levels of domain need to be checked. This can also be the filename of a ruleset.
++
++
++.TP
++\fBHighlight Phishing Fraud\fR
++Default: yes
++.br
++
++.br
++If a phishing fraud is detected, do you want to highlight the tag with a message stating that the link may be to a fraudulent web site. This can also be the filename of a ruleeset.
++
+
+ .TP
+ \fBPhishing Safe Sites File\fR
+@@ -695,6 +734,15 @@
+ .br
+ There are some companies, such as banks, that insist on sending out email messages with links in them that are caught by the "Find Phishing Fraud" test described above. This is the name of a file which contains a list of link destinations which should be ignored in the test. This may, for example, contain the known websites of some banks. See the file itself for more information. This can only be the name of the file containing the list, it *cannot* be the filename of a ruleset.
+
++.TP
++\fBCountry Sub\-Domains List\fR
++Default: %etc\-dir%/country.domains.conf
++.br
++
++.br
++.TP
++This file lists all the countries that use 2nd\-level and 3rd\-level domain names to classify distinct types of website within their country. This cannot be the name of a ruleset, it is just a simple setting.
++
+
+ .TP
+ \fBAllow IFrame Tags\fR
+@@ -1682,7 +1730,7 @@
.SH "SpamAssassin"
.TP
\fBUse SpamAssassin\fR
@@ -69,7 +109,7 @@
.br
.br
-@@ -2113,6 +2135,22 @@
+@@ -2113,6 +2161,22 @@
.RE
.TP
@@ -92,7 +132,7 @@
\fBDebug\fR
Default: no
.br
-@@ -2167,6 +2205,15 @@
+@@ -2167,6 +2231,15 @@
.br
The value of the option is actually never used, but it is evaluated at the end of processing a batch of messages. It is designed to be used in conjunction with a Custom Function. The Custom Function should then be written to have a "side effect" of doing something useful such as logging lots of information about the batch of messages to a file or an SQL database.
diff --git a/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html b/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html
index 1112ea4f857c..57aa9284b2b3 100644
--- a/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html
+++ b/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html
@@ -1,6 +1,6 @@
--- ../MailScanner-install-4.50.15.orig/docs/man/MailScanner.conf.5.html Tue Feb 7 13:45:34 2006
+++ docs/man/MailScanner.conf.5.html Tue Feb 7 13:58:55 2006
-@@ -1,7013 +1,7172 @@
+@@ -1,7013 +1,7099 @@
-<!-- Creator : groff version 1.19 -->
-<!-- CreationDate: Wed Jan 4 14:36:14 2006 -->
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
@@ -7015,7 +7015,7 @@
-</body>
-</html>
+<!-- Creator : groff version 1.19 -->
-+<!-- CreationDate: Mon Mar 6 19:04:33 2006 -->
++<!-- CreationDate: Thu Apr 13 09:24:53 2006 -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+"http://www.w3.org/TR/html4/loose.dtd">
+<html>
@@ -9114,6 +9114,61 @@
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="89%">
++<p><b>Use Stricter Phishing Net</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 most of the URL in a link
++must match the destination address it claims to take you to.
++This is the default as it is a much stronger test and is
++very hard to maliciously avoid. If this is set to no, then
++just the company name and country (and any names between the
++two, dependent on the specific country) must match. This is
++not as strict as it will not protect you against internal
++malicious sites based within the company being abused. For
++example, it would not find
++www.nasty.company&minus;name.co.uk pretending to be
++www.nice.company&minus;name.co.uk. But it will still detect
++most phishing attacks of the type www.nasty.co.jp versus
++www.nice.co.jp. Depending on the country code it knows how
++many levels of domain need to be checked. 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>Highlight Phishing Fraud</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 a phishing fraud is detected, do you want to highlight
++the tag with a message stating that the link may be to a
++fraudulent web site. This can also be the filename of a
++ruleeset.</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>Phishing Safe Sites File</b></p></td>
+</table>
+<!-- INDENTATION -->
@@ -9141,6 +9196,35 @@
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="89%">
++<p><b>Country Sub&minus;Domains List</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: %etc&minus;dir%/country.domains.conf</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>This file lists all the countries that use
++2nd&minus;level and 3rd&minus;level domain names to classify
++distinct types of website within their country. This cannot
++be the name of a ruleset, it is just a simple
++setting.</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>Allow IFrame Tags</b></p></td>
+</table>
+<!-- INDENTATION -->
diff --git a/mail/mailscanner/pkg-plist b/mail/mailscanner/pkg-plist
index f32693b35254..53bea48310a4 100644
--- a/mail/mailscanner/pkg-plist
+++ b/mail/mailscanner/pkg-plist
@@ -1,4 +1,5 @@
@comment $FreeBSD$
+etc/MailScanner/country.domains.conf.sample
etc/MailScanner/MailScanner.conf.sample
etc/MailScanner/filename.rules.conf.sample
etc/MailScanner/filetype.rules.conf.sample