Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2006 14:21:39 +0000
From:      "tim m" <timsan775@googlemail.com>
To:        freebsd-pf@freebsd.org
Subject:   Re: using OpenBSD's spamd on fbsd
Message-ID:  <82832a960611260621t688c69cfrf58118bca964f06a@mail.gmail.com>
In-Reply-To: <a6647e120611260545w130f9669m9a942ea1a6f9c973@mail.gmail.com>
References:  <82832a960611251155p2d7b6c9bud79834fc23c38528@mail.gmail.com> <a6647e120611260545w130f9669m9a942ea1a6f9c973@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <spamd> persist
         rdr pass inet proto tcp from <spamd> 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 <timsan775@googlemail.com> 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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82832a960611260621t688c69cfrf58118bca964f06a>