From owner-freebsd-pf@FreeBSD.ORG Thu Dec 15 11:16:00 2005 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9627316A41F for ; Thu, 15 Dec 2005 11:16:00 +0000 (GMT) (envelope-from david@wombatsweb.com) Received: from mail01.bsdmail.net (mail01.bsdmail.net [64.243.181.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E50FC43D5E for ; Thu, 15 Dec 2005 11:15:59 +0000 (GMT) (envelope-from david@wombatsweb.com) Received: (qmail 71366 invoked by uid 89); 15 Dec 2005 11:15:58 -0000 Received: by simscan 1.1.0 ppid: 71360, pid: 71362, t: 1.7467s scanners: attach: 1.1.0 clamav: 0.85.1/m:32/d:941 spam: 3.0.2 Received: from unknown (HELO ?64.243.181.151?) (david@icuhost.net@64.243.181.151) by mail01.bsdmail.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 15 Dec 2005 11:15:56 -0000 Message-ID: <43A1506E.8060802@wombatsweb.com> Date: Thu, 15 Dec 2005 06:15:58 -0500 From: David Pierron User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-pf@freebsd.org References: <43A0C9FD.8060006@wombatsweb.com> In-Reply-To: <43A0C9FD.8060006@wombatsweb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on mail01.bsdmail.net X-Spam-Level: X-Spam-Status: No, score=-5.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.2 Subject: Re: spamd logging [ud: on bridge] X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2005 11:16:00 -0000 David Pierron on 12/14/2005 8:42 PM wrote: > I am running FBSD 6.0 if_bridge PF firewall. > > cd /usr/ports/mail/spamd > make install clean > > Seems to have installed "pfspamd" > > Anyway, I can't seem to get it to log to a logfile. Even running it > non-daemonized "-d" I see no messaging ... > /usr/local/libexec/spamd -v -b 127.0.0.1 -d > > rc.conf > pfspamd_enable="YES" > pfspamd_flags="-v -b 127.0.0.1" > > syslog.conf > Tried as described in man page: > !spamd > daemon.err;daemon.warn;daemon.info > > also tried: > !spamd > *.* > > log file just shows that the service started ... > I see the states created for it when running pftop[D, r] > > I don't know that spamd is actually doing any work to log ... UPDATE: Logging works ... Seems the issue is spamd running on a bridge ... I have been trying everything I've found on Google but so far nothing is making it work ... The issue is "rdr"ing the connection to an interface running spamd ... I am not running NAT ... I have tried tags, route-to and individual rules ... I tried rdr'ing to an interface besides localhost ... So far nothing is working ... What to do?