SA Bugzilla – Bug 6257
no longer works with Amavis
Last modified: 2009-12-11 10:47:17 UTC
When trying out SA 3.3.0beta1 with my Amavis installation, the following error came up: (!!)SA failed: Can't locate object method "READ" via package "Amavis::IO::FileHandle" at /usr/share/perl5/Mail/SpamAssassin/Message.pm line 142, <GEN25> line 185. at (eval 89) line 420, <GEN25> line 185. Amavis' version is "amavisd-new-2.6.1 (20080629)" from Debian stable (lenny).
Please upgrade amavisd, preferably to 2.6.4. amavisd-new-2.6.2 release notes, December 15, 2008 MAIN NEW FEATURES SUMMARY - compatibility with SpamAssassin 3.3 (CVS head) regained; - package Amavis::IO::FileHandle now supports a method READ (i.e. invoked by a perl functions sysread through a tied hash), which is needed by SpamAssassin revisions since 2008-09-25 (3.3), bringing a little speedup to transferring a message from amavisd to SpamAssassin, and avoiding a Perl I/O bug (perl bug 39060; SA: bug 5985) on some installations;
fixed in amavisd-new-2.6.2
Created attachment 4596 [details] a quick workaround (patch against amavisd-new-2.6.1) Attached is a quick workaround for versions of amavisd-new older than 2.6.2. Some memory is wasted this way, but functionality remains the same.
Bug 6257 3.3.0-rc1.txt: add a note on compatibility with amavisd-new Sending build/announcements/3.3.0-rc1.txt Committed revision 889764.