Howto install Razor2 plugin for SpamAssassin?

Ger Apeldoorn g.apeldoorn at argoss.nl
Thu Apr 13 15:41:16 CEST 2006


Hi!

I got it to recognize the plugin!

I manually installed the razor packages from the razor.sf.net website and when 
I run amavisd in debug-sa mode it tells me:

--------------------%<-----------------------
[1448] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[1448] dbg: razor2: razor2 is available, version 2.81
[1448] dbg: plugin: registered 
Mail::SpamAssassin::Plugin::Razor2=HASH(0xb08c678)
--------------------%<------------------------

Now I am waiting eagerly for some spam. (never thought I'd say that!)
I think that the X-Spam-Status only lists tests that have a score, so my fony 
test messages that are not spam will not show that.

If it still does not work I'll mail again monday, as it's almost weekend for 
me.. :)

Greetings & Salutations,
Ger.

Op donderdag 13 april 2006 15:34, schreef Gunnar Wrobel:
> Ger Apeldoorn <g.apeldoorn at argoss.nl> writes:
> >> Try to shut down your amavisd server and run the following command:
> >>
> >> amavisd debug-sa
> >
> > No, I saw this:
> > --------------------%<------------------------
> > [29655] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
> > [29655] dbg: razor2: razor2 is not available
> > [29655] dbg: plugin: registered
> > Mail::SpamAssassin::Plugin::Razor2=HASH(0xb50ecfc)
> > --------------------%<------------------------
> >
> > That is strange isnt' it? I installed Mail::SpamAssassin::Plugin::Razor2
> > with CPAN and if I do "install Mail::SpamAssassin::Plugin::Razor2" again,
> > it tells me that it is up-to-date.
>
> Sounds like your spamassassin installation and the cpan tool disagree
> on the location of the razor plugin.
>
> This probably does not really help because it is from my gentoo
> install, but I would check where the files I have in /usr/bin have
> been installed on your system and whether it got installed into the
> correct perl library location (The
> /usr/lib/perl5/vendor_perl/5.8.7/i686-linux-thread-multi that I have
> on my system is not what I would expect for your openpkg version though)
>
> root# equery files razor
> [ Searching for packages matching razor... ]
> * Contents of mail-filter/razor-2.80:
> /usr
> /usr/bin
> /usr/bin/razor-admin
> /usr/bin/razor-check
> /usr/bin/razor-client
> /usr/bin/razor-report
> /usr/bin/razor-revoke
> /usr/lib
> /usr/lib/perl5
> /usr/lib/perl5/5.8.7
> /usr/lib/perl5/5.8.7/i686-linux-thread-multi
> /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/vendor_perl/5.8.7
> /usr/lib/perl5/vendor_perl/5.8.7/i686-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.7/i686-linux-thread-multi/Razor2
> /usr/lib/perl5/vendor_perl/5.8.7/i686-linux-thread-multi/Razor2/Client
> /usr/lib/perl5/vendor_perl/5.8.7/i686-linux-thread-multi/Razor2/Client/Agen
>t.pm ...




More information about the users mailing list