Mailing List Archive

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 [ In reply to ]
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 ?
Re: missing something in new SA config [ In reply to ]
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 [ In reply to ]
On 27.12.23 10:30, AJ Weber wrote:
>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?


On 27.12.23 11:10, AJ Weber wrote:
>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.

what is in the /etc/mail/spamassassin/.razor/razor-agent.conf ?


--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
You have the right to remain silent. Anything you say will be misquoted,
then used against you.
Re: missing something in new SA config [ In reply to ]
> what is in the /etc/mail/spamassassin/.razor/razor-agent.conf ?
>
debuglevel             = 3
identity               = identity
ignorelist             = 0
listfile_catalogue     = servers.catalogue.lst
listfile_discovery     = servers.discovery.lst
listfile_nomination    = servers.nomination.lst
logfile                = /var/log/spamassassin/razor-agent.log
logic_method           = 4
min_cf                 = ac
razordiscovery         = discovery.razor.cloudmark.com
razorhome              = /etc/mail/spamassassin/.razor
rediscovery_wait       = 172800
report_headers         = 1
turn_off_discovery     = 0
use_engines            = 4,8
whitelist              = razor-whitelist