From fe69db503787314014887c771e74f24ba7a5fba3 Mon Sep 17 00:00:00 2001 From: jmc <> Date: Mon, 7 Sep 2009 09:48:38 +0000 Subject: [PATCH] example spamd rules should be "pass in"; --- src/etc/pf.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/etc/pf.conf b/src/etc/pf.conf index 45829787..36c7fe3d 100644 --- a/src/etc/pf.conf +++ b/src/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 persist #table 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 to any port smtp -#pass on egress proto tcp from 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 to any port smtp +#pass in on egress proto tcp from to any port smtp #block in quick from urpf-failed to any # use with care