summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2006-06-02 20:58:52 +0000
committerAndrej Kacian <ticho@gentoo.org>2006-06-02 20:58:52 +0000
commit976a758c6829b0f9093f07555d02c4fe39b856e4 (patch)
tree034c6e4768ede77b87959892197de0af3f993bcb /mail-filter/amavisd-new
parentStable on hppa. (diff)
downloadgentoo-2-976a758c6829b0f9093f07555d02c4fe39b856e4.tar.gz
gentoo-2-976a758c6829b0f9093f07555d02c4fe39b856e4.tar.bz2
gentoo-2-976a758c6829b0f9093f07555d02c4fe39b856e4.zip
Version bump. Provide sane final destiny for major content categories in default config. Closes bugs #133346 by Janne Pikkarainen <jaba@mikrobitti.fi> and #130492 by Fred Krogh <fkrogh@mathalacarte.com>.
(Portage version: 2.1_rc3-r2)
Diffstat (limited to 'mail-filter/amavisd-new')
-rw-r--r--mail-filter/amavisd-new/ChangeLog13
-rw-r--r--mail-filter/amavisd-new/amavisd-new-2.4.0.ebuild4
-rw-r--r--mail-filter/amavisd-new/amavisd-new-2.4.1.ebuild184
-rw-r--r--mail-filter/amavisd-new/files/amavisd-new-2.4.0-amavisd.conf-gentoo.patch112
-rw-r--r--mail-filter/amavisd-new/files/amavisd-new-2.4.1-amavisd.conf-gentoo.patch135
-rw-r--r--mail-filter/amavisd-new/files/digest-amavisd-new-2.3.3-r22
-rw-r--r--mail-filter/amavisd-new/files/digest-amavisd-new-2.4.13
7 files changed, 450 insertions, 3 deletions
diff --git a/mail-filter/amavisd-new/ChangeLog b/mail-filter/amavisd-new/ChangeLog
index bfe7027c4508..0fe6d832e22e 100644
--- a/mail-filter/amavisd-new/ChangeLog
+++ b/mail-filter/amavisd-new/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for mail-filter/amavisd-new
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.82 2006/04/12 05:35:49 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.83 2006/06/02 20:58:52 ticho Exp $
+
+*amavisd-new-2.4.1 (02 Jun 2006)
+
+ 02 Jun 2006; Andrej Kacian <ticho@gentoo.org>
+ +files/amavisd-new-2.4.0-amavisd.conf-gentoo.patch,
+ +files/amavisd-new-2.4.1-amavisd.conf-gentoo.patch,
+ -files/amavisd-new-2.4-amavisd.conf-gentoo.patch,
+ amavisd-new-2.4.0.ebuild, +amavisd-new-2.4.1.ebuild:
+ Version bump. Provide sane final destiny for major content categories in
+ default config. Closes bugs #133346 by Janne Pikkarainen
+ <jaba@mikrobitti.fi> and #130492 by Fred Krogh <fkrogh@mathalacarte.com>.
12 Apr 2006; Andrej Kacian <ticho@gentoo.org>
files/amavisd-new-2.4-amavisd.conf-gentoo.patch:
diff --git a/mail-filter/amavisd-new/amavisd-new-2.4.0.ebuild b/mail-filter/amavisd-new/amavisd-new-2.4.0.ebuild
index ca95d887598e..c5e12023d207 100644
--- a/mail-filter/amavisd-new/amavisd-new-2.4.0.ebuild
+++ b/mail-filter/amavisd-new/amavisd-new-2.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/amavisd-new-2.4.0.ebuild,v 1.3 2006/04/10 20:35:05 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/amavisd-new-2.4.0.ebuild,v 1.4 2006/06/02 20:58:52 ticho Exp $
inherit eutils
@@ -78,7 +78,7 @@ src_unpack() {
epatch "${FILESDIR}/${P%.*}-qmail-lf-workaround.patch" || die "patch failed"
fi
- epatch "${FILESDIR}/${P%.*}-amavisd.conf-gentoo.patch" || die "patch failed"
+ epatch "${FILESDIR}/${P}-amavisd.conf-gentoo.patch" || die "patch failed"
}
src_compile() {
diff --git a/mail-filter/amavisd-new/amavisd-new-2.4.1.ebuild b/mail-filter/amavisd-new/amavisd-new-2.4.1.ebuild
new file mode 100644
index 000000000000..44297c6c521e
--- /dev/null
+++ b/mail-filter/amavisd-new/amavisd-new-2.4.1.ebuild
@@ -0,0 +1,184 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/amavisd-new-2.4.1.ebuild,v 1.1 2006/06/02 20:58:52 ticho Exp $
+
+inherit eutils
+
+DESCRIPTION="High-performance interface between the MTA and content checkers."
+HOMEPAGE="http://www.ijs.si/software/amavisd/"
+SRC_URI="http://www.ijs.si/software/amavisd/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ldap mysql postgres milter"
+
+DEPEND=">=sys-apps/sed-4
+ >=dev-lang/perl-5.8.2"
+
+RDEPEND="${DEPEND}
+ >=sys-apps/coreutils-5.0-r3
+ app-arch/gzip
+ app-arch/bzip2
+ app-arch/arc
+ app-arch/cabextract
+ app-arch/freeze
+ app-arch/lha
+ app-arch/unarj
+ app-arch/unrar
+ app-arch/zoo
+ dev-perl/Archive-Tar
+ >=dev-perl/Archive-Zip-1.14
+ >=dev-perl/Compress-Zlib-1.35
+ dev-perl/Convert-TNEF
+ >=dev-perl/Convert-UUlib-1.051
+ virtual/perl-MIME-Base64
+ >=dev-perl/MIME-tools-5.415
+ >=dev-perl/MailTools-1.58
+ >=dev-perl/net-server-0.91
+ >=virtual/perl-libnet-1.16
+ dev-perl/IO-stringy
+ >=virtual/perl-Time-HiRes-1.49
+ dev-perl/Unix-Syslog
+ >=sys-libs/db-3.1
+ dev-perl/BerkeleyDB
+ virtual/mta
+ ldap? ( >=dev-perl/perl-ldap-0.33 )
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
+ milter? ( >=mail-mta/sendmail-8.12 )"
+
+AMAVIS_ROOT="/var/amavis"
+
+pkg_preinst() {
+ enewgroup amavis
+ enewuser amavis -1 -1 ${AMAVIS_ROOT} amavis
+}
+
+src_unpack() {
+ if $(has_version "<mail-filter/spamassassin-3") ; then
+ echo
+ ewarn "WARNING: Amavisd-new will not work with SpamAssassin older than 3.0.0."
+ ewarn " Consider upgrading your SpamAssassin installation."
+ ebeep 3
+ epause
+ fi
+ unpack ${A}
+ cd ${S}
+ if $(has_version mail-mta/courier) ; then
+ einfo "Patching with courier support."
+ epatch "amavisd-new-courier.patch" || die "patch failed"
+ fi
+
+ if $(has_version virtual/qmail) ; then
+ einfo "Patching with qmail qmqp support."
+ epatch "amavisd-new-qmqpqq.patch" || die "patch failed"
+
+ einfo "Patching with qmail lf bug workaround."
+ epatch "${FILESDIR}/${P%.*}-qmail-lf-workaround.patch" || die "patch failed"
+ fi
+
+ epatch "${FILESDIR}/${P}-amavisd.conf-gentoo.patch" || die "patch failed"
+}
+
+src_compile() {
+ if use milter ; then
+ cd "${S}/helper-progs"
+
+ econf --with-runtime-dir=${AMAVIS_ROOT} \
+ --with-sockname=${AMAVIS_ROOT}/amavisd.sock \
+ --with-user=amavis || die "helper-progs econf failed"
+ emake || die "helper-progs compile problem"
+
+ cd "${S}"
+ fi
+}
+
+src_install() {
+ dosbin amavisd amavisd-agent amavisd-nanny amavisd-release
+
+ insinto /etc
+ insopts -m0640
+ newins amavisd.conf-sample amavisd.conf
+ dosed "s:^#\\?\\\$MYHOME[^;]*;:\$MYHOME = '$AMAVIS_ROOT';:" \
+ /etc/amavisd.conf
+ if [ "$(dnsdomainname)" = "(none)" ] ; then
+ dosed "s:^#\\?\\\$mydomain[^;]*;:\$mydomain = '$(hostname)';:" \
+ /etc/amavisd.conf
+ else
+ dosed "s:^#\\?\\\$mydomain[^;]*;:\$mydomain = '$(dnsdomainname)';:" \
+ /etc/amavisd.conf
+ fi
+ if ! $(has_version mail-filter/spamassassin) ; then
+ einfo "Disabling anti-spam code in amavisd.conf..."
+
+ dosed "s:^#[\t ]*@bypass_spam_checks_maps[\t ]*=[\t ]*(1);:\@bypass_spam_checks_maps = (1);:" \
+ /etc/amavisd.conf
+ fi
+
+ newinitd "${FILESDIR}/amavisd.rc6" amavisd
+ dosed "s:/var/run/amavis/:$AMAVIS_ROOT/:g" /etc/init.d/amavisd
+
+ keepdir ${AMAVIS_ROOT}
+ keepdir ${AMAVIS_ROOT}/db
+ keepdir ${AMAVIS_ROOT}/quarantine
+ keepdir ${AMAVIS_ROOT}/tmp
+
+ if $(has_version net-nds/openldap ) ; then
+ einfo "Adding ${P} schema to openldap schema dir."
+ dodir /etc/openldap/schema
+ insinto /etc/openldap/schema
+ insopts -o root -g root -m 644
+ newins LDAP.schema ${PN}.schema || die
+ newins LDAP.schema ${PN}.schema.default || die
+ fi
+
+ newdoc test-messages/README README.samples
+ dodoc AAAREADME.first INSTALL LICENSE MANIFEST RELEASE_NOTES \
+ README_FILES/* test-messages/sample* amavisd.conf-default amavisd-agent
+
+ if use milter ; then
+ cd "${S}/helper-progs"
+ einstall
+ fi
+
+ for i in whitelist blacklist spam_lovers; do
+ if [ ! -f ${D}/${AMAVIS_ROOT}/${i} ]; then
+ touch ${D}/${AMAVIS_ROOT}/${i}
+ fi
+ done
+
+ if $(has_version mail-filter/razor) ; then
+ if [ ! -f ${AMAVIS_ROOT}/.razor/razor-agent.conf ] ; then
+ einfo "Setting up initial razor config files..."
+
+ razor-admin -create -home=${D}/${AMAVIS_ROOT}/.razor
+ sed -i -e "s:debuglevel\([ ]*\)= .:debuglevel\1= 0:g" \
+ ${D}/${AMAVIS_ROOT}/.razor/razor-agent.conf
+ else
+ einfo "Copying existing razor config files..."
+ insinto ${AMAVIS_ROOT}/.razor
+ doins ${AMAVIS_ROOT}/.razor/*.{conf,lst}
+ fi
+ fi
+
+ find ${D}/${AMAVIS_ROOT} -name "*" -type d -exec chmod 0750 \{\} \;
+ find ${D}/${AMAVIS_ROOT} -name "*" -type f -exec chmod 0640 \{\} \;
+}
+
+pkg_postinst() {
+ if ! $(has_version mail-filter/spamassassin) ; then
+ echo
+ einfo "Amavisd-new no longer requires SpamAssassin, but no anti-spam checking"
+ einfo "will be performed without it. Since you do not have SpamAssassin installed,"
+ einfo "all spam checks have been disabled. To enable them, install SpamAssassin"
+ einfo "and comment out the line containing: "
+ einfo "@bypass_spam_checks_maps = (1); in /etc/amavisd.conf."
+ fi
+ echo
+ ewarn "Adjusting permissions for /etc/amavisd.conf (0 for world, owner root:amavis)"
+ echo
+ chmod o-rwx /etc/amavisd.conf
+ chown root:amavis /etc/amavisd.conf
+ chown -R amavis:amavis ${AMAVIS_ROOT}
+}
diff --git a/mail-filter/amavisd-new/files/amavisd-new-2.4.0-amavisd.conf-gentoo.patch b/mail-filter/amavisd-new/files/amavisd-new-2.4.0-amavisd.conf-gentoo.patch
new file mode 100644
index 000000000000..0d93818d764f
--- /dev/null
+++ b/mail-filter/amavisd-new/files/amavisd-new-2.4.0-amavisd.conf-gentoo.patch
@@ -0,0 +1,112 @@
+--- amavisd.conf-sample 2006-04-03 16:32:19.000000000 +0200
++++ amavisd.conf-sample.ticho 2006-04-07 21:56:48.000000000 +0200
+@@ -74,14 +74,14 @@
+
+ # Set the user and group to which the daemon will change if started as root
+ # (otherwise just keeps the UID unchanged, and these settings have no effect):
+-$daemon_user = 'vscan'; # (no default; customary: vscan or amavis)
+-$daemon_group = 'vscan'; # (no default; customary: vscan or amavis or sweep)
++$daemon_user = 'amavis'; # (no default; customary: vscan or amavis)
++$daemon_group = 'amavis'; # (no default; customary: vscan or amavis or sweep)
+
+ # Runtime working directory (cwd), and a place where
+ # temporary directories for unpacking mail are created.
+ # (no trailing slash, may be a scratch file system)
+-$TEMPBASE = $MYHOME; # (must be set if other config vars use is)
+-#$TEMPBASE = "$MYHOME/tmp"; # prefer to keep home dir /var/amavis clean?
++#$TEMPBASE = $MYHOME; # (must be set if other config vars use is)
++$TEMPBASE = "$MYHOME/tmp"; # prefer to keep home dir /var/amavis clean?
+
+ #$db_home = "$MYHOME/db"; # DB databases directory, default "$MYHOME/db"
+
+@@ -155,7 +155,7 @@
+ # feeding amavisd, e.g. with Postfix the 'Max procs' field in the
+ # master.cf file, like the '2' in the: smtp-amavis unix - - n - 2 smtp
+ #
+-$max_servers = 2; # number of pre-forked children (default 2)
++$max_servers = 4; # number of pre-forked children (default 2)
+ $max_requests = 20; # retire a child after that many accepts (default 10)
+
+ $child_timeout=5*60; # abort child if it does not complete its processing in
+@@ -465,7 +465,7 @@
+
+ # Alternatives to consider for spam:
+ # - use D_PASS if clients will do filtering based on inserted
+-# mail headers or added address extensions ('plus-addressing');
++# mail headers or added address extensions ('plus-addressing')2;
+ # - use D_DISCARD, if kill_level is set comfortably high;
+ #
+ # D_BOUNCE is preferred for viruses, but consider:
+@@ -482,9 +482,34 @@
+ # default setting of an associative array %final_destiny_by_ccat which is
+ # backwards compatible and contains references to these traditional variables:
+ #
++#$final_virus_destiny = D_DISCARD; # (defaults to D_DISCARD)
++#$final_banned_destiny = D_BOUNCE; # (defaults to D_BOUNCE)
++#$final_spam_destiny = D_BOUNCE; # (defaults to D_BOUNCE)
++#$final_bad_header_destiny = D_PASS; # (defaults to D_PASS)
++
++########
++#
++# Please think about what you are doing when you set these options.
++# If necessary, question your origanization's e-mail policies:
++#
++# D_BOUNCE contributes to the overall spread of virii and spam on the
++# internet. Both the envelope and header from addresses can be forged
++# accurately with no effort, causing the bounces to go to innocent parties,
++# whose addresses have been forged.
++#
++# D_DISCARD breaks internet mail specifications. However, with a
++# properly implemented Quaratine system, the concern for breaking the
++# specification is addressed to some extent.
++#
++# D_PASS is the safest way to handle e-mails. You must implement
++# client-side filtering to handle this method.
++#
++# -Cory Visi <merlin@gentoo.org> 07/28/04
++#
++#######
+ $final_virus_destiny = D_DISCARD; # (defaults to D_DISCARD)
+-$final_banned_destiny = D_BOUNCE; # (defaults to D_BOUNCE)
+-$final_spam_destiny = D_BOUNCE; # (defaults to D_BOUNCE)
++$final_banned_destiny = D_DISCARD; # (defaults to D_BOUNCE)
++$final_spam_destiny = D_DISCARD; # (defaults to D_BOUNCE)
+ $final_bad_header_destiny = D_PASS; # (defaults to D_PASS)
+
+ # to explicitly list all (or most) possible contents category (ccat) keys:
+@@ -679,7 +704,7 @@
+ # or a directory (no trailing slash)
+ # (the default value is undef, meaning no quarantine)
+ #
+-$QUARANTINEDIR = '/var/virusmails';
++$QUARANTINEDIR = "$MYHOME/quarantine";
+
+ #$quarantine_subdir_levels = 1; # add level of subdirs to disperse quarantine
+
+@@ -1572,7 +1597,7 @@
+ # NOTE: if $daemon_chroot_dir is nonempty, the directories will be
+ # relative to the chroot directory specified;
+
+-$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';
++$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin:/opt/bin';
+
+ # For external programs specify one string or a search list of strings (first
+ # match wins). The string (or: each string in a list) may be an absolute path,
+@@ -1986,7 +2011,7 @@
+
+ ### http://www.nai.com/
+ ['NAI McAfee AntiVirus (uvscan)', 'uvscan',
+- '--secure -rv --mime --summary --noboot - {}', [0], [13],
++ '--secure -rv --mime --summary --noboot --mailbox --program --timeout 180 - {}', [0], [13],
+ qr/(?x) Found (?:
+ \ the\ (.+)\ (?:virus|trojan) |
+ \ (?:virus|trojan)\ or\ variant\ ([^ ]+) |
+@@ -2104,7 +2129,7 @@
+
+ ### http://www.f-prot.com/ - backs up F-Prot Daemon
+ ['FRISK F-Prot Antivirus', ['f-prot','f-prot.sh'],
+- '-dumb -archive -packed {}', [0,8], [3,6],
++ '-dumb -ai -archive -packed -server {}', [0,8], [3,6],
+ qr/Infection: (.+)|\s+contains\s+(.+)$/ ],
+
+ ### http://www.trendmicro.com/ - backs up Trophie
diff --git a/mail-filter/amavisd-new/files/amavisd-new-2.4.1-amavisd.conf-gentoo.patch b/mail-filter/amavisd-new/files/amavisd-new-2.4.1-amavisd.conf-gentoo.patch
new file mode 100644
index 000000000000..980151999c06
--- /dev/null
+++ b/mail-filter/amavisd-new/files/amavisd-new-2.4.1-amavisd.conf-gentoo.patch
@@ -0,0 +1,135 @@
+--- amavisd.conf-sample 2006-05-08 18:23:38.000000000 +0200
++++ amavisd.conf-sample.ticho 2006-06-02 22:31:25.000000000 +0200
+@@ -74,14 +74,14 @@
+
+ # Set the user and group to which the daemon will change if started as root
+ # (otherwise just keeps the UID unchanged, and these settings have no effect):
+-$daemon_user = 'vscan'; # (no default; customary: vscan or amavis)
+-$daemon_group = 'vscan'; # (no default; customary: vscan or amavis or sweep)
++$daemon_user = 'amavis'; # (no default; customary: vscan or amavis)
++$daemon_group = 'amavis'; # (no default; customary: vscan or amavis or sweep)
+
+ # Runtime working directory (cwd), and a place where
+ # temporary directories for unpacking mail are created.
+ # (no trailing slash, may be a scratch file system)
+-$TEMPBASE = $MYHOME; # (must be set if other config vars use is)
+-#$TEMPBASE = "$MYHOME/tmp"; # prefer to keep home dir /var/amavis clean?
++#$TEMPBASE = $MYHOME; # (must be set if other config vars use is)
++$TEMPBASE = "$MYHOME/tmp"; # prefer to keep home dir /var/amavis clean?
+
+ #$db_home = "$MYHOME/db"; # DB databases directory, default "$MYHOME/db"
+
+@@ -155,7 +155,7 @@
+ # feeding amavisd, e.g. with Postfix the 'Max procs' field in the
+ # master.cf file, like the '2' in the: smtp-amavis unix - - n - 2 smtp
+ #
+-$max_servers = 2; # number of pre-forked children (default 2)
++$max_servers = 4; # number of pre-forked children (default 2)
+ $max_requests = 20; # retire a child after that many accepts (default 10)
+
+ $child_timeout=5*60; # abort child if it does not complete its processing in
+@@ -470,7 +470,7 @@
+
+ # Alternatives to consider for spam:
+ # - use D_PASS if clients will do filtering based on inserted
+-# mail headers or added address extensions ('plus-addressing');
++# mail headers or added address extensions ('plus-addressing')2;
+ # - use D_DISCARD, if kill_level is set comfortably high;
+ #
+ # D_BOUNCE is preferred for viruses, but consider:
+@@ -487,22 +487,45 @@
+ # default setting of an associative array %final_destiny_by_ccat which is
+ # backwards compatible and contains references to these traditional variables:
+ #
+-$final_virus_destiny = D_DISCARD; # (defaults to D_DISCARD)
+-$final_banned_destiny = D_BOUNCE; # (defaults to D_BOUNCE)
+-$final_spam_destiny = D_BOUNCE; # (defaults to D_BOUNCE)
+-$final_bad_header_destiny = D_PASS; # (defaults to D_PASS)
++#$final_virus_destiny = D_DISCARD; # (defaults to D_DISCARD)
++#$final_banned_destiny = D_BOUNCE; # (defaults to D_BOUNCE)
++#$final_spam_destiny = D_BOUNCE; # (defaults to D_BOUNCE)
++#$final_bad_header_destiny = D_PASS; # (defaults to D_PASS)
++
++########
++#
++# Please think about what you are doing when you set these options.
++# If necessary, question your origanization's e-mail policies:
++#
++# D_BOUNCE contributes to the overall spread of virii and spam on the
++# internet. Both the envelope and header from addresses can be forged
++# accurately with no effort, causing the bounces to go to innocent parties,
++# whose addresses have been forged.
++#
++# D_DISCARD breaks internet mail specifications. However, with a
++# properly implemented Quaratine system, the concern for breaking the
++# specification is addressed to some extent.
++#
++# D_PASS is the safest way to handle e-mails. You must implement
++# client-side filtering to handle this method.
++#
++# -Cory Visi <merlin@gentoo.org> 07/28/04
++#
++#######
++
++
+
+ # to explicitly list all (or most) possible contents category (ccat) keys:
+-#%final_destiny_by_ccat = (
+-# CC_VIRUS, D_DISCARD,
+-# CC_BANNED, D_BOUNCE,
+-# CC_UNCHECKED, D_PASS,
+-# CC_SPAM, D_BOUNCE,
+-# CC_BADH, D_PASS,
+-# CC_OVERSIZED, D_BOUNCE,
+-# CC_CLEAN, D_PASS,
+-# CC_CATCHALL, D_PASS,
+-#);
++%final_destiny_by_ccat = (
++ CC_VIRUS, D_DISCARD,
++ CC_BANNED, D_BOUNCE,
++ CC_UNCHECKED, D_PASS,
++ CC_SPAM, D_DISCARD,
++ CC_BADH, D_PASS,
++ CC_OVERSIZED, D_BOUNCE,
++ CC_CLEAN, D_PASS,
++ CC_CATCHALL, D_PASS,
++);
+
+ # to rely on a catchall ccat key and only list exceptions (alternative 1):
+ #%final_destiny_by_ccat = (
+@@ -684,7 +707,7 @@
+ # or a directory (no trailing slash)
+ # (the default value is undef, meaning no quarantine)
+ #
+-$QUARANTINEDIR = '/var/virusmails';
++$QUARANTINEDIR = "$MYHOME/quarantine";
+
+ #$quarantine_subdir_levels = 1; # add level of subdirs to disperse quarantine
+
+@@ -1587,7 +1610,7 @@
+ # NOTE: if $daemon_chroot_dir is nonempty, the directories will be
+ # relative to the chroot directory specified;
+
+-$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';
++$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin:/opt/bin';
+
+ # For external programs specify one string or a search list of strings (first
+ # match wins). The string (or: each string in a list) may be an absolute path,
+@@ -2007,7 +2030,7 @@
+
+ ### http://www.nai.com/
+ ['NAI McAfee AntiVirus (uvscan)', 'uvscan',
+- '--secure -rv --mime --summary --noboot - {}', [0], [13],
++ '--secure -rv --mime --summary --noboot --mailbox --program --timeout 180 - {}', [0], [13],
+ qr/(?x) Found (?:
+ \ the\ (.+)\ (?:virus|trojan) |
+ \ (?:virus|trojan)\ or\ variant\ ([^ ]+) |
+@@ -2125,7 +2148,7 @@
+
+ ### http://www.f-prot.com/ - backs up F-Prot Daemon
+ ['FRISK F-Prot Antivirus', ['f-prot','f-prot.sh'],
+- '-dumb -archive -packed {}', [0,8], [3,6],
++ '-dumb -ai -archive -packed -server {}', [0,8], [3,6],
+ qr/Infection: (.+)|\s+contains\s+(.+)$/ ],
+
+ ### http://www.trendmicro.com/ - backs up Trophie
diff --git a/mail-filter/amavisd-new/files/digest-amavisd-new-2.3.3-r2 b/mail-filter/amavisd-new/files/digest-amavisd-new-2.3.3-r2
index 648612738a19..9eb2864ebae2 100644
--- a/mail-filter/amavisd-new/files/digest-amavisd-new-2.3.3-r2
+++ b/mail-filter/amavisd-new/files/digest-amavisd-new-2.3.3-r2
@@ -1 +1,3 @@
MD5 0b02df514c1a2bf8af346bc9c7e97111 amavisd-new-2.3.3.tar.gz 772280
+RMD160 c2213190582fe8fea9b8f1736e3b3e49b2906887 amavisd-new-2.3.3.tar.gz 772280
+SHA256 8c6d78cc0a703f0aa36d52fdf833e074c6adca2d21bd334ef381f9e9c92b8f0b amavisd-new-2.3.3.tar.gz 772280
diff --git a/mail-filter/amavisd-new/files/digest-amavisd-new-2.4.1 b/mail-filter/amavisd-new/files/digest-amavisd-new-2.4.1
new file mode 100644
index 000000000000..fdd58a3817d8
--- /dev/null
+++ b/mail-filter/amavisd-new/files/digest-amavisd-new-2.4.1
@@ -0,0 +1,3 @@
+MD5 bf770a3c7eee8a9c93932a04485e6a35 amavisd-new-2.4.1.tar.gz 841988
+RMD160 edd91dde774838345159064ef6012f7927d5aa6c amavisd-new-2.4.1.tar.gz 841988
+SHA256 c067cbae60ccff3932574fcaf7971c04b118f6b2e9fe6db772d33538b53b0a54 amavisd-new-2.4.1.tar.gz 841988