Thread: SPAMD and pf
View Single Post
  #1   (View Single Post)  
Old 17th September 2012
scrummie02 scrummie02 is offline
Port Guard
 
Join Date: Nov 2011
Posts: 27
Default SPAMD and pf

I have a question about SPAMD. Trying to set it up and the faq and man page use the following examples for your pf config:

from the spamd man page:
Code:
pass in on egress proto tcp from any to any port smtp \
             rdr-to 127.0.0.1 port spamd

And from http://www.openbsd.org/faq/pf/tagging.html

Code:
pass in on $ext_if proto tcp to $www_server port 80 tag INET_DMZ
pass in on $ext_if proto tcp from <spamd> to port smtp \

   tag SPAMD rdr-to 127.0.0.1 port 8025
Thing is with openbsd 5.1 I through they wanted us to use "divert-to" instead of "rdr-to".
Reply With Quote