Hello list, I'm in the progress of setting up a new Server with amavisd-new and spamassassin. I like to run the recent versions of this programms, but therefore I need some perl modules from cpan (e.g. IP::Country::Fast), because they are not in the repository of my distribution (SLES 11). The guy who installed these modules, installed them in /usr/local/perl/ and they should be available in perl: # perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: (...) %ENV: PERL5LIB="/usr/local/perl/lib:/usr/local/perl/lib/arch" @INC: /usr/local/perl/lib /usr/local/perl/lib/arch /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
# perl -we 'use IP::Country::Fast; print $IP::Country::Fast::VERSION,"\n"' 604.001 But spamassassin (and amavisd) doesn't find the additional modules. [9427] dbg: metadata: failed to load 'IP::Country::Fast', skipping (Can't locate IP/Country/Fast.pm in @INC (@INC contains: lib /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/5.10.0/x86_64-linux-thread- multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux- thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl) at /usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/Plugin/RelayCountry.pm line 68. My question is now: How can I tell spamassassin to use the right (modified) @INC array? Greetings Stefan
signature.asc
Description: This is a digitally signed message part.