On 11/19/05, Theo Van Dinter <[EMAIL PROTECTED]> wrote: > On Sat, Nov 19, 2005 at 11:36:36PM +0100, Hjerto wrote: > > This is really strange. I have Razor installed and working, but SA > > insists that it isn't there (spamassasin -tD): > > > > (crop) > > [402] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC > > [402] dbg: razor2: razor2 is not available > > [402] dbg: plugin: registered > > Mail::SpamAssassin::Plugin::Razor2=HASH(0x8d0a354) > > (crop) > > Ok, it can't find the perl modules. > > > But I have Razor, in the search path and all: > > [EMAIL PROTECTED]:~$ razor-check --v > > Razor Agents 2.77, protocol version 3 > > [EMAIL PROTECTED]:~/etc/mail/spamassassin$ which razor-check > > /home/hjerto/bin/razor-check > > So it looks like you installed the modules in your home directory, which > probably won't be in @INC, so the plugin can't find them. If this is the > case, you'll probably have to set PERL5LIB before running SA so that it'll be > able to find the non-standard module location. >
Thanks for you feedback, Theo! I have set PERL5LIB and I beleive that I can verify that it is set correctly. When I remove, and then add, the custom PERL5LIB export command, I get: [EMAIL PROTECTED]:~$ perl -e 'require Mail::SpamAssassin::Plugin::Razor2' Can't locate Mail/SpamAssassin/Plugin/Razor2.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at -e line 1. [EMAIL PROTECTED]:~$ export PERL5LIB=$HOME/lib/perl5/:$HOME/lib/perl/5.8.4/:$HOME/share/perl/5.8.4/:$PERL5LIB [EMAIL PROTECTED]:~$ perl -e 'require Mail::SpamAssassin::Plugin::Razor2' [i.e. there is no error message here] [EMAIL PROTECTED]:~$ Which, from what I undertand, means that Perl can find Mail::SpamAssassin::Plugin::Razor2. Do you have any other ideas? It is probably just a silly litle thing I haven't done - It's always like that.