I decided to give it a try with SA 3.2.0-pre2 to see how it cooperates with amavisd-new. Not much trouble there, even plugins like FuzzyOcr, Botnet, ImageCheck and ImageInfo seem to still work, along with SQL-based bayes and AWL.
One thing I noticed is an extended list of Perl modules that are not brought-in automatically during SA initialization, but only later during their first use. For chrooted setups these _must_ be preloaded before chooting takes place; for normal setup missing modules mean slower execution because they must be compiled at every new child process fork. To get a list of missing modules search the log (at log level 2 or above), looking for: extra modules loaded: ... These modules may either be listed in @additional_perl_modules (in file amavisd.conf), or the patch below can be applied to 2.4.5 or 2.5.0-pre2, which achieves the same. --- amavisd.orig Wed Jan 31 00:12:37 2007 +++ amavisd Wed Mar 7 03:02:10 2007 @@ -16098,4 +16098,26 @@ } +sub getSA32Modules { + my($self) = shift; + my(@modules) = qw( + Mail::SpamAssassin::Locales + Mail::SpamAssassin::Plugin::Bayes Mail::SpamAssassin::Plugin::BodyEval + Mail::SpamAssassin::Plugin::Check Mail::SpamAssassin::Plugin::DNSEval + Mail::SpamAssassin::Plugin::ImageInfo Mail::SpamAssassin::Plugin::HTMLEval + Mail::SpamAssassin::Plugin::HTTPSMismatch + Mail::SpamAssassin::Plugin::HeaderEval Mail::SpamAssassin::Plugin::MIMEEval + Mail::SpamAssassin::Plugin::RelayEval Mail::SpamAssassin::Plugin::URIEval + Mail::SpamAssassin::Plugin::VBounce Mail::SpamAssassin::Plugin::WLBLEval + Mail::SPF Mail::SPF::Mech Mail::SPF::Mech::A Mail::SPF::Mech::All + Mail::SPF::Mech::Exists Mail::SPF::Mech::IP4 Mail::SPF::Mech::IP6 + Mail::SPF::Mech::Include Mail::SPF::Mech::MX Mail::SPF::Mech::PTR + Mail::SPF::Mod Mail::SPF::Mod::Exp Mail::SPF::Mod::Redirect + Mail::SPF::SenderIPAddrMech Mail::SPF::v1::Record Mail::SPF::v2::Record + NetAddr::IP NetAddr::IP::Util + auto::NetAddr::IP::Util::inet_n2dx auto::NetAddr::IP::Util::ipv6_n2d + ); + @modules; +} + sub loadSpamAssassinModules { my($self) = shift; @@ -16109,4 +16131,6 @@ } elsif ($sa_version=~/^(\d+(?:\.\d+)?)/ && $1 >= 3.1) { push(@modules, $self->getSA31Modules); + push(@modules, $self->getSA32Modules) + if $sa_version=~/^(\d+(?:\.\d+)?)/ && $1 >= 3.2; } my($missing) = Amavis::Boot::fetch_modules('PRE-COMPILE OPTIONAL MODULES', 0, Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/