diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2007-02-24 19:31:00 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2007-02-24 19:31:00 +0000 |
commit | 2c9fbd0d2175c045db17c0944ff4c7d382ceb067 (patch) | |
tree | 70b707014bf1e028993b6c095fb78857cf6d6f72 /etc/pf.conf | |
parent | 79a1cd1fceb98e8cdb836c1d78c385b669a7fe60 (diff) |
Make greylisting the default when spamd is enabled. Uses the new -g flag
for spamd-setup. OK beck@
Diffstat (limited to 'etc/pf.conf')
-rw-r--r-- | etc/pf.conf | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/etc/pf.conf b/etc/pf.conf index 5168bfca853..10041d135af 100644 --- a/etc/pf.conf +++ b/etc/pf.conf @@ -1,4 +1,4 @@ -# $OpenBSD: pf.conf,v 1.33 2006/10/24 16:33:21 david Exp $ +# $OpenBSD: pf.conf,v 1.34 2007/02/24 19:30:59 millert Exp $ # # See pf.conf(5) and /usr/share/pf for syntax and examples. # Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1 @@ -7,7 +7,6 @@ #ext_if="ext0" #int_if="int0" -#table <spamd> persist #table <spamd-white> persist #set skip on lo @@ -18,9 +17,8 @@ #rdr-anchor "ftp-proxy/*" #nat on $ext_if from !($ext_if) -> ($ext_if:0) #rdr pass on $int_if proto tcp to port ftp -> 127.0.0.1 port 8021 -#rdr pass on $ext_if proto tcp from <spamd> to port smtp \ -# -> 127.0.0.1 port spamd -#rdr pass on $ext_if proto tcp from !<spamd-white> to port smtp \ +#no rdr on $ext_if proto tcp from <spamd-white> to any port smtp +#rdr pass on $ext_if proto tcp from any to any port smtp \ # -> 127.0.0.1 port spamd #anchor "ftp-proxy/*" |