Jeff Mincy wrote:
   From: Mester <mes...@freemail.hu>
   Date: Fri, 22 May 2009 14:52:08 +0200
>>> 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?

SpamAssassin has add_header that can be used for Pyzor and DCC.

  add_header all Pyzor _PYZOR_
  add_header all DCC _DCCB_; _DCCR_

I don't know how headers are added in amavis.
-jeff

Amavis has its own routines for adding headers. You'll have to look at the Amavis config.

--
Bowie

Reply via email to