Check in the ~/.spamassassin/user_prefs file for the user that runs
amavisd-new.  I know the Mandriva package has that set to 'use_razor2
0', so I always have to hunt it down and fix it.
I had no use_razor2 line in the ~amavis/.spamassassin/user_prefs file
but after appending these lines to the file:
use_razor2
razor_config /var/lib/amavis/.razor/razor-agent.conf
and restarting both amavis and spamassassin nothig has changed.

Then, you need to run some of the amavisd-new debugs

I believe the syntax is

[amav...@foo]$ /usr/sbin/amavisd debug-sa plugin


It worked. And now I found the error: amavis user couldn't read the /var/log/razor-agent.log file. I modified the owner of that file to amavis and now I see the check lines in that file.

Is there a way to instruct spamassassin to write the razor, pyzor and dcc check's result to every e-mail's header an not only for spams?


Attila Mesterhazy

Reply via email to