--- amavisd-new-2.7.1.orig/debian/compat +++ amavisd-new-2.7.1/debian/compat @@ -0,0 +1 @@ +5 --- amavisd-new-2.7.1.orig/debian/22-amavisd-new-postfix +++ amavisd-new-2.7.1/debian/22-amavisd-new-postfix @@ -0,0 +1,13 @@ +# Enable AntiVirus mode +@bypass_virus_checks_maps = ( + \%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re); + +# Enable AntiSpam mode +@bypass_spam_checks_maps = ( + \%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re); + +# Store Viruses in quarantine +$virus_quarantine_to = 'virus-quarantine'; + +# Enable Auto Whitelist +$sa_auto_whitelist = 1; --- amavisd-new-2.7.1.orig/debian/README.source +++ amavisd-new-2.7.1/debian/README.source @@ -0,0 +1,3 @@ +We use dpatch for patch handling inside our amavisd-new packages. Please see +/usr/share/doc/dpatch/README.source.gz (if you have installed dpatch) for documentation about dpatch. + --- amavisd-new-2.7.1.orig/debian/amavisd-new.postinst +++ amavisd-new-2.7.1/debian/amavisd-new.postinst @@ -0,0 +1,174 @@ +#! /bin/sh +# postinst script for amavisd-new +# $Id: amavisd-new.postinst 908 2006-06-09 03:42:01Z hmh $ +# +# see: dh_installdeb(1) + +# debconf +set -e +. /usr/share/debconf/confmodule + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + # add amavis system user and group (requires adduser >= 3.34) + # don't muck around with this unless you KNOW what you're doing + # also, don't attempt to second guess what kind of fucked up + # mistakes other amavis packages might have made. Tell the user + # to kill the bogus entry. We can't simply overwrite it with + # usermod, since that would certainly cause severe headaches for + # a sysadmin out there... + # + # I don't care that users migrating from other amavis packages + # will have extra work. Someone lost 30GB because we tried to + # be nice once. See #190414. + echo "Creating/updating amavis user account..." >&2 + if ! getent group amavis > /dev/null ; then + addgroup --quiet --system amavis || { + # addgroup failed. Why? + if ! getent group amavis >/dev/null ; then + echo "Could not create system group amavis." >&2 + exit 1 + fi + # well, the group is there, so just ignore the error + } + fi + if ! getent passwd amavis > /dev/null ; then + + adduser --system --ingroup amavis --home /var/lib/amavis \ + --gecos "AMaViS system user" --shell /bin/sh \ + --quiet --disabled-password amavis || { + # adduser failed. Why? + if getent passwd amavis >/dev/null ; then + echo "Non-system user amavis found. I will not overwrite a non-system" >&2 + echo "user. Remove the user and reinstall amavisd-new." >&2 + exit 1 + fi + # unknown adduser error, simply exit + exit 1 + } + + fi + + # Clean up after #190414 + homedir=$(getent passwd amavis | cut -d : -f 6) + if [ "x${homedir}" = "x/" ] ; then + echo 'WARNING! Homedir of user amavis was set to "/", this is' >&2 + echo 'extremely dangerous! Overriding it to /var/lib/amavis...' >&2 + homedir=/var/lib/amavis + usermod -d "${homedir}" amavis + fi + + # Sanity-checks (see #367807) + if [ ! -d "${homedir}" ] ; then + echo "Broken amavis system user found. To insure data-safety," >&2 + echo "it is up to you the local administrator to remove the broken" >&2 + echo "amavis user, or repair it so that it is sane" >&2 + exit 1 + fi + + # in order to give all critical dirs sane permissions we first check + # if we have the packages standard permissions, if yes we delete them, + # if no we alert the admin. + for i in /var/lib/amavis:755:0750:amavis:amavis /var/lib/amavis/db:755:0750:amavis:amavis \ + /var/lib/amavis/tmp:755:0770:amavis:amavis /var/lib/amavis/virusmails:755:0750:amavis:amavis + do + dir=$(echo $i | cut -d : -f 1) + perms_local=$(dpkg-statoverride --list "$dir" | awk '{print $4,$3,$1,$2}' | tr -s " " ":") + if [ "$perms_local" ] ; then + perms_old=$(echo $i | cut -d : -f 1,2,4,5) + perms_new=$(echo $i | cut -d : -f 1,3,4,5) + mode_others=$(dpkg-statoverride --list "$dir" | awk '{print $3}' | sed 's/.*\([0-9]\{1\}\)$/\1/') + if [ "$perms_local" = "$perms_old" ] ; then + dpkg-statoverride --remove "$dir" + elif [ "$perms_local" != "$perms_new" ] && [ "$mode_others" != "0" ] ; then + echo + echo "WARNING: $dir has set custom permissions which may be too open - please take a look at README.Debian!" + echo + fi + fi + done + + umask 022 + for i in /var/lib/amavis:0750 /var/lib/amavis/db:0750 /var/lib/amavis/tmp:0770 \ + /var/lib/amavis/virusmails:0750 /var/run/amavis:0755 + do + dir=$(echo $i | cut -d : -f 1) + perm=$(echo $i | cut -d : -f 2) + if [ ! -d "$dir" ] ; then + mkdir -p "$dir" + fi + if ! dpkg-statoverride --list "$dir" > /dev/null ; then + dpkg-statoverride --update --add amavis amavis "$perm" "$dir" + fi + done + + # + # Conffile upgrade handling + # + + # from sarge amavisd-new (1.0) and previous + # disable the config file, initscript will refuse to run + db_fset amavisd-new/outdated_config_style_warning seen false || true + for i in /etc/amavisd.conf /etc/amavis/amavisd.conf ; do + if [ -e "$i" ] ; then + mv "$i" "${i}.disabled" || true + db_input high amavisd-new/outdated_config_style_warning || true + db_go || true + fi + done + + # Work around dpkg not deleting removed conffiles + + # (template directories (with files) removed in 1:2.3.3-2) + if dpkg --compare-versions "1:2.3.3-2" gt-nl "$2" ; then + for i in pt_BR fr it_IT de_DE ; do + if [ -e "/etc/amavis/$i" ] ; then + echo "Moving outdated l10n template to /etc/amavis/${i}.outdated_for_2.3.3-2" >&2 + mv "/etc/amavis/$i" "/etc/amavis/${i}.outdated_for_2.3.3-2" + fi + done + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# We don't need debconf anymore from here on +db_stop + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +init_failed () +{ + echo "WARNING: Starting amavisd-new failed. Please check your configuration." +} +#DEBHELPER# + +exit 0 + --- amavisd-new-2.7.1.orig/debian/amavisd-new-cronjob.8 +++ amavisd-new-2.7.1/debian/amavisd-new-cronjob.8 @@ -0,0 +1,39 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH AMAVISD-NEW-CRONJOB 8 "2006-08-10" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +amavisd-new-cronjob \- Cronjobs for the Debian amavisd-new package +.SH SYNOPSIS +.B amavisd-new-cronjob +.I sa-sync +| +.I sa-clean +.br +.SH DESCRIPTION +.B amavisd-new-cronjob +is a helper script that contains the cron job routines used by the +amavisd-new Debian package. It exists to help deployment in high-security +environments, such as SE-Linux. +.PP +This helper script is called by entries in the system crontab directories, +as usual. +.SH SEE ALSO +.BR /usr/share/doc/amavisd-new/* +.br +.SH AUTHOR +This manual page was written by Henrique de Moraes Holschuh , +for the Debian GNU/Linux system (but may be used by others). --- amavisd-new-2.7.1.orig/debian/amavisd-new.cron.d +++ amavisd-new-2.7.1/debian/amavisd-new.cron.d @@ -0,0 +1,6 @@ +# +# SpamAssassin maintenance for amavisd-new +# +# m h dom mon dow user command +18 */3 * * * amavis test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-sync +24 1 * * * amavis test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-clean --- amavisd-new-2.7.1.orig/debian/amavisd-new-postfix.postinst +++ amavisd-new-2.7.1/debian/amavisd-new-postfix.postinst @@ -0,0 +1,93 @@ +#! /bin/sh +# postinst script for amavisd-new-postfix + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +POSTFIX_BCKFILE="/var/backups/amavisd-new-postfix/main.cf-backup" +POSTFIX_MASTER_BCKFILE="/var/backups/amavisd-new-postfix/master.cf-backup" + +set_postfix_option() { + opt="$1" + # Backup the existion value of the option + postconf $(echo ${opt} | cut -d= -f1) >> ${POSTFIX_BCKFILE} || true + # Set the new value of the option + postconf -e "${opt}" +} + +case "$1" in + configure) + if [ -f "/etc/postfix/main.cf" ]; then + if [ -z "$2" -o ! -e "$POSTFIX_BCKFILE" ]; then + if which postconf >/dev/null; then + # Setup postfix + set_postfix_option "content_filter = smtp-amavis:[localhost]:10024" + set_postfix_option "policy-spf_time_limit = 3600s" + SMTPD_RECIP_RESTR=`postconf smtpd_recipient_restrictions` + set_postfix_option "$SMTPD_RECIP_RESTR, check_policy_service unix:private/policy-spf" + fi + cp /etc/postfix/master.cf $POSTFIX_MASTER_BCKFILE + postfix-add-policy policy-spf nobody /usr/bin/policyd-spf + postfix-add-filter smtp-amavis 10025 + fi + else + echo "" + echo "Postfix not configured. Run" + echo "sudo dpkg-reconfigure postfix and choose" + echo "the type of mail server. Then run" + echo "sudo dpkg-reconfigure amavisd-new-postfix to" + echo "finish amavisd-new-postfix installation." + echo "" + fi + if [ -x "/etc/init.d/postfix" ]; then + if [ -x /usr/sbin/invoke-rc.d ]; then + invoke-rc.d postfix restart + else + /etc/init.d/postfix restart + fi + fi + if [ -x "/etc/init.d/amavis" ]; then + if [ -x /usr/sbin/invoke-rc.d ]; then + invoke-rc.d amavis restart + else + /etc/init.d/amavis restart + fi + fi + + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- amavisd-new-2.7.1.orig/debian/amavisd-new.init +++ amavisd-new-2.7.1/debian/amavisd-new.init @@ -0,0 +1,146 @@ +#! /bin/sh +# +# amavisd /etc/init.d/ initscript for amavisd-new +# $Id: amavisd-new.init 800 2006-01-31 00:07:45Z hmh $ +# +# Copyright (c) 2003 by Brian May +# and Henrique M. Holschuh +# Distributed under the GPL version 2 +# +# +# How this thing works: +# ${START} must be only what is needed for start-stop-daemon, DO NOT +# ADD ANY PARAMETERS HERE! we might use it for --test, for example. +# ${STOP} works just like ${START}, --signal is used with it. +# +# ${PARAMS} are the parameters to give the daemon when really starting +# it. +### BEGIN INIT INFO +# Provides: amavisd-new +# Required-Start: $syslog $network $local_fs $remote_fs +# Required-Stop: $syslog $network $local_fs $remote_fs +# Should-Start: +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Starts amavisd-new mailfilter +# Description: Launches the amavisd-new mailfilter +### END INIT INFO + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/amavisd-new +DAEMON2=/usr/bin/perl +NAME=amavisd +DAEMONNAME=amavisd-new +DESC=amavisd +PIDFILE=/var/run/amavis/${NAME}.pid + +. /lib/lsb/init-functions + +test -f ${DAEMON} || exit 0 + +set -e + +START="--start --quiet --pidfile $PIDFILE --startas ${DAEMON}" +STOP="--stop --quiet --pidfile $PIDFILE" +PARAMS= + +check_noncompatible_upgrade() { + for i in /etc/amavisd.conf /etc/amavis/amavisd.conf ; do + if [ -e "${i}.disabled" ] ; then + echo "Found incompatible config file flag!" >&2 + echo "Due to safety concerns, amavisd-new will not be started." >&2 + echo "Refer to /usr/share/doc/amavisd-new/README.Debian for instructions." >&2 + exit 1 + fi + done +} + +createdir() { +# $1 = user +# $2 = group +# $3 = permissions (octal) +# $4 = path to directory + [ -d "$4" ] || mkdir -p "$4" + chown -c -h "$1:$2" "$4" + chmod -c "$3" "$4" +} + +fixdirs() { + dir=$(dpkg-statoverride --list /var/run/amavis) || { + echo "You are missing a dpkg-statoverride on /var/run/amavis. Fix it, otherwise you risk silent breakage on upgrades." >&2 + exit 1 + } + [ -z "$dir" ] || createdir $dir + : +} + +cleanup() { + [ -d /var/lib/amavis ] && + find /var/lib/amavis -maxdepth 1 -name 'amavis-*' -type d \ + -exec rm -rf "{}" \; >/dev/null 2>&1 || true + [ -d /var/lib/amavis/tmp ] && + find /var/lib/amavis/tmp -maxdepth 1 -name 'amavis-*' -type d \ + -exec rm -rf "{}" \; >/dev/null 2>&1 || true + : +} + +case "$1" in + start) + echo -n "Starting $DESC: " + fixdirs + check_noncompatible_upgrade + if start-stop-daemon ${START} -- ${PARAMS} start >/dev/null ; then + echo "amavisd-new." + else + if start-stop-daemon --test ${START} >/dev/null 2>&1; then + echo "(failed)." + exit 1 + else + echo "(already running)." + exit 0 + fi + fi + ;; + stop) + echo -n "Stopping $DESC: " + if start-stop-daemon ${STOP} --retry 10 >/dev/null ; then + cleanup + echo "amavisd-new." + else + if start-stop-daemon --test ${START} >/dev/null 2>&1; then + echo "(not running)." + exit 0 + else + echo "(failed)." + exit 1 + fi + fi + ;; +# reload) +# echo "Reloading $DESC configuration files." +# start-stop-daemon ${STOP} --signal 1 +# ;; + restart|force-reload) + $0 stop + exec $0 start + ;; + debug|debug-sa) + mode="$1" + echo "Trying to run amavisd-new in ${mode} mode..." + fixdirs + check_noncompatible_upgrade + exec ${DAEMON} ${PARAMS} "${mode}" + ;; + status) + status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $? + ;; + *) + N=/etc/init.d/amavis + #echo "Usage: $N {start|stop|restart|reload|force-reload|debug}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status|debug}" >&2 + exit 1 + ;; +esac + +exit 0 --- amavisd-new-2.7.1.orig/debian/amavisd-new-postfix.dirs +++ amavisd-new-2.7.1/debian/amavisd-new-postfix.dirs @@ -0,0 +1,3 @@ +var/backups +var/backups/amavisd-new-postfix +etc/amavis/conf.d --- amavisd-new-2.7.1.orig/debian/amavisd-new.examples +++ amavisd-new-2.7.1/debian/amavisd-new.examples @@ -0,0 +1,3 @@ +amavisd-agent +amavisd.conf-default +amavisd-custom.conf --- amavisd-new-2.7.1.orig/debian/amavisd-new.8 +++ amavisd-new-2.7.1/debian/amavisd-new.8 @@ -0,0 +1,107 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" $Id: amavisd-new.8 799 2006-01-30 23:54:32Z hmh $ +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH AMAVISD-NEW 8 "2003-01-01" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +amavisd-new \- Interface between MTA and virus scanner/content filters +.SH SYNOPSIS +.B amavisd-new +[ +.B -u +.I userid +] +[ +.B -g +.I groupid +] +[ +.B -c +.I config-file +]... +[ +.B start +| +.B stop +| +.B reload +| +.B debug +| +.B debug-sa +| +.B foreground +] +.br +.SH DESCRIPTION +.B amavisd +is a high-performance interface between message transfer +agent (MTA) and virus scanners and/or spam scanners. +.PP +This is the amavisd-new incarnation of amavisd. It is a performance-enhanced +and feature-enriched version of the original amavisd program. +.PP +Amavisd-new works as a SMTP proxy. Email is fed to it through SMTP, processed, +and fed back to the MTA through a new SMTP connection. There is no buffering +to disk by amavis, it will report that the transfer was sucessfull only after +the forwarding MTA has accepted the message. +.PP +It is possible to use the sendmail milter interface instead of the SMTP +proxy method, as well. +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +.SH OPTIONS +.TP +.B \-c configfile +Use the specified configuration file instead of using run-parts(8) to find +config files in /usr/share/amavis/conf.d and /etc/amavis/conf.d (this is a +Debian extension to Amavisd-new). More than one \-c option can be specified +and the files will be read in the order given. +.TP +.B \-u userid +Try to switch to that user id. +.TP +.B \-g groupid +Try to switch to that group id. +.TP +.B start +Starts amavisd-new +.TP +.B stop +Stops a running amavisd-new +.TP +.B reload +Reloads configuration from config file (may in fact just restart amavisd-new) +.TP +.B debug +Runs amavisd-new in debug mode +.TP +.B debug-sa +Runs amavisd-new in spamassassin debug mode +.TP +.B foreground +Does not fork to background +.SH FILES +.BR /etc/amavis/amavisd.conf, +.BR /var/lib/amavis, +.BR /var/run/amavis/amavisd.pid +.SH SEE ALSO +.BR /usr/share/doc/amavisd-new/* +.br +.SH AUTHOR +This manual page was written by Henrique de Moraes Holschuh , +for the Debian GNU/Linux system (but may be used by others). --- amavisd-new-2.7.1.orig/debian/amavisd-new.prerm +++ amavisd-new-2.7.1/debian/amavisd-new.prerm @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +init_failed () +{ + echo "WARNING: Stopping amavisd-new failed! Upgrade or removal may be incomplete!" +} +#DEBHELPER# + --- amavisd-new-2.7.1.orig/debian/watch +++ amavisd-new-2.7.1/debian/watch @@ -0,0 +1,2 @@ +version=2 +opts="dversionmangle=s/\.dfsg//" http://www.ijs.si/software/amavisd/ (?:.*/)?amavisd-new-(\d\.\d\.\d).tar.gz --- amavisd-new-2.7.1.orig/debian/amavisd-new-postfix.postrm +++ amavisd-new-2.7.1/debian/amavisd-new-postfix.postrm @@ -0,0 +1,20 @@ +#!/bin/sh +set -e + +POSTFIX_BCKFILE="/var/backups/amavisd-new-postfix/main.cf-backup" + +if [ "$1" = "remove" ]; then + if which postconf >/dev/null && [ -f "${POSTFIX_BCKFILE}" ]; then + while read line; do + postconf -e "$line" + done < "${POSTFIX_BCKFILE}" + rm -f "${POSTFIX_BCKFILE}" + fi + if [ -x "/etc/init.d/postfix" ]; then + if [ -x /usr/sbin/invoke-rc.d ]; then + invoke-rc.d postfix reload + else + /etc/init.d/postfix reload + fi + fi +fi --- amavisd-new-2.7.1.orig/debian/amavisd-new-cronjob +++ amavisd-new-2.7.1/debian/amavisd-new-cronjob @@ -0,0 +1,43 @@ +#!/bin/bash + +# amavisd-new cronjob helper +# +# Run it as the amavis user +# +# First parameter specifies which cronjob routine to run: +# sa-sync: spamassassin fast sync +# sa-clean: spamassassin cleanup + +test -e /usr/bin/sa-learn || exit 0 +test -e /usr/sbin/amavisd-new || exit 0 + +if [ "$(id --name -u)" != "amavis" ] +then + echo "Please run this cronjob as user amavis" + exit 1 +fi + +set -e +umask 022 + +if ! perl -MMail::SpamAssassin -e "my \$spamtest = Mail::SpamAssassin->new(); +\$spamtest->compile_now (); \$spamtest->{conf}->{use_bayes} ? exit 0 : exit 1" +then + #bayes is disabled - just exit + exit +fi + +case $1 in + sa-sync) + /usr/bin/sa-learn --sync 2>&1 >/dev/null + ;; + sa-clean) + /usr/bin/sa-learn --sync --force-expire 2>&1 >/dev/null + ;; + *) + echo "$0: unknown cron routine $1" >&2 + exit 1 + ;; +esac + +exit 0 --- amavisd-new-2.7.1.orig/debian/control +++ amavisd-new-2.7.1/debian/control @@ -0,0 +1,51 @@ +Source: amavisd-new +Section: mail +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Brian May +Uploaders: Henrique de Moraes Holschuh , Alexander Wirt +Build-Depends: debhelper (>= 5), po-debconf, dpatch (>= 2), patch (>= 2.5.9-3bpo1), dpkg-dev (>= 1.13.19) +Standards-Version: 3.9.3 +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=amavisd-new/pkg-amavisd-new.git;a=summary +Vcs-Git: git://anonscm.debian.org/amavisd-new/pkg-amavisd-new.git + +Package: amavisd-new +Architecture: all +Depends: debconf | debconf-2.0, adduser (>= 3.34), file, libmime-tools-perl, libconvert-tnef-perl (>= 0.06), libconvert-uulib-perl (>= 1.0.5), libarchive-tar-perl, libarchive-zip-perl (>= 1.14), libmailtools-perl (>= 1.58), libunix-syslog-perl, libnet-server-perl, libtime-hires-perl, libdigest-md5-perl, libmime-base64-perl, libio-stringy-perl, libberkeleydb-perl, libmail-dkim-perl, pax, perl (>= 5.10.1) | libcompress-raw-zlib-perl (>= 2.017), ${perl:Depends}, ${misc:Depends} +Provides: amavis +Conflicts: amavis, logcheck (<= 1.2.62) +Replaces: amavis +Suggests: spamassassin (>= 3.1.0a), clamav, clamav-daemon, lha, arj, unrar, zoo, nomarch, cpio, lzop, cabextract, apt-listchanges (>= 2.35), libnet-ldap-perl (>= 1:0.32), libauthen-sasl-perl, libdbi-perl (>= 1.43), dspam, libmail-dkim-perl (>= 0.31), p7zip, rpm, unrar-free, libsnmp-perl, lhasa, altermime, ripole +Recommends: libnet-patricial-perl +Description: Interface between MTA and virus scanner/content filters + AMaViSd-new is a script that interfaces a mail transport agent (MTA) with + zero or more virus scanners, and spamassassin (optional). + . + It supports all common virus scanners (more than 20 different AVs), with + direct talk-to-daemon support for ClamAV, OpenAntiVirus, Trophie, AVG, + f-prot, and Sophos AVs. + . + AMaViSd-new supports all MTAs through its generic SMTP/LMTP filter mode + (ideal for postfix and exim). It is faster and safer to use the SMTP/LMTP + filter mode than using the AMaViS pipe client. It supports sendmail milter + through the amavisd-new-milter package. + +Package: amavisd-new-postfix +Architecture: all +Depends: ${shlibs:Depends}, amavisd-new (= ${source:Version}), ${misc:Depends}, postfix, postfix-policyd-spf-python, spamassassin +Recommends: clamav-daemon, clamav-freshclam, zoo, unzip, unarj, bzip2 +Description: part of Ubuntu mail stack provided by Ubuntu server team + AMaViSd-new is a script that interfaces a mail transport agent (MTA) with + zero or more virus scanners, and spamassassin (optional). + . + It supports all common virus scanners (more than 20 different AVs), with + direct talk-to-daemon support for ClamAV, OpenAntiVirus, Trophie, AVG, + f-prot, and Sophos AVs. + . + AMaViSd-new supports all MTAs through its generic SMTP/LMTP filter mode + (ideal for postfix and exim). It is faster and safer to use the SMTP/LMTP + filter mode than using the AMaViS pipe client. It supports sendmail milter + through this package. + . + This package contains configuration files for amavis and alters postfix + configuration to utilize amavisd-new. --- amavisd-new-2.7.1.orig/debian/amavisd-new.files +++ amavisd-new-2.7.1/debian/amavisd-new.files @@ -0,0 +1,3 @@ +etc +usr/sbin +usr/share --- amavisd-new-2.7.1.orig/debian/amavisd-new.templates +++ amavisd-new-2.7.1/debian/amavisd-new.templates @@ -0,0 +1,24 @@ +Template: amavisd-new/outdated_config_style_warning +Type: note +_Description: Incompatible configuration file layout detected + The Debian packages have changed the way they handle configuration files + for amavisd-new to a better system, which uses multiple files instead of a + single, monolithic file. + . + The old amavisd-new configuration files that are still present in your + system (named either /etc/amavisd.conf or /etc/amavis/amavisd.conf) are + incompatible with this new config file layout. + . + You should read /usr/share/doc/amavisd-new/README.Debian to understand the + new configuration layout, and after that you should port your + configuration to the new layout. + . + For your safety, the old configuration files in your system have been + disabled, and a ".disabled" postfix was added to their file names. The + amavisd-new service will refuse to start until you remove (or rename) + these ".disabled" files. + . + This safety is in place to avoid starting an unconfigured amavisd-new in + place of your previously configured one. Do not remove the ".disabled" + files until you have read the /usr/share/doc/amavisd-new/README.Debian + file and ported your old configuration to the new layout. --- amavisd-new-2.7.1.orig/debian/changelog +++ amavisd-new-2.7.1/debian/changelog @@ -0,0 +1,1905 @@ +amavisd-new (1:2.7.1-2ubuntu3) quantal; urgency=low + + * debian/control: drop altermime and ripole to Suggests after discussions + with the server team. (LP: 992879) + + -- Jamie Strandboge Fri, 21 Sep 2012 10:23:40 -0500 + +amavisd-new (1:2.7.1-2ubuntu2) quantal; urgency=low + + * Fix invalid 'spf-policyd_time_limit' parametere in + amavisd-new-postifx (LP: #996569) + + -- Ante Karamatic Sun, 29 Jul 2012 10:31:31 +0200 + +amavisd-new (1:2.7.1-2ubuntu1) quantal; urgency=low + + * Merge from Debian unstable, remaining changes: + - amavisd-new-postfix configuration for anti-spam/virus + - Add information in README.Debian about Ubuntu specific changes + - Ubuntu configuration changes in 21-ubuntu_defaults + - Reduce email responses for virus/blocked mail so as not to be a + backscatter source by default + - Enable DKIM checking by default + - Include policy-bank of known good domains for DKIM whitelisting + in 40-policy_banks + - Drop use of hardening-wrapper, since we're no longer compiling + anything. + + -- Logan Rosen Tue, 10 Jul 2012 22:05:35 -0400 + +amavisd-new (1:2.7.1-2) unstable; urgency=low + + * [02ccf50] Add free lha decompresser (Closes: #677692) + + -- Alexander Wirt Sat, 16 Jun 2012 19:04:24 +0200 + +amavisd-new (1:2.7.1-1ubuntu1) quantal; urgency=low + + * Merge from Debian unstable, remaining changes: + - amavisd-new-postfix configuration for anti-spam/virus + - Add information in README.Debian about Ubuntu specific changes + - Ubuntu configuration changes in 21-ubuntu_defaults + - Reduce email responses for virus/blocked mail so as not to be a + backscatter source by default + - Enable DKIM checking by default + - Include policy-bank of known good domains for DKIM whitelisting + in 40-policy_banks + * Drop use of hardening-wrapper, since we're no longer compiling anything. + + -- Steve Langasek Tue, 01 May 2012 05:40:33 +0000 + +amavisd-new (1:2.7.1-1) unstable; urgency=low + + * [a1fea9f] Imported Upstream version 2.7.1 + * [a96f241] Bump standards version + + -- Alexander Wirt Sun, 29 Apr 2012 08:50:46 +0200 + +amavisd-new (1:2.7.0-2) unstable; urgency=low + + * [4fa518e] Don't use su to call the cronjob + (Closes: #652894, #654010,#654971) + * [443ce9f] Move amavisd-new.cron.daily to amavisd-new.cron.d + and run as amavis + * [9618a0f] Recommend libnet-patricial-perl (Closes: #665467) + * [6aa7cfb] Recommend altermime and ripole (Closes: #665469) + * [3963df7] Allow perl as alternative for libzlib-perl (Closes: #582168) + + -- Alexander Wirt Thu, 19 Apr 2012 08:49:53 +0200 + +amavisd-new (1:2.7.0-1) unstable; urgency=low + + [ Alexander Wirt ] + * [f29708b] Add vcs-headers to control file + * [579b332] Imported Upstream version 2.6.6 + * [5976c52] Imported Upstream version 2.7.0 (Closes: #635769) + - Fix logging (Closes: #599514) + * [ba6e404] Remove milter related patches + * [3beda00] remove 65_fixtldcheck.dpatch (included upstream) + * [1096aa6] Remove 90_do_not_send_dsn_if_D_REJECT (added upstream) + * [db4c7b2] amavisd.conf-sample is not included anymore + * [d7e2402] Bump standards version (No changes) + * [ca0dfd2] Add new l10n templates and update old ones + * [6e8e726] Add override for dpatch deprecation warning + * [b4e4fa6] Remove --name check from initscript (Closes: #652026, #649358) + * [3cd36e2] Silence cronjob (Closes: #483537) + * [6088687] Check if bayes is disabled (Closes: #635861) + * [aea5285] use bash in shebang for cronjob (Closes: #605692) + + [ Harald Jenny ] + * [0977bee] update two missed l10n templates + + -- Alexander Wirt Sun, 18 Dec 2011 20:08:41 +0100 + +amavisd-new (1:2.6.5-0ubuntu3) oneiric; urgency=low + + * debian/patches/00patch-opts: "-U" option to patch is obsolete, replaced + with --reject-format=unified. + + -- Steve Langasek Tue, 16 Aug 2011 23:24:31 -0700 + +amavisd-new (1:2.6.5-0ubuntu2) natty; urgency=low + + * Fix amavisd-new-postfix to be arch all since it has no arch specific + content + + -- Scott Kitterman Thu, 07 Apr 2011 18:46:45 -0400 + +amavisd-new (1:2.6.5-0ubuntu1) natty; urgency=low + + * New upstream bugfix release + - Update 65_fixtldcheck.dpatch to match upstream changes + - Remove 90_do_not_send_dsn_if_D_REJECT.dpatch, was cherrypicked, included + upstream + * Merge from Debian unstable. Remaining Ubuntu changes: + - amavisd-new-postfix configuration for anti-spam/virus + - Add and enable hardened build for PIE + - Add information in README.Debian about Ubuntu specific changes + - Ubuntu configuration changes in 21-ubuntu_defaults + - Reduce email responses for virus/blocked mail so as not to be a + backscatter source by default + - Enable DKIM checking by default + - Include policy-bank of known good domains for DKIM whitelisting + in 40-policy_banks + + -- Scott Kitterman Thu, 07 Apr 2011 16:23:22 -0400 + +amavisd-new (1:2.6.4-4) unstable; urgency=low + + [ Alexander Wirt ] + * Fix ESET CLI virus scanner definition. + Thanks to Thomas Liske (Closes: #622848) + * Really apply 90_do_not_send_dsn_if_D_REJECT.dpatch (Closes: #607746) + * Fix dpkg --compare-versions in amavisd-new.postinst (Closes: #629457) + * Do not mention nagios in README.source (Closes: #607745) + * Add danish debconf translation. + Thanks to Joe Dalton (Closes: #597761) + + -- Alexander Wirt Tue, 07 Jun 2011 21:05:26 +0200 + +amavisd-new (1:2.6.4-3) unstable; urgency=low + + * Update maintainer email address + + -- Alexander Wirt Thu, 16 Dec 2010 20:41:09 +0100 + +amavisd-new (1:2.6.4-2) unstable; urgency=low + + * Add amavisd-custom.conf to examples + * Backport a patch from trunk to prevent dsns in pre-queue + setups. + * Clean exit in cron.daily if amavisd-new isn't installed anymore + (Closes: #563064) + * Depend on newer libcompress-raw-zlib-perl (Closes: #536369) + * Make cronjob silent (Closes: #561311). Thanks to J.M.Roth for the patch + * Remove amavisd-new milter (obsolete by upstream) (Closes: #452843, #542722) + * Add README.source + * Bump standards version + * Update README.Debian (thanks to Harald Jenny for the help) + * Add spamassassin helper to /etc/spamassassin/sa-update-hooks.d + so that amavisd-new gets restarted if spamassassin rules have been updated + * Add and patch amavisd-snmp-subagent (Closes: #539289) + * Force package to source 1.0 + * Add status function to initscript + + -- Alexander Wirt Tue, 26 Jan 2010 11:31:00 +0100 + +amavisd-new (1:2.6.4-1ubuntu6) maverick; urgency=low + + * Initial amavisd-new-postfix configuration: + - AntiSpam: Amavis, Spamassassin, SPF + - AntiVirus: Amavis, ClamAV + + -- Ante Karamatic Mon, 02 Aug 2010 21:24:32 +0200 + +amavisd-new (1:2.6.4-1ubuntu5) lucid; urgency=low + + * debian/amavisd-new.cron.daily: Fail gracefully if package has been removed + (LP: #428814) + + -- Thierry Carrez Mon, 29 Mar 2010 12:05:32 +0200 + +amavisd-new (1:2.6.4-1ubuntu4) lucid; urgency=low + + * rebuild rest of main for armel armv7/thumb2 optimization; + UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2 + + -- Alexander Sack Fri, 05 Mar 2010 03:09:16 +0100 + +amavisd-new (1:2.6.4-1ubuntu3) karmic; urgency=low + + * debian/{control,rules}: add and enable hardened build for PIE + (Debian bug 542722). + + -- Kees Cook Thu, 20 Aug 2009 17:23:07 -0700 + +amavisd-new (1:2.6.4-1ubuntu2) karmic; urgency=low + + * Add libcompress-raw-zlib-perl (> 2.020) to Recommends so zip files can be + extracted + + -- Scott Kitterman Thu, 09 Jul 2009 09:39:44 -0400 + +amavisd-new (1:2.6.4-1ubuntu1) karmic; urgency=low + + * Merge from debian unstable, remaining changes: + - Add information in README.Debian about Ubuntu specific changes + - Ubuntu configuration changes in 21-ubuntu_defaults + - Reduce email responses for virus/blocked mail so as not to be a + backscatter source by default + - Enable DKIM checking by default + - Include policy-bank of known good domains for DKIM whitelisting + in 40-policy_banks + - Bump required version of libconvert-uulib-perl to (>= 1.0.8) + - Version depends on libmail-dkim-perl to (>= 0.31) and do not also + suggest it + - Retain depends on libcompress-zlib-perl for backports + + -- Scott Kitterman Thu, 09 Jul 2009 01:29:14 -0400 + +amavisd-new (1:2.6.4-1) unstable; urgency=low + + * New upstream release + - Fix bitdefender detection (Closes: #510985) + - allow customizing SMTP-status response reason + text for blocked messages (Closes: #281752) + * Don't enable whitelists per default since sender can be forged + * Remove 90_fix_spamscanners (included upstream) + * Bump standards version (no changes) + * Add missing ';' to example $myhostname definition + * Explicitly disable dkim to prevent a warning + * Depend on libmail-dkim-perl + * Remove versioned dependency on libcompress-zlib-perl + (now included in perl core) + + -- Alexander Wirt Fri, 03 Jul 2009 15:50:52 +0200 + +amavisd-new (1:2.6.3-3ubuntu1) karmic; urgency=low + + * Merge from debian unstable, remaining changes: LP: #379979 + - Add information in README.Debian about Ubuntu specific changes + - Ubuntu configuration changes in 21-ubuntu_defaults + - Reduce email responses for virus/blocked mail so as not to be a + backscatter source by default + - Enable DKIM checking by default + - libmail-dkim-perl (>= 0.31) recommends instead of suggests + - Include policy-bank of known good domains for DKIM whitelisting + in 40-policy_banks + - Add missing ; to default hostname option in debian/etc/conf.d/05-node_id + - Bump required version of libconvert-uulib-perl to (>= 1.0.8) + + -- Bhavani Shankar Mon, 25 May 2009 19:01:04 +0530 + +amavisd-new (1:2.6.3-3) unstable; urgency=low + + * Fix socketpath for clamav in 15-avscanners + + -- Alexander Wirt Sat, 23 May 2009 12:14:44 +0200 + +amavisd-new (1:2.6.3-2) unstable; urgency=low + + * Don't fail if antispamcode is deactived and spamassassin is not installed + (Closes: #526529) + * Fix spamscanner definitions for secondary spamscanners. + * Bump standards version (no changeѕ needed) + + -- Alexander Wirt Sat, 23 May 2009 11:34:09 +0200 + +amavisd-new (1:2.6.3-1ubuntu1) karmic; urgency=low + + * Merge from debian unstable, remaining changes: + - Add information in README.Debian about Ubuntu specific changes + - Ubuntu configuration changes in 21-ubuntu_defaults + - Reduce email responses for virus/blocked mail so as not to be a + backscatter source by default + - Enable DKIM checking by default + - libmail-dkim-perl (>= 0.31) recommends instead of suggests + - Include policy-bank of known good domains for DKIM whitelisting + in 40-policy_banks + - Add missing ; to default hostname option in debian/etc/conf.d/05-node_id + - Bump required version of libconvert-uulib-perl to (>= 1.0.8) + + -- Scott Kitterman Fri, 01 May 2009 01:17:03 -0400 + +amavisd-new (1:2.6.3-1) unstable; urgency=low + + * New upstream version (Closes: #525375) + - Fixes <> handling in notification mails (Closes: 522250) + * Call amavis cronjob with a shell (Closes: #389871) + * Add spanish translation (Closes: #518277). Thanks to + Francisco Javier Cuadrado for the translation. + * Fix misleading comments in 15-content_filter_mode (Closes: #471796) + * Bump standards version (no changes) + + -- Alexander Wirt Fri, 24 Apr 2009 09:40:23 +0200 + +amavisd-new (1:2.6.2-2ubuntu2) jaunty; urgency=low + + * fix default config to not send bounce mail to sender for + banned filenames in mail (LP: #360689) + - debian/etc/conf.d/21-ubuntu_defaults + + -- Imre Gergely Mon, 13 Apr 2009 23:02:24 +0300 + +amavisd-new (1:2.6.2-2ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes: + - Add information in README.Debian about Ubuntu specific changes + - Ubuntu configuration changes in 21-ubuntu_defaults + - Reduce email responses for virus/blocked mail so as not to be a + backscatter source by default + - Enable DKIM checking by default + - libmail-dkim-perl (>= 0.31) recommends instead of suggests + - Include policy-bank of known good domains for DKIM whitelisting + in 40-policy_banks + - Add missing ; to default hostname option in debian/etc/conf.d/05-node_id + - Add ${misc:Depends} for amavisd-new and amavisd-new-milter + - Bump required version of libconvert-uulib-perl to (>= 1.0.8) + + -- Scott Kitterman Tue, 10 Mar 2009 10:30:03 -0400 + +amavisd-new (1:2.6.2-2) unstable; urgency=medium + + * Update antivirusscanner definitions. This is security relevant since + some scanners may not work properly anymore without the update. + (Closes: #518524) + + -- Alexander Wirt Fri, 06 Mar 2009 22:10:30 +0100 + +amavisd-new (1:2.6.2-1) unstable; urgency=low + + * Fix DB Home for amavisd-nanny (Closes: #496599) + * Remove amavis user and group on purge (Closes: #495629) + * Update en_US templates (Closes: #496955) + * New upstream version + - No longer ships rfc4871 + - Tested which 5.10.0. Notifications should now work as expected + (Closes: #484625) + - Fixes bracket handling in macros (Closes: #507571) + * Update en_US templates (Closes: #496955) + * Make cronjob really, really silent (at least I hope so :)) + (Closes: #447040, #386366) + * Update logcheck rules (Closes: #498659) + * Add application/x-zip-compressed to banned examples (Closes: #481935) + * Depend on pax (Closes: #517156) + * Add p7zip, unrar-free and rpm to suggests (Closes: #511226) + * Add unrar-free to 01-debian (Closes: #442010) + * Adjust the clsiѕ regex to not ban valid files like {clsid}.ext + (Closes: #503047) + + -- Alexander Wirt Mon, 02 Mar 2009 22:20:39 +0100 + +amavisd-new (1:2.6.2-0ubuntu1) jaunty; urgency=low + + * New upstream release + - Tarball no longer needs to be repackaged because non-free IETF RFC has + been removed by upstream + * Add ${misc:Depends} for amavisd-new and amavisd-new-milter + + -- Scott Kitterman Mon, 15 Dec 2008 10:21:14 -0500 + +amavisd-new (1:2.6.2~rc2.dfsg-0ubuntu1) jaunty; urgency=low + + * New upstream RC release + - Bump required version of libconvert-uulib-perl to (>= 1.0.8~) + * Drop $warnbannedsender and $warnbadhsender from Ubuntu specific config + - They are unset by default and should be left that way to keep the + default configuration from being a backscatter source + + -- Scott Kitterman Sat, 06 Dec 2008 00:55:44 -0500 + +amavisd-new (1:2.6.1.dfsg-2ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - Add information in README.Debian about Ubuntu specific changes + - libmail-dkim-perl (>= 0.31) recommends instead of suggests and + enable DKIM checking by default + - Include policy-bank of known good domains for DKIM whitelisting + in 40-policy_banks + - Add unrar-free to 01-debian config so it will be used if intstalled and + also add it as an alternate suggests to unrar + - Updated logcheck/ignore.d.server/amavisd-new + * Consolidate Ubuntu configuration changes in 21-ubuntu_defaults + - Reduce email responses for virus/blocked mail so as not to be a + backscatter source by default + * Add missing ; to default hostname option in debian/etc/conf.d/05-node_id + + -- Scott Kitterman Fri, 10 Oct 2008 23:58:30 -0400 + +amavisd-new (1:2.6.1.dfsg-2) unstable; urgency=low + + [ Christian Perrier ] + * Fix pending l10n bugs. Debconf translations: + * Brazilian Portuguese. Closes: #487417 + * Swedish. Closes: #498814 + * Basque. Closes: #498873 + + -- Alexander Wirt Sat, 27 Sep 2008 09:27:55 +0200 + +amavisd-new (1:2.6.1.dfsg-1ubuntu2) intrepid; urgency=low + + * Fix all the comments in debian/etc/conf.d/40-policy_banks so they + are actually comments (LP: #255251) + * Add information in README.Debian about Ubuntu specific changes + + -- Scott Kitterman Wed, 06 Aug 2008 22:39:06 -0400 + +amavisd-new (1:2.6.1.dfsg-1ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - libmail-dkim-perl (>= 0.31) recommends instead of suggests and + enable DKIM checking by default + - Include policy-bank of known good domains for DKIM whitelisting + in 40-policy_banks instead of 20-debian_defaults (previous Ubuntu + location) to minimize user prompts during upgrades + - Add unrar-free to 01-debian config so it will be used if intstalled and + also add it as an alternate suggests to unrar + - Updated logcheck/ignore.d.server/amavisd-new + * Other Ubuntu changes incorporated by Debian + + -- Scott Kitterman Fri, 01 Aug 2008 22:34:17 -0400 + +amavisd-new (1:2.6.1.dfsg-1) unstable; urgency=low + + * New upstream release + * Add libmail-dkim-perl (>= 0.31) to suggests (Closes: #487111) + * Fix socketpath in amavisd-release (Closes: #467189) + * Fix TLD check according to rfc2181 (Closes: #463587) + * Clarify FQDN errormessage (Closes: #451804) + + -- Alexander Wirt Thu, 24 Jul 2008 20:56:32 +0200 + +amavisd-new (1:2.6.0.dfsg-2ubuntu1) intrepid; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes: + - Updated logcheck/ignore.d.server/amavisd-new (LP: #188754) + - Add libmail-dkim-perl (>= 0.31) to recommends for new DKIM based + whitelisting + - Added 81_fqdn-warning.dpatch so that correct config file path for + Debian/Ubuntu is displayed if it needs to be set manually + - Renumbered from 71 to put it after the new Debian patch + - Added patch description + - Add commented out $myhostname definition to debian/etc/conf.d05-node_id + so that it will be easier for people who don't know Perl syntax to set + - Updated debian/patches/40_fix_paths.dpatch to use the new path + (/var/lib) for amavis-release + - Modify Maintainer value to match the DebianMaintainerField + specification. + * Drop previous Ubuntu changes in debian/control and debian/rules to remove + amavisd-new-milter package for transition to Main + - No longer needed now that libmilter is in Main + * Added unrar-free to 01-debian config so it will be used if intstalled + (Closes: #442010) + * Enable DKIM verification by default along with policy-bank whitelist + of good domains recommended in upstream documentation + + -- Scott Kitterman Thu, 03 Jul 2008 01:56:39 -0400 + +amavisd-new (1:2.6.0.dfsg-2) unstable; urgency=low + + * Remove rfc4871 from upstream tarball (Closes: #484881) + * Replace lib-mime-perl with lib-mime-tools-perl + * Bump standards version (No Changes) + + -- Alexander Wirt Wed, 02 Jul 2008 22:30:43 +0200 + +amavisd-new (1:2.6.0-1ubuntu1) intrepid; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes: + - Updated logcheck/ignore.d.server/amavisd-new (LP: #188754) + - Add libmail-dkim-perl (>= 0.31) to recommends for new DKIM based + whitelisting + - Added 81_fqdn-warning.dpatch so that correct config file path for + Debian/Ubuntu is displayed if it needs to be set manually + - Renumbered from 71 to put it after the new Debian patch + - Added patch description + - Add commented out $myhostname definition to debian/etc/conf.d05-node_id + so that it will be easier for people who don't know Perl syntax to set + - Updated debian/patches/40_fix_paths.dpatch to use the new path + (/var/lib) for amavis-release + - Remove amavisd-new-milter package for transition to Main + - Remove libmilter-dev from build-dep + - Comment out debian/rules related to amavisd-new-milter + - Change maintainer to Ubuntu Core Developers + + -- Scott Kitterman Wed, 11 Jun 2008 21:07:08 -0400 + +amavisd-new (1:2.6.0-1) unstable; urgency=low + + * New upstream version + * Updated debconf translations: + - German. Closes: #448244 + - Finnish. Closes: #480503 + - Italian. Closes: #480508 + - Russian. Closes: #480622 + - Basque. Closes: #481550 + Thanks to all translators and Christian Perrier for their work. + + -- Alexander Wirt Tue, 20 May 2008 18:57:16 +0200 + +amavisd-new (1:2.5.3-1ubuntu3) hardy; urgency=low + + * Update debian/patches/40_fix_paths.dpatch to use the new path (/var/lib) + for amavis-release (LP: #199124) + + -- Scott Kitterman Tue, 11 Mar 2008 00:13:51 -0400 + +amavisd-new (1:2.5.3-1ubuntu2) hardy; urgency=low + + * Remove amavisd-new-milter package for transition to Main + * Remove libmilter-dev from build-dep + * Comment out debian/rules related to amavisd-new-milter + * Change maintainer to Ubuntu Core Developers + + -- Scott Kitterman Fri, 08 Feb 2008 07:41:52 -0500 + +amavisd-new (1:2.5.3-1ubuntu1) hardy; urgency=low + + + * Merge from debian unstable, remaining changes: + - Added 71_fqdn-warning.dpatch so that correct config file path for + Debian/Ubuntu is displayed if it needs to be set manually. + - Add commented out $myhostname definition to debian/etc/conf.d05-node_id + so that it will be easier for people who don't know Perl syntax to set + - Change maintainer to MOTU + + -- Scott Kitterman Tue, 15 Jan 2008 14:14:32 -0500 + +amavisd-new (1:2.5.3-1) unstable; urgency=low + + * Enable quarantine hashing (Closes: #447240) + * Updated CLEAN logcheck rule (Closes: #450928, #451094). + Thanks to Andrew Gallagher for the patch. + * Bump standards version + + -- Alexander Wirt Thu, 20 Dec 2007 13:54:21 +0100 + +amavisd-new (1:2.5.2-2ubuntu1) hardy; urgency=low + + * Merge from Debian Unstable. Remaining Ubuntu changes: + - Freshend and renumbered 71_fqdn-warning.dpatch + - Add commented out $myhostname definition to debian/etc/conf.d05-node_id + so that it will be easier for people who don't know Perl syntax to set + - Change maintainer to MOTU + + -- Scott Kitterman Sun, 04 Nov 2007 01:18:46 -0400 + +amavisd-new (1:2.5.2-2) unstable; urgency=low + + * Make milter tempdir group writeable (Closes: #442372) + * Remove amavisd.conf from /etc - thanks to Piotr Szotkowski for reporting + * Add japanese translation - thanks to Kenshi Muto for providing + (Closes: #446589) + + -- Alexander Wirt Mon, 08 Oct 2007 10:27:14 +0200 + +amavisd-new (1:2.5.2-1) experimental; urgency=low + + * New upstream release (Closes: #427337, #434533) + * Don't remove the amavisd user (Closes: #431853) + * Fix unix socket path in /etc/amavis/conf.d/25-amavis_helpers + (Closes: #406998) + * Disable non-free unpackers (Closes: #410588) + * Add myself to uploaders + * Instead of interrupting the upgrade process if starting/stopping + amavisd-new just warn (Closes: #430028) + * Add suggestion to dspam (Closes: #423737) + * Add dutch po files (Closes: #413886) + * Add galician po file (Closes: #413459) + * Fix typos in debian configs (Closes: #414421) + * Fix comment for the X_HEADER_LINE option (Closes: #433268) + * Conflict against older versions of logcheck since we track logcheck files + now. + * Update logcheck rules (Closes: #406613, #406854, #409053) + + -- Alexander Wirt Wed, 05 Sep 2007 10:05:05 +0200 + +amavisd-new (1:2.4.3-1) unstable; urgency=low + + * New upstream source + * ACK NMU: closes: #390391 + * Switch to debhelper v5 + + debian/control: build-depend on debhelper >= 5 + + debian/compat: add, mode v5 + + debian/rules: drop DH_COMPAT + * Switch packaging to use dpatch for all changes + + debian/control: build-depend on dpatch >=2, and new-enough patch for + "patch -U" + + debian/rules: convert to dpatch mechanics + + 20_safe_path_at_init (split from amavisd): Set safe PATH before loading + and running config scripts + + 30_conf.d_support_builtin (split from amavisd): Support out-of-the-box + Debian-style conf.d dirs without the need of any hackery on the main + config file + + 40_fix_paths (split from amavisd-agent, amavisd-nanny, amavisd-release + README_FILES/README.chroot, README_FILES/README.old.scanners, + README_FILES/README.performance, README_FILES/README.sendmail, + README_FILES/README.sendmail-dual): Correct refrences to paths that + are different in Debian + + 45_misc_doc_chages (split from amavisd.conf-default, + README_FILES/README.courier, README_FILES/README.exim_v3, + README_FILES/README.milter): miscellaneous doc updates for Debian + + 50_amavis-milter_pidfile_support (split from helper-progs/ + amavis-milter.c): proper pidfile support for amavis-milter + + 55_helper-progs_build_fixes (split from helper-progs/Makefile.in, + helper-progs/configure.in): misc build fixes for helper-progs/ + * build-depend on autoconf2.13 because of helper-progs/ (YUCK!) + * autotool helper-progs/ at build-time, for now + * debian/control: build-depend on dpkg-dev >= 1.13.19, and change to + binNMU-friendly dependencies in amavisd-new-milter + * debian/control: add po-debconf build-dependency, thanks Lintian! + + -- Henrique de Moraes Holschuh Sat, 4 Nov 2006 01:40:27 -0300 + +amavisd-new (1:2.4.2-6.2ubuntu1) gutsy; urgency=low + + * Add dpatch to debian/rules, add build-dep on dpatch, add debian/patches, + and add debian/patches/00list + * Add 01fqdn-warning.dpatch so that correct config file path for Debian/ + Ubuntu is displayed if it needs to be set manually. + * Change default MTA to Postfix in debian/control + * Add commented out $myhostname definition to debian/etc/conf.d05-node_id + so that it will be easier for people who don't know Perl syntax to set + * Change maintainer to MOTU + * Add debian/compat and bump to 5, adjust debhelper version in build-dep + * Add [ ! -f Makefile ] || to clean in debian/rules to avoid trapping all + errors. + + -- Scott Kitterman Thu, 04 Oct 2007 14:57:45 -0400 + +amavisd-new (1:2.4.2-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Use $(CURDIR) instead of $(PWD) in debian/rules (closes: #390391). + + -- martin f. krafft Sat, 7 Oct 2006 17:47:58 +0200 + +amavisd-new (1:2.4.2-1) unstable; urgency=low + + * New upstream version: + + new feature: "pen pals soft-whitelisting" lowers spam score of + received replies to a message previously sent by a local user to this + address + + new features: added command line options to override certain + configuration settings from a config file + + documentation bug fixes, specially on the use of SQL data type + TIMESTAMP + + zoo decoder interface routine can now use utility unzoo(1) or + zoo(1) + + LDAP schema change: amavisSpamSubjectTag renamed to + amavisSpamQuarantineCutoffLevel + + Many bug fixes, including: + + Issue fixed: a message with only a header, without empty + separator line and with no body, lost the last line of a header on + forwarding or writing to quarantine (closes: #373206) + + use stricter suggested regular expression in amavisd.conf for + matching CLSID (Class ID extension); previous expression was loose + and too easily matched file names with braces in the name + (closes: #373159) + * NEWS.Debian: make it even more clear to whom the incompatible changes + apply, and point user to the upstream documentation about it instead of + describing the incompatible changes. Apply NEWS blurb to 1:2.4.2-1, so + that it is shown again to the users (closes: #373136) + * conf.d/25-amavis_helpers: (brown paperback bug): fix location of control + socket + * New amavisd-new-cronjob script (with manpage) to encapsulate cronjobs + * amavisd-new.cron.d, amavisd-new.cron.daily: use the new + amavisd-new-cronjob script to perform maintenance actions + (closes: #381243) + * debian/logcheck.ignore: add ignore rule for non-free unpackers + (closes: #376465) + * etc/conf.d/20-debian_defaults: update black/whitelist from new upstream + defaults + * Apply patch from upstream to fix backscatter with LMTP + + -- Henrique de Moraes Holschuh Thu, 10 Aug 2006 16:26:44 -0300 + +amavisd-new (1:2.4.1-1) unstable; urgency=low + + * New upstream source + + Courier patch requires Net::Server 0.90 or later (not used in Debian + by default) + + Fixed many bugs + + Address extension is back to 2.3.3 semanthics (done at tag2_level) + + Fixed error handling during temporary directory cleanups + + Added config variables: @spam_subject_tag3_maps, @spam_tag3_level_maps + (and $sa_tag3_level_deflt), see upstream documentation for specifics + + Added LDAP attributes: amavisSpamSubjectTag, amavisSpamSubjectTag2, + amavisSpamDsnCutoffLevel, amavisSpamQuarantineCutoffLevel + + Changed notification templates in an incompatible way with 2.4.0 + (still compatible to 2.3.3 and older): major contents category numbers + are renumbered due to a newly inserted category CC_SPAMMY; it affects + the use of macro ccat_maj in templates + + Storing mail in BSMTP format now saves DSN information, as permitted + by RFC 2442 + + Apply the concept of separate timers $child_timeout and $smtpd_timeout + as used in a SMTP session to AM.PDP, AM.CL protocols and Courier patch + + New macros: remote_mta, smtp_response, remote_mta_smtp_response + and score_boost available to log and notification templates + + Enhanced regexp selector macro [~string|regexp|then|else], and + iterator macro. Extended the semantics of the regexp selector macro + + Make use of the new macro remote_mta_smtp_response and add it to + a default $log_templ, so that a Postfix queue-id of a forwarded + message shows up like 'queued_as: DCF2A17B9E4' in the main log entry + + sophos_savi_internal (SAVI module): don't include errno ($!) in the + error message + * Bump standards version to 3.7.2 (no changes required) + * Add small debian/extract-upstream-en_US-templates.pl to help manual + update of debian/etc/en_US/, add update-templates-from-upstream target + to debian/rules + * amavisd-new.postinst: abort configuration if the amavis user has an + invalid home directory, and tell the local admin to fix the mess + as we cannot do it safely by ourselves (closes: #367807) + * conf.d/25-amavis_helpers (add): configure an unix socket by default, + for the amavis-release helper (closes: #372122) + * amavisd-release: modify default socket location to Debian's + * amavisd-new.NEWS: note upstream incompatible changes from RELEASE_NOTES + for version 2.4.1 + + -- Henrique de Moraes Holschuh Sun, 11 Jun 2006 16:21:16 -0300 + +amavisd-new (1:2.4.0-1) unstable; urgency=low + + * New upstream source (closes: #284491) + + Support DSNs: RFC 3461, RFC 3462, RFC 3464 + + Prepend headers always, so we do not break header signatures + like DomainKeys + + Configuration variables can be chosen based on mail contents + category, which is now represented explicitly + + Enhanced the built-in macro expander with new macros and call + + Compatibility with Net::Server 0.91 and later + + Many incompatible changes in the SQL interface, read the docs + * Add patch from upstream, sent to amavis-user mailinglist, to perform + defanging and spam address extension additions in tag2_level as well + as kill_level + * Fix helper-progs/Makefile.in now that we do not link + amavis-milter.c anymore + * Revert to upstream header-folding code for this release + * Ship amavis helpers as well (closes: #356953) + * Ship p0f-analyzer.pl, but rename it to just p0f-analyzer due to policy + * Fix clean target to get rid of cruft in helper-progs/ + * Do the debconf postrm routine by ourselves, as dh_installdebconf writes + unsuitable code for our needs (closes: #362952) + * [l10n] Add debconf template for: pt, and fix the package name inside + the pt.po file while at it. Thanks to Miguel Figueiredo + (closes: #362802) + * Version libnet-ldap-perl suggestion to 0.32 or above and libdbi-perl to + 1.43 or above, as required by amavisd-new 2.4.0 + * conf.d/15-av_scanners: update to new upstream + * conf.d/20-debian_defaults: update to new syslog facility/priority + variables + * etc/en_US templates: updated to match new upstream templates + * Depend on non-broken libmime-perl (must be >= 5.417, but not 5.419) + + -- Henrique de Moraes Holschuh Tue, 18 Apr 2006 17:59:58 -0300 + +amavisd-new (1:2.3.3-8) unstable; urgency=low + + * Update amavisd-new.cron.daily to be compatible with new su + (closes: #360567, #358993) + * [l10n] Add Czech (cs) debconf template, thanks to : Miroslav Kure + (closes: #358844) + + -- Henrique de Moraes Holschuh Tue, 4 Apr 2006 10:39:04 -0300 + +amavisd-new (1:2.3.3-7) unstable; urgency=low + + * README.Debian: Be more explicit about what needs to be done to correctly + interface with a clamav daemon (closes: #353383) + * [l10n] Add Debconf template for: fr (closes: #353056) + * amavisd: prefix continuated syslog messages with (!!) or (!) depending + on level (warning or worse) + * logcheck.ignore: filter off all continuated syslog messages as long as + they don't have a priority prefix (closes: #341957) + + -- Henrique de Moraes Holschuh Sat, 25 Feb 2006 12:58:37 -0300 + +amavisd-new (1:2.3.3-6) unstable; urgency=low + + * The "I should have waited 12h more to release 2.3.3-5" release + * conf.d/20-debian_defaults: use "virusmails" as the quarantine directory, + fixing this to use "quarantine" is extremely non-trivial in the + packaging (but easy for the local admin) due to packaging issues + (closes: #350917) + * README.Debian: reword recommendation to disable bayes_auto_expire in + spamassassin config files, this closes: #295498 once again; Fix some + typos (closes: #350955) + * Match file(1) output in case-insensitive mode for most long strings, + and update Microsoft Cabinet match string (closes: #350962) + * NEWS.Debian: call attention to the left-over quarantine file (caused + by the #350917 fix described above) + + -- Henrique de Moraes Holschuh Fri, 3 Feb 2006 11:18:25 -0200 + +amavisd-new (1:2.3.3-5) unstable; urgency=low + + * Enable debconf for postinst: + * debian/control: Build-Depends on debhelper >= 4.1.16 (po-debconf) + * debian/rules: enable dh_installdebconf; call debconf-updatepo on clean + target + * amavisd-new.templates: (new) debconf note for incompatible config + files in the system, with a much better (and lengthy) explanation of + what is happening (closes: #350144) + * po/*: (new) debconf l18n support stuff for po-debconf + * amavisd-new.postinst: use debconf to warn of outdated config files + * Modify amavisd-new to process the Debian conf.d structure by its own + when no config files are specified (closes: #350348) + * amavisd-new.init: Improve initscript handling of outdated config files: + be very terse and tell the user to go read the documentation; Use the + new conf.d support in amavisd-new instead of doing it by hand + * amavisd-new.README.Debian: mention the .disabled config stuff + * Add lintian overrides for debconf warnings that are not valid for this + package + * amavisd-new.NEWS: mention new conf.d support in amavisd-new binary + * conf.d/01-debian, conf.d/20-debian_defaults: fix pointer to + documentation + * conf.d/20-debian_defaults: remove comments that lead people to believe + we'd ever place all commonly modified settings for amavisd-new in there + (see #350142...); Add note explaining that we set all viruses to "fakes + sender mode", except for the EICAR test pattern + + -- Henrique de Moraes Holschuh Wed, 1 Feb 2006 12:12:00 -0200 + +amavisd-new (1:2.3.3-4) unstable; urgency=low + + [ Henrique de Moraes Holschuh ] + * Patch from upstream: fix unsecure handling of + $spam_quarantine_method = 'bsmtp:spam-%m-%s' + * Patch from upstream: add hability to detect WMF (Windows MetaFile) + attachments from the output of the file(1) utility + * debian/control: bump up versioned dependencies to those required by + amavisd-new 2.3.3 (oops!) (closes: #348439) + * libarchive-zip-perl >= 1.14 + * libcompress-zlib-perl >= 1.35 + * libmime-perl >= 5.417 + * debian/amavisd-new.8: + * remove repeated description of "debug" + * mention that "reload" could be in fact a restart + * amavisd-new.init: + * amavisd-new does not support reloading anymore(!), + so remove the reload initscript action (closes: #255376) + * improve message when old config files present + * minor code cleanups + * be silent while cleaning up left-over tmp directories + * conf.d/05-node_id: move $mydomain functionality to 05-domain_id + * conf.d/05-domain_id (new): + * move $mydomain functionality previously in 05-node_id here + * amavisd-new must also know the local domains, or a lot of + functionality gets disabled. Add a default to $mydomain + through @local_domains_acl (closes: #348990) + * conf.d/20-debian_defaults: Add (commented out) entries for WMF + matching + + -- Henrique de Moraes Holschuh Sat, 21 Jan 2006 15:31:09 -0200 + +amavisd-new (1:2.3.3-3) unstable; urgency=low + + [ Henrique de Moraes Holschuh ] + * Suggest spamassassin 3.1.0a or newer + * Do not direct stderr to /dev/null in cron scripts, now that sa 3.1.0a is + available in unstable (closes: #283027) + * README.Debian: document that using "bayes_auto_expire" for spamassassin + config when using amavisd-new is not a very good idea (closes: #295498); + Reformat and add section headers while at it + + -- Henrique de Moraes Holschuh Sun, 15 Jan 2006 13:58:01 -0200 + +amavisd-new (1:2.3.3-2) unstable; urgency=low + + * The "A Xmas minor miracle" release + + [ Ondrej Sury ] + * Version dependency on libconvert-uulib-perl to >= 1.0.5, for backports + + [ Henrique de Moraes Holschuh ] + * Rework of the split config file system: + * Move non-etc conf.d files to debian/conf + * (ro)00-upstream: deleted: Stop shipping amavisd.conf-defaults as a + read-only conf.d file. Ship it as an example, instead + * (ro)10-debian: split split into (ro)10-debian_scripts and + (ro)20_package + * (ro)10-debian: prunned: Move all changeable settings out of + (ro)10-debian and split into (rw)01-debian, (rw)15-av_scanner, + (rw)20-debian_default. Prune out most of them. + * (rw)15-content_filter_mode: added: Make it easy for the user to + re-enable spam checking and antivirus checking + * (rw)05-node_id: add: Autodetect $myhostname (from hostname --fqdn) and + $mydomain (from /etc/mailname) + * (rw)30-template_localization: add: Add example for the user on how to + read a l10n template set + * Ship upstream example configuration as an example + * Suggest cabextract too, since amavisd-new can use it + * Kill all postinst stuff related to myhostname and mydomain + * Add new "debug" and "debug-sa" actions to initscript, and update + README.Debian accordingly to suggest their use + * Add check in initscript to avoid starting an unconfigured amavisd-new + when upgrading from a previous version + * Remove old safe_encode kludge, perl now doesn't lock up on tainted utf8 + string processing, nor does it lose track of encodings anymore + * [l10n] Update etc/amavis/en_US messages with the upstream templates for + 2.3.3 + * [l10n] Delete other localized templates, as they are much too outdated. + New translations are very welcome. + * Add postinst code to handle l10n template conffile/confdir removal, + since dpkg does not delete conffiles removed by the package: move old + templates already installed to