Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76182 - disspam broken since spamassassin upgrade
Summary: disspam broken since spamassassin upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-30 15:48 UTC by Jeff Mills
Modified: 2004-12-31 09:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Attached error (disspamerror.txt,1.78 KB, text/plain)
2004-12-30 15:50 UTC, Jeff Mills
Details
Missing code from PerMsgStatus.pm (disspamfix.txt,820 bytes, text/plain)
2004-12-30 16:19 UTC, Jeff Mills
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Mills 2004-12-30 15:48:46 UTC
Since spamassassin was upgraded to 3.0.2, disspam is dying with a perl error and not removing its pid file, which stops disspam running again.




Reproducible: Always
Steps to Reproduce:
1. Run disspam
2. 
3.

Actual Results:  
disspam crashes with error:
Can't locate object method "get_full_message_as_text" via package
"Mail::SpamAssassin::PerMsgStatus" at /usr/bin/disspam.pl line 783

Expected Results:  
disspam should run without error and remove its pid file on clean exit

Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.19,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirror.aarnet.edu.au/pub/gentoo
ftp://ftp.planetmirror.com/pub/gentoo ftp://mirror.pacific.net.au/linux/Gentoo 
rsync://203.16.234.20/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd dvdr
dvdrw encode esd fam flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2
imagemagick imlib ipv6 java jpeg kde ldap libgd libwww mad mikmod motif mozilla
mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl php png python
qt quicktime readline sdl slang spell ssl svga tcltk tcpd tiff truetype xml2
xmms xv zlib"
Comment 1 Jeff Mills 2004-12-30 15:50:13 UTC
Created attachment 47251 [details]
Attached error
Comment 2 Jeff Mills 2004-12-30 16:19:49 UTC
Created attachment 47252 [details]
Missing code from PerMsgStatus.pm

- Open /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm
- Find "=item $status->finish ()"
- Insert code above

Seems to work okay.
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2004-12-30 18:42:04 UTC
Check this securityfocus.com[1] article - there's been an API change, so disspam should change its code. I'm going to contact Mina, in case she already doesn't know about this issue.

1. http://www.securityfocus.com/tools/2563/comment/28880
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2004-12-31 09:30:11 UTC
OK, I've committed 0.12-r1 ebuild into portage, which fixes this, if it finds SA 3.0.2 or higher detected. Thanks for reporting this!