From owner-freebsd-questions Thu Feb 6 14: 5: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 036AE37B6C3 for ; Thu, 6 Feb 2003 14:05:15 -0800 (PST) Received: from mail10.atl.registeredsite.com (mail10.atl.registeredsite.com [64.224.219.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B87C43F85 for ; Thu, 6 Feb 2003 14:05:14 -0800 (PST) (envelope-from admin@asarian-host.net) Received: from asarian-host.net (asarian-host.net [216.122.74.112]) by mail10.atl.registeredsite.com (8.12.2/8.12.6) with ESMTP id h16M5ChR028019 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Thu, 6 Feb 2003 17:05:13 -0500 Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email addresses for asarians can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by asarian-host.net (8.11.6/8.11.0) id h16M57L02415 for freebsd-questions@freebsd.org; Thu, 6 Feb 2003 23:05:07 +0100 (CET) (envelope-from admin@asarian-host.net) Posted-Date: Thu, 6 Feb 2003 23:05:07 +0100 (CET) From: Mark Message-Id: <200302062205.H16M55D02392@asarian-host.net> Date: Thu, 6 Feb 2003 23:04:23 +0100 X-Authenticated-Sender: admin@asarian-host.net Subject: Re: Does spamd use Razor? X-Trace: knvM/EdAbOEUdwUuMbcH0GQZyTIqAgJzwij46DeXMgaLz2w4CKVcFviEdlxNhqJ9HSZDboqvL9dTb8hgX2z/KQ== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: "Dan Nelson" Cc: References: <200302062115.H16LFCD86008@asarian-host.net> <20030206212848.GE16896@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Auth: Asarian-host PGP signature iQEVAwUAPkLcEzFqW1BleBN9AQHbpQf/bI3n7qJK5hl8KCXSCrlu3bxiT6IYg+ai YxtYP8FLNAeiI9LenQtLjgzVbSmxmWDqJEtaH3GoN04O3tYNpZgcAAaYXJSlpsJl /d009al77//G+sO1UJYs82/wSslVJpSlxWDOHNMCMNBOZR+4bmnu4z5F/HJNYyRa azcw+f7EsXFf3Xrk+i1iHCQDEyJzf5fcwArSDlWNrPS3tAn53k+iF0Hmz+qziMxs 5GzhD0wcoDVmjwglavy66XI9YI6nhkToKw+80Wo7c27rzaZQZ3bi1lP5DRjZ28hL cT66TlRbd5aoysgLwDvoUZvB8jf1bdVpRCU1HGyToxgaw3sO8Zs6qQ== =W6ms 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 ----- Original Message ----- From: "Dan Nelson" To: "Mark" Cc: Sent: Thursday, February 06, 2003 10:28 PM Subject: Re: Does spamd use Razor? > 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 Thanks for the quick reply. :) > Spamd might not be running as root so it may not have write access to > /var/log/razor-agent.log. Indeed, I have spamd running as the special, unprivileged user "spamd". But you were right: spamd did not have access to /var/log/razor-agent.log. I could have sworn that I had done a "chown spamd:spamd /var/log/razor-agent.log" on it. But when I checked it again, it was owned by "root:wheel". I must be going senile. :) Well, thanks anyway; you solved it. :) - Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message