Howto install Razor2 plugin for SpamAssassin?

Gunnar Wrobel wrobel at gentoo.org
Thu Apr 13 15:34:45 CEST 2006


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/Agent.pm
...



-- 
Gunnar Wrobel                    Gentoo Developer
__________________C_o_n_t_a_c_t__________________

Mail: wrobel at gentoo.org
WWW:  http://www.gunnarwrobel.de
IRC:  #gentoo-web at freenode.org
_________________________________________________




More information about the users mailing list