https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6254
--- Comment #1 from Mark Martinec <[email protected]> 2009-12-09 16:32:10 UTC --- > The ClamAV plugin at http://wiki.apache.org/spamassassin/ClamAVPlugin doesn't > work with SA v3.3.0b1 because of changes described in Bug 6185. > > I think the following change in clamav.pm will fix it: > - $permsgstatus->{main}->{conf}->{headers_spam}->{"Virus"} = $header; > - $permsgstatus->{main}->{conf}->{headers_ham}->{"Virus"} = $header; > + push @{$permsgstatus->{main}->{conf}->{headers_spam}}, ["Virus", $header]; > + push @{$permsgstatus->{main}->{conf}->{headers_ham}}, ["Virus", $header]; Indeed. Your fix is fine, thanks! I have updated the ClamAVPlugin wiki page to make it compatible with SA version 3.3.0 and maintain compatibility with pre-3.3 versions, see: http://wiki.apache.org/spamassassin/ClamAVPlugin?action=diff copied 3.3.0-beta1.txt to 3.3.0-rc1.txt and added a paragraph on compatibility with a ClamAV plugin: - due to a change in internal data structure (Bug 6185, 6254), third-party plugins which accesss the $pms->{main}->{conf}->{headers_spam} (and ham) need to be updated. One such example is the ClamAVPlugin plugin - please find a fresh version on its wiki page. It retains backwards compatibility, so can be used with both 3.2.5 as well as with SpamAssassin 3.3.0; Adding build/announcements/3.3.0-rc1.txt Transmitting file data . Committed revision 889034. -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
