Razor/DCC

Bugs in eFa 5
Post Reply
User avatar
activateit
Posts: 10
Joined: 10 Jul 2019 03:17

Razor/DCC

Post by activateit »

I think that the path to the razor system is wrong. The mail log has these error's:

Code: Select all

Jul 11 23:50:42 xxxx spamd[501902]: 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 379.

Code: Select all

cat /etc/sysconfig/spamassassin

# Options to spamd
SPAMDOPTIONS="-c -m5 -H --razor-home-dir='/var/lib/razor/' --razor-log-file='sys-syslog'"
Shouldn't the path be:

Code: Select all

/var/spool/postfix/.razor/
I'm also seeing errors about:

Code: Select all

/var/dcc/map
First was that that file doesn't exist.
I then created it as a empty file:

Code: Select all

-rw-rw----. 1 postfix postfix 7700 Jul 12 13:41 map
It looks like dcc is now writing data to it.
sergio_eristoff
Posts: 12
Joined: 27 Nov 2018 06:43

Re: Razor/DCC

Post by sergio_eristoff »

I had a very similar error but my map exists.

I fixed this by editing the permission to 700 and set the dcc_client to se permissive (semanage permissive -a dcc_client_t).
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Razor/DCC

Post by shawniverson »

eFa doesn't use spamd, disable it and save the resources it is using. MailScanner calls spamassassin directly. The path is wrong because spamd was never intended to be running.

Code: Select all

sudo systemctl stop spamassassin
sudo systemctl disable spamassassin
User avatar
Aryfir
Posts: 39
Joined: 04 Sep 2020 13:52

Re: Razor/DCC

Post by Aryfir »

shawniverson wrote: 13 Jul 2024 22:31 eFa doesn't use spamd, disable it and save the resources it is using. MailScanner calls spamassassin directly. The path is wrong because spamd was never intended to be running.
Hi Shawn,
All this time I thought that spamassassin service should always run on eFa5, and then read your post that ms calls sa directly

Thank you for this info
PS: I'm going to start reading the wiki again

Regards,
Aryfir
Post Reply