View Single Post

   
  #2 (permalink)  
Old 02-16-2008, 05:46 AM
sam
 
Posts: n/a
Default Re: how to configure spam control wiht PF?

sam wrote:

> 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


I also found that there is no /var/db/spamdb.

Thanks
sam
Reply With Quote