how to configure spam control wiht PF?

From: sam (samwun_at_hgcbroadband.com)
Date: 06/30/04


Date: Thu, 01 Jul 2004 00:41:55 +0800

Hi,

Does anyone have any doc for me to follow how to configure and test spam
capability with PF in openbsd?

the procedure I used to setup spam control with PF now is:
1. execute /usr/libexec/spamd
2. execute /usr/libexec/spamd-setup
3. add the following rule to the pf.conf file:
nat on tun0 inet from 192.168.1.0/24 to any -> (tun0) round-robin
rdr pass inet proto tcp from <spamd> to any port = smtp -> 127.0.0.1
port 8025

Is my procedure correct?
how can I test it and make sure it works?

thanks
sam