From owner-freebsd-pf@FreeBSD.ORG Sun Nov 26 14:21:42 2006 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 003BC16A492 for ; Sun, 26 Nov 2006 14:21:41 +0000 (UTC) (envelope-from timsan775@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00E7343D53 for ; Sun, 26 Nov 2006 14:20:46 +0000 (GMT) (envelope-from timsan775@googlemail.com) Received: by ug-out-1314.google.com with SMTP id o2so887926uge for ; Sun, 26 Nov 2006 06:21:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=OMWrQTHhWP+E/uqw1+wYJU2ylKyMWdowV13iOLDvNknk8PBZuFbXc46aV5NtQxYAQIjq8lWixArEvTidUqdSXPkgja3dtcMTSfvQNlAccWgNQUw5A+8F6uSQSnA94+zgaGQVczKenLju2wzb5MJiDRLh8Qc2Fh+2uif1YRgOstg= Received: by 10.78.201.15 with SMTP id y15mr12310779huf.1164550899360; Sun, 26 Nov 2006 06:21:39 -0800 (PST) Received: by 10.78.45.7 with HTTP; Sun, 26 Nov 2006 06:21:39 -0800 (PST) Message-ID: <82832a960611260621t688c69cfrf58118bca964f06a@mail.gmail.com> Date: Sun, 26 Nov 2006 14:21:39 +0000 From: "tim m" To: freebsd-pf@freebsd.org In-Reply-To: MIME-Version: 1.0 References: <82832a960611251155p2d7b6c9bud79834fc23c38528@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: using OpenBSD's spamd on fbsd 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: Sun, 26 Nov 2006 14:21:42 -0000 I'm really trying to get it working, but so far zero success in catching any spam. my sockstat is: nobody spamd 96373 4 tcp4 192.168.1.65:8025 *:* nobody spamd 96373 5 tcp4 127.0.0.1:8026 *:* (is the 127.0.0.1:8026 right? in /etc/services it says spamd 8026) my pf.conf is: ext_if="fxp0" scrub in all table persist rdr pass inet proto tcp from to any \ port smtp -> $ext_if port 8025 pass in log on $ext_if proto tcp to any port smtp keep state pass out log on $ext_if proto tcp to port smtp keep state telnet 192.168.1.65 8025 works fine. (the box is behind a router which sends all smtp to this box) /var/log/spamd shows only: Nov 26 14:34:32 ebi spamd[95972]: listening for incoming connections. Nov 26 14:47:59 ebi spamd[95972]: 192.168.1.65: connected (1/0) Nov 26 14:49:08 ebi spamd[95972]: 192.168.1.65: disconnected after 69 seconds. Nov 26 14:50:25 ebi spamd[96100]: listening for incoming connections. Nov 26 14:55:15 ebi spamd[96215]: listening for incoming connections. Nov 26 15:02:58 ebi spamd[96373]: listening for incoming connections. I've done: /usr/local/etc/rc.d/pfstamd start (the status says it's up and running) spamd-setup pfctl -e -f /etc/pf.conf ebi# pfctl -ss self tcp 192.168.1.65:50262 -> 64.70.19.33:25 SYN_SENT:CLOSED self tcp 192.168.1.65:25 <- 194.109.127.152:4635 FIN_WAIT_2:FIN_WAIT_2 ebi# pfctl -t spamd -T show | wc -l 9476 thus, is there something I've overlooked? t. 2006/11/26, Massimo Lusetti < mlusetti@gmail.com>: > > On 11/25/06, tim m wrote: > > > hello all, > > > > I'm looking for experiences from others who have been using OpenBSD's > spamd > > on FreeBSD. > > > > Is it working well? Has your spam really been less? And what is your > > /usr/local/etc/spamd.conf like? > > > > > > If you use it as you should you can achieve a lot. We even switched off > DSPAM. > > Regards > -- > Massimo > http://meridio.blogspot.com >