From owner-freebsd-questions Thu Feb 6 13:29:18 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0AE737B401 for ; Thu, 6 Feb 2003 13:29:16 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6533B43FBD for ; Thu, 6 Feb 2003 13:29:16 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id h16LSmQB008765; Thu, 6 Feb 2003 15:28:48 -0600 (CST) (envelope-from dan) Date: Thu, 6 Feb 2003 15:28:48 -0600 From: Dan Nelson To: Mark Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Does spamd use Razor? Message-ID: <20030206212848.GE16896@dan.emsphone.com> References: <200302062115.H16LFCD86008@asarian-host.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200302062115.H16LFCD86008@asarian-host.net> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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