Your message dated Mon, 01 Mar 2010 10:55:48 +0000
with message-id <[email protected]>
and subject line Bug#567205: fixed in spamassassin 3.3.0-2
has caused the Debian Bug report #567205,
regarding crond.daily/spamassassin calls sa-update, but never reloads/restarts
amavisd-new
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
567205: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567205
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: amavisd-new
Version: 1:2.6.1.dfsg-1
Severity: normal
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages amavisd-new depends on:
ii adduser 3.110 add and remove users and groups
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii file 4.26-1 Determines file type using "magic"
ii libarchive-zip-perl 1.18-1 Module for manipulation of ZIP arc
ii libberkeleydb-perl 0.34-1+b1 use Berkeley DB 4 databases from P
ii libcompress-zlib-perl 2.012-1 Perl module for creation and manip
ii libconvert-tnef-perl 0.17-8 Perl module to read TNEF files
ii libconvert-uulib-perl 1.11-1 Perl interface to the uulib librar
pn libdigest-md5-perl <none> (no description available)
ii libio-stringy-perl 2.110-4 Perl modules for IO from scalars a
ii libmailtools-perl 2.03-1 Manipulate email in perl programs
pn libmime-base64-perl <none> (no description available)
ii libmime-tools-perl 5.427-1 Perl5 modules for MIME-compliant m
ii libnet-server-perl 0.97-1 An extensible, general perl server
ii libunix-syslog-perl 1.1-2 Perl interface to the UNIX syslog(
ii perl [libtime-hires-perl 5.10.0-19lenny2 Larry Wall's Practical Extraction
ii perl-modules [libarchive 5.10.0-19lenny2 Core Perl modules
amavisd-new recommends no packages.
Versions of packages amavisd-new suggests:
pn apt-listchang <none> (no description available)
pn arj <none> (no description available)
pn cabextract <none> (no description available)
ii clamav 0.95.3+dfsg-1~volatile1 anti-virus utility for Unix - comm
ii clamav-daemon 0.95.3+dfsg-1~volatile1 anti-virus utility for Unix - scan
ii cpio 2.9-13 GNU cpio -- a program to manage ar
pn dspam <none> (no description available)
pn lha <none> (no description available)
pn libauthen-sas <none> (no description available)
pn libdbi-perl <none> (no description available)
pn libmail-dkim- <none> (no description available)
pn libnet-ldap-p <none> (no description available)
pn lzop <none> (no description available)
pn nomarch <none> (no description available)
ii spamassassin 3.2.5-2+lenny1.1~volatile1 Perl-based spam filter using text
pn unrar <none> (no description available)
pn zoo <none> (no description available)
-- debconf information:
amavisd-new/outdated_config_style_warning:
==================================
xmail:/etc# find ./cron* -type f | xargs grep -li 'sa-update'
./cron.daily/spamassassin
==================================
xmail:/etc# cat ./cron.daily/spamassassin
#!/bin/sh
# Duncan Findlay
# [email protected]
# Daily cronjob for SpamAssassin updates. This isn't pretty but it
# should do the job.
set -e
CRON=0
test -f /etc/default/spamassassin && . /etc/default/spamassassin
test -x /usr/bin/sa-update || exit 0
test -x /etc/init.d/spamassassin || exit 0
if [ "$CRON" = "0" ] ; then
exit 0
fi
# Sleep for up to 3600 seconds
# Taken from apticron's cron.daily
RANGE=3600
number=`od -vAn -N2 -tu4 < /dev/urandom`
number=`expr $number "%" $RANGE`
sleep $number
# Update
umask 022
sa-update || exit 0
# Compile, if rules have previously been compiled, and it's possible
if [ -x /usr/bin/re2c -a -x /usr/bin/sa-compile -a -d
/var/lib/spamassassin/compiled ]; then
sa-compile > /dev/null 2>&1
fi
# Fixup perms -- group and other should be able to read and execute,
# but never write. Works around sa-compile's failure to obey umask.
if [ -d /var/lib/spamassassin ]; then
chmod -R go-w,go+rX /var/lib/spamassassin/
fi
# Reload
if which invoke-rc.d >/dev/null 2>&1; then
invoke-rc.d spamassassin reload > /dev/null 2>&1
else
/etc/init.d/spamassassin reload > /dev/null 2>&1
fi
==================================
xmail:/etc# etc/init.d/spamassassin reload
bash: etc/init.d/spamassassin: No such file or directory
==================================
what this seems to tell me is that sa-update is being called every day by cron,
but spamassassin and amavisd-new are not being reloaded in order to utilize the
update.
what brings me to notice this issue is the recent spamassassin bug 6269
(see https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6269)
for spamhaters this bug causes dataloss as legitimate mail had an extra 3
points added to the spam score.
from what i understand, this bug was noticed and rectified on 2010/01/01, but
due to /cron.daily/spamassassin calling /etc/init.d/spamassassin reload instead
of /etc/init.d/amavisd-new force-reload, the sa-update updates were never
picked up by the running amavisd-new daemon.
should i change the code in /cron.daily/spamassassin to call
/etc/init.d/amavisd-new force-reload, or is there a better way to accomplish
this?
sincerely,
proctor
--- End Message ---
--- Begin Message ---
Source: spamassassin
Source-Version: 3.3.0-2
We believe that the bug you reported is fixed in the latest version of
spamassassin, which is due to be installed in the Debian FTP archive:
spamassassin_3.3.0-2.debian.tar.gz
to main/s/spamassassin/spamassassin_3.3.0-2.debian.tar.gz
spamassassin_3.3.0-2.dsc
to main/s/spamassassin/spamassassin_3.3.0-2.dsc
spamassassin_3.3.0-2_all.deb
to main/s/spamassassin/spamassassin_3.3.0-2_all.deb
spamc_3.3.0-2_i386.deb
to main/s/spamassassin/spamc_3.3.0-2_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Noah Meyerhans <[email protected]> (supplier of updated spamassassin package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 01 Mar 2010 00:57:24 -0800
Source: spamassassin
Binary: spamassassin spamc
Architecture: source all i386
Version: 3.3.0-2
Distribution: unstable
Urgency: low
Maintainer: Noah Meyerhans <[email protected]>
Changed-By: Noah Meyerhans <[email protected]>
Description:
spamassassin - Perl-based spam filter using text analysis
spamc - Client for SpamAssassin spam filtering daemon
Closes: 315961 563802 565227 567205 570734
Changes:
spamassassin (3.3.0-2) unstable; urgency=low
.
* Document the fact that auto-whitelist is now disabled by default and that
this may affect upgrades from version <3.3.0 (Closes: #570734)
* Stop ignoring output from sa-compile and instead use its undocumented
"quiet" option. (Closes: #563802)
* Don't ignore output from /etc/init.d/spamassassin when reloading spamd
after sa-update downloads updates (Closes: #565227)
* Run the contents of /etc/spamassassin/sa-update-hooks.d/ using
run-parts following a successful download of new rules via sa-update
in the daily cron script. (Closes: #315961, #567205)
* Fix a problem in debian/rules where manpage generation for sa-awl and
sa-check_spamd happened in the wrong rule.
* Bump standards compliance to 3.8.4 (no changes needed)
Checksums-Sha1:
81fc2f56a7f3c06c20f08628bbe4a6bad788a171 1669 spamassassin_3.3.0-2.dsc
b41a947d31c0d184b4fedd507b3e8d69ad1e7fba 38279
spamassassin_3.3.0-2.debian.tar.gz
5e8255b2ae50358143dfcbe23b9fe93d20940354 1354044 spamassassin_3.3.0-2_all.deb
c2294c9b730adff88ff79dd408a02944689dafc7 197438 spamc_3.3.0-2_i386.deb
Checksums-Sha256:
6e3421bfe10c144edc2a88e2f0cc160a708c514eb259fcf4a81a9cec01d13f56 1669
spamassassin_3.3.0-2.dsc
0d919b3ea0407ea8b796af826f78f41fccdf1b1d3657b0cf6c92b5f16b8a9928 38279
spamassassin_3.3.0-2.debian.tar.gz
5c7629c92122487f6d413c850455dc0c770d069ca7c5bfecb9b08d5448599c75 1354044
spamassassin_3.3.0-2_all.deb
1058cb3eb97fa4457688030485022de6db2c9aeffad48c216390fed4794424e2 197438
spamc_3.3.0-2_i386.deb
Files:
9b87a87879f30d7cc0dc200fb4062c7a 1669 mail optional spamassassin_3.3.0-2.dsc
dcd1cdce608d760dd69c8725e68933fa 38279 mail optional
spamassassin_3.3.0-2.debian.tar.gz
69e6a227e1e3659d4dfc841964b60f5a 1354044 mail optional
spamassassin_3.3.0-2_all.deb
1e39dd70c3c1f2eeabf49549495ba632 197438 mail optional spamc_3.3.0-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFLi4VMYrVLjBFATsMRArTKAJ95jvzBm0kZwnyvxSyhGhUX0CHDcACeOZtC
FaRcCEFus1noYUP8MrFn28U=
=QOtu
-----END PGP SIGNATURE-----
--- End Message ---