Browse Source

example spamd rules should be "pass in";

OPENBSD_4_7
jmc 15 years ago
parent
commit
fe69db5037
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      src/etc/pf.conf

+ 5
- 4
src/etc/pf.conf View File

@ -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 # See pf.conf(5) for syntax and examples; this sample ruleset uses
# require-order to permit mixing of NAT/RDR and filter rules. # require-order to permit mixing of NAT/RDR and filter rules.
@ -19,9 +19,10 @@ pass # to establish keep-state
# rules for spamd(8) # rules for spamd(8)
#table <spamd-white> persist #table <spamd-white> persist
#table <nospamd> persist file "/etc/mail/nospamd" #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 #block in quick from urpf-failed to any # use with care


Loading…
Cancel
Save