From owner-freebsd-pf@FreeBSD.ORG Thu Sep 16 04:13:26 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 674) id B6A3116A4CF; Thu, 16 Sep 2004 04:13:26 +0000 (GMT) Delivered-To: mlaier@vampire.homelinux.org Received: (qmail 4120 invoked by alias); 21 Aug 2004 13:09:21 -0000 Delivered-To: unirz@vampire.homelinux.org Received: (qmail 4117 invoked from network); 21 Aug 2004 13:09:21 -0000 Received: from mailstud.rz.uni-karlsruhe.de (129.13.185.210) by pd9530c91.dip.t-dialin.net with SMTP; 21 Aug 2004 13:09:21 -0000 Received: from spamstud.rz.uni-karlsruhe.de (spamstud.rz.uni-karlsruhe.de [129.13.185.237]) by mailstud.rz.uni-karlsruhe.de with esmtp (Exim 4.34 #1) id 1ByVe8-00058d-Gl for max.laier@stud.uni-karlsruhe.de; Sat, 21 Aug 2004 15:11:00 +0200 Received: from localhost (exim@[127.0.0.1]) by spamstud.rz.uni-karlsruhe.de with spam-scanned (Exim 4.34 #1) id 1ByVe8-0001US-AJ for max.laier@stud.uni-karlsruhe.de; Sat, 21 Aug 2004 15:11:00 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by spamstud.rz.uni-karlsruhe.de with esmtp (Exim 4.34 #1) id 1ByVe8-0001UH-7y for max.laier@stud.uni-karlsruhe.de; Sat, 21 Aug 2004 15:11:00 +0200 Received: from [212.227.126.146] (helo=mxng03.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1ByVe8-0005CG-00 for max.laier@stud.uni-karlsruhe.de; Sat, 21 Aug 2004 15:11:00 +0200 Received: from [206.53.239.180] (helo=turing.freelists.org) by mxng03.kundenserver.de with esmtp (Exim 3.35 #1) id 1ByVe7-00045A-00 for max@love2party.net; Sat, 21 Aug 2004 15:11:00 +0200 Received: from localhost (localhost [127.0.0.1])ESMTP id C30A472C218; Sat, 21 Aug 2004 08:09:41 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10404-12; Sat, 21 Aug 2004 08:09:41 -0500 (EST) Received: from turing (localhost [127.0.0.1])ESMTP id 6946072C2EA; Sat, 21 Aug 2004 08:09:41 -0500 (EST) Received: with ECARTIS (v1.0.0; list pf4freebsd); Sat, 21 Aug 2004 08:09:24 -0500 (EST) X-Original-To: pf4freebsd@freelists.org Delivered-To: pf4freebsd@freelists.org Received: from localhost (localhost [127.0.0.1])ESMTP id EA92D72C218 for ; Sat, 21 Aug 2004 08:09:23 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08387-94 for ; Sat, 21 Aug 2004 08:09:23 -0500 (EST) Received: from mail.emediaone.net (orion.emediaone.net [203.208.226.21]) ESMTP id 7508A72C1CD for ; Sat, 21 Aug 2004 08:09:23 -0500 (EST) Received: from mail.emediaone.net (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id CA337450A8 for ; Sat, 21 Aug 2004 21:32:34 +0800 (SGT) Received: by mail.emediaone.net (Postfix, from userid 1004) id 9F07F450A5; Sat, 21 Aug 2004 21:32:34 +0800 (SGT) Received: from [192.168.88.38] (unknown [202.147.34.66]) by mail.emediaone.net (Postfix) with ESMTP id C526C45076 for ; Sat, 21 Aug 2004 21:32:33 +0800 (SGT) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <200408211204.56633.max@love2party.net> References: <3ABA53F8-F323-11D8-A696-00039311ED22@sycorax.ath.cx> <200408211204.56633.max@love2party.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <7A6783D3-F373-11D8-A696-00039311ED22@sycorax.ath.cx> Content-Transfer-Encoding: 7bit From: Jett Tayer To: pf4freebsd@freelists.org X-Mailer: Apple Mail (2.619) X-Virus-Scanned: by amavisd-new at freelists.org X-archive-position: 433 X-ecartis-version: Ecartis v1.0.0 Sender: pf4freebsd-bounce@freelists.org Errors-To: pf4freebsd-bounce@freelists.org X-original-sender: jett@sycorax.ath.cx Precedence: normal X-list: pf4freebsd X-Virus-Scanned: by amavisd-new at freelists.org X-Provags-Forward: max@love2party.net -> max.laier@stud.uni-karlsruhe.de X-Scan-Signature: 316411cbbad3569cc424b0b441ccf657 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on mail6.rz.uni-karlsruhe.de X-Spam-Status: No, hits=-4.9 required=7.0 tests=BAYES_00 autolearn=no version=2.61 X-Spam-Level: X-UID: 535 X-Length: 6417 X-Mailman-Approved-At: Thu, 16 Sep 2004 04:17:51 +0000 Subject: [pf4freebsd] Re: pf and spamd X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Reply-To: pf4freebsd@freelists.org List-Id: Technical discussion and general questions about packet filter (pf) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 16 Sep 2004 04:13:26 -0000 X-Original-Date: Sat, 21 Aug 2004 21:10:30 +0800 X-List-Received-Date: Thu, 16 Sep 2004 04:13:26 -0000 geesh i can't really make spamd work with pf. from another machine with ipaddress 192.168.1.2 im telnetting my gateway box 192.168.1.1 here's the scenario: i added 192.168.1.2 to my table in 192.168.1.1 box when i start to telnet my gateway, telnet just say Trying.... here's my spamd rule part in my pf.conf # spamd-setup puts addresses to be redirected into table . table persist no rdr on { lo0 } from any to any rdr inet proto tcp from to any port smtp -> 127.0.0.1 port 8025 pass in on lo0 inet proto tcp from to 127.0.0.1 port 8025 pls help On Aug 21, 2004, at 6:04 PM, Max Laier wrote: > On Saturday 21 August 2004 05:36, Jett Tayer wrote: >> hello, >> >> Im using FreeBSD 5.2.1 and im having problems making pf work with >> spamd >> (mail/spamd) >> when i try load one of my ip addresses in table and try to >> telnet >> to it at port 25 from another server whose ip is added in spamd table, >> i can't see the usual: >> >> Escape character is '^]'. >> 220 mybox.myhostname.mydomain ESMTP spamd IP-based SPAM blocker; Sat >> Aug 21 11:27:57 2004 >> >> it just say Trying mybox.myhostname.mydomain... and thats it. > > I can only guess, but I conclude that you did something like: > Server has IP1, IP2, IP3, ... > Add IP2 to > Telnet from the server to IP1 > That does not work! You have to use a real remote host to test the rdr > rule. > But as Pyun tried to tell you, frist check whether spamd is working at > all by > telnetting to 127.0.0.1 8025 directly (w/o the rdr rule interfering). > > -- > /"\ Best regards, | mlaier@freebsd.org > \ / Max Laier | ICQ #67774661 > X http://pf4freebsd.love2party.net/ | mlaier@EFnet > / \ ASCII Ribbon Campaign | Against HTML Mail and News