Richard, > On my old testserver, I am getting a strange error if I apply this. If > the subject matches, I see in the logfile : > > (!)custom new err: Can't locate object method "get_header_field_body" > via package "Amavis::In::Message" at /etc/amavisd-custom.conf line 8, > <GEN10> line 13
The provided code needs a routine which came with 2.6.0. > So this has something to do with my perl installation I think. I am > running perl 5.8.5 It should run with Perl 5.8.5, nevertheless it is still a good idea to upgrade to 5.8.8. > So I will upgrade to 5.8.8 so the new amavis 2.6.1 will also work > correctly. > > If I try to run amavis 2.6.1 with my current perl version, I get a long > perl error.... > -------------------- > Problem in antispam SA code: Can't locate Mail/SpamAssassin.pm in @INC > (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi > /usr/lib/perl5/5.8.5 > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 > /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 > /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 > /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 > /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 > /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 > /usr/lib/perl5/vendor_perl) at (eval 91) line 63. > BEGIN failed--compilation aborted at (eval 91) line 63. Seems your SpamAssassin.pm is not installed under one of the listed directories. (Re)installing it with your current version of Perl should be able to place it in a correct directory. Also, it is asking for trouble to rely on Perl modules which were installed under earlier versions of Perl (although this seems to be the way some OS packagers like). It that were my system, I'd delete (or rename, to be able to revert in need) directories 5.8.4, 5.8.3, 5.8.2, 5.8.1, 5.8.0 and reinstall now missing modules. Mark ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
