Razor/DCC
Posted: 12 Jul 2024 04:22
I think that the path to the razor system is wrong. The mail log has these error's:
Shouldn't the path be:
I'm also seeing errors about:
First was that that file doesn't exist.
I then created it as a empty file:
It looks like dcc is now writing data to it.
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'"
Code: Select all
/var/spool/postfix/.razor/
Code: Select all
/var/dcc/map
I then created it as a empty file:
Code: Select all
-rw-rw----. 1 postfix postfix 7700 Jul 12 13:41 map