Mufit Eribol wrote: > I have amavisd-new (amavisd-new-2.5.3) and spamassasin (3.1.9) on a > Centos 5 system. I had no problem with this setup. > > My story started when I saw some missing module in the log > /usr/sbin/amavisd[31809]: INFO: SA version: 3.1.9, 3.001009, no optional > modules: Mail::SpamAssassin::Plugin::DKIM > Mail::SpamAssassin::Plugin::URIDetail Error > > Wanted to install this module by the following command: > perl -MCPAN -e 'install Mail::SpamAssassin::Plugin::URIDetail' > > This command installed required module. > > BUT, > > Now, the log says I need more modules: > /usr/sbin/amavisd[20453]: INFO: SA version: 3.2.4, 3.002004, no optional > modules: Encode::Detect Image::Info Image::Info::GIF Image::Info::JPEG > Image::Info::PNG Image::Info::TIFF Mail::SPF Mail::SPF::Server > Mail::SPF::Request Mail::SPF::Mech Mail::SPF::Mech::A > Mail::SPF::Mech::PTR 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::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 Error > > aaargh! Stupid me! Why am I trying to fix something which worked nicely? >
The rpmforge guys (http://rpmforge.net/( have a set of up-to-date centos 5 rpms, including a recent spamassassin, amavisd-new, and all the associated dependancies in RPM format, in a conventient yum repository. I've used 'em, and I'd recommend 'em, though extra repos aren't for the faint of heart. All that said, I don't believe that there is an uninstall feature for CPAN, meaning that you'll need to manually remove the modules that you installed using cpan. In my CentOS & RHEL experience, you'd probably want to not use CPAN anyway, since future package upgrades are pretty much guaranteed to kill your manually installed CPAN ones, resulting in brutal, sometimes comical results. (the rpmforge folks also maintain an metric TON of perl modules in RPM format.) Say, did I mention the rpmforge guys? ;) Jacob Leaver C-Corp.net ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/