Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2003 15:28:48 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Mark <admin@asarian-host.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Does spamd use Razor?
Message-ID:  <20030206212848.GE16896@dan.emsphone.com>
In-Reply-To: <200302062115.H16LFCD86008@asarian-host.net>
References:  <200302062115.H16LFCD86008@asarian-host.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 06), Mark said:
> I recently installed SpamAssassin 2.44, with Razor 2.22. And although
> spamd says that Razor2 is available, its -D debug parameter does not
> allow for a high enough debug-level to actually see whether spamd
> calls Razor; the log says,
> 
>     spamd[4013]: debug: running full-text regexp tests; score so far=9.1
>     spamd[4013]: debug: Razor2 is available
>     spamd[4013]: debug: entering helper-app run mode
>     spamd[4013]: debug: leaving helper-app run mode
> 
> When I run via spamassassin, everything seems ok, and Razor fills its
> logs (in /var/log/razor-agent.log); but run via spamd, only the above
> is logged (in the spamd log; nothing in /var/log/razor-agent.log).
> 
> I built this on FreeBSD 4.7R, against /usr/local. Has anyone else
> done this with success on their FreeBSD system? And what am I
> missing?

Try piping the test-message through spamc:

spamc < /usr/local/share/doc/p5-Mail-SpamAssassin/sample-spam.txt | grep -i razor

You'll see a line saying "listed in Razor2" if it worked.  Spamd might
not be running as root so it may not have write access to
/var/log/razor-agent.log.

-- 
	Dan Nelson
	dnelson@allantgroup.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030206212848.GE16896>