Bug 6257 - no longer works with Amavis
Summary: no longer works with Amavis
Status: RESOLVED WONTFIX
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 3.3.0
Hardware: All All
: P5 normal
Target Milestone: 3.3.0
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-11 08:50 UTC by christian mock
Modified: 2009-12-11 10:47 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status
a quick workaround (patch against amavisd-new-2.6.1) patch None Mark Martinec [HasCLA]

Note You need to log in before you can comment on or make changes to this bug.
Description christian mock 2009-12-11 08:50:18 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).
Comment 1 Mark Martinec 2009-12-11 09:08:19 UTC
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;
Comment 2 Mark Martinec 2009-12-11 09:11:12 UTC
fixed in amavisd-new-2.6.2
Comment 3 Mark Martinec 2009-12-11 09:22:47 UTC
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.
Comment 4 Mark Martinec 2009-12-11 10:47:17 UTC
  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.