diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-09-07 09:48:39 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-09-07 09:48:39 +0000 |
commit | f3fb6450001f61fa96793d45e563023d102fd22b (patch) | |
tree | a120a3d6f056cf7e22738e83c62d7639cbe8c677 /etc | |
parent | e3868951327292b22fe8f7e9a7edde5db68b4f05 (diff) |
example spamd rules should be "pass in";
Diffstat (limited to 'etc')
-rw-r--r-- | etc/pf.conf | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/pf.conf b/etc/pf.conf index 45829787c62..36c7fe3d8ae 100644 --- a/etc/pf.conf +++ b/etc/pf.conf @@ -1,4 +1,4 @@ -# $OpenBSD: pf.conf,v 1.46 2009/09/01 14:45:32 todd Exp $ +# $OpenBSD: pf.conf,v 1.47 2009/09/07 09:48:38 jmc Exp $ # # See pf.conf(5) for syntax and examples; this sample ruleset uses # require-order to permit mixing of NAT/RDR and filter rules. @@ -19,9 +19,10 @@ pass # to establish keep-state # rules for spamd(8) #table <spamd-white> persist #table <nospamd> persist file "/etc/mail/nospamd" -#pass on egress proto tcp from any to any port smtp rdr-to 127.0.0.1 port spamd -#pass on egress proto tcp from <nospamd> to any port smtp -#pass on egress proto tcp from <spamd-white> to any port smtp +#pass in on egress proto tcp from any to any port smtp \ +# rdr-to 127.0.0.1 port spamd +#pass in on egress proto tcp from <nospamd> to any port smtp +#pass in on egress proto tcp from <spamd-white> to any port smtp #block in quick from urpf-failed to any # use with care |