Date: Thu, 16 Sep 2004 04:13:26 -0000 From: Jett Tayer <jett@sycorax.ath.cx> To: pf4freebsd@freelists.org Subject: [pf4freebsd] Re: pf and spamd Message-ID: <7A6783D3-F373-11D8-A696-00039311ED22@sycorax.ath.cx> In-Reply-To: <200408211204.56633.max@love2party.net> References: <3ABA53F8-F323-11D8-A696-00039311ED22@sycorax.ath.cx> <200408211204.56633.max@love2party.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <spamd> 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 <spamd>. table <spamd> persist no rdr on { lo0 } from any to any rdr inet proto tcp from <spamd> to any port smtp -> 127.0.0.1 port 8025 pass in on lo0 inet proto tcp from <spamd> 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 <spamd> 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 <spamd> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7A6783D3-F373-11D8-A696-00039311ED22>