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 < [EMAIL PROTECTED]>:

On 11/25/06, tim m <[EMAIL PROTECTED]> 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

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to