You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by AJ Weber <aw...@comcast.net> on 2023/12/27 15:30:55 UTC

missing something in new SA config

Migrating a mailserver with SA and I see this in my log when testing:

spamd[30912]: razor2: razor2 check failed: No such file or directory 
razor2: Can't read: /var/lib/razor/ at 
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Razor2.pm line 331.

My local.cf has the following:

use_razor2 1
razor_config /etc/mail/spamassassin/.razor/razor-agent.conf

In the config:

razorhome              = /etc/mail/spamassassin/.razor

So I can't for the life of me understand what is looking in 
/var/lib/razor and for what?

Must be something stupid I missed?

Thanks for any pointers.

-AJ



Re: missing something in new SA config

Posted by AJ Weber <aw...@comcast.net>.
Thanks for the reply.

SA v3.4.6

razor is installed:

optional module installed: Razor2::Client::Agent, version 2.84

razor plugin is enabled in v310.pre:

loadplugin Mail::SpamAssassin::Plugin::Razor2

I don't see any "logs" in the first page of the lint output.

Would you be so kind as to describe how my "razor_config" is incorrect?  
That might be helpful.

Thanks again.


Re: missing something in new SA config

Posted by Benny Pedersen <me...@junc.eu>.
AJ Weber skrev den 2023-12-27 16:30:
> Migrating a mailserver with SA and I see this in my log when testing:
> 
> spamd[30912]: razor2: razor2 check failed: No such file or directory 
> razor2: Can't read: /var/lib/razor/ at 
> /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Razor2.pm line 
> 331.
> 
> My local.cf has the following:
> 
> use_razor2 1
> razor_config /etc/mail/spamassassin/.razor/razor-agent.conf
> 
> In the config:
> 
> razorhome              = /etc/mail/spamassassin/.razor
> 
> So I can't for the life of me understand what is looking in 
> /var/lib/razor and for what?
> 
> Must be something stupid I missed?
> 
> Thanks for any pointers.

is razor installed ?

is razor plugin enabled without razor plugin enabled in pre files ?

razor_config is incorrect btw

to help me and you :)

spamassassin -D --lint 2>&1 | less

what is the logs there ?