summaryrefslogtreecommitdiff
path: root/etc/pf.conf
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2009-09-01 14:45:33 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2009-09-01 14:45:33 +0000
commitfc9c80f35965701b22c69ae0d29352bd8fd202a9 (patch)
treec8a17f6b1a0832bf37e6fc9fb7c6109d80c8d63c /etc/pf.conf
parent37fd8779ef76d6cf76686a771c9737aa0840f0ba (diff)
add back sample spamd(8) rules, converted appropriately; ok henning@
Diffstat (limited to 'etc/pf.conf')
-rw-r--r--etc/pf.conf10
1 files changed, 9 insertions, 1 deletions
diff --git a/etc/pf.conf b/etc/pf.conf
index d158b236745..45829787c62 100644
--- a/etc/pf.conf
+++ b/etc/pf.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: pf.conf,v 1.45 2009/09/01 13:51:19 henning Exp $
+# $OpenBSD: pf.conf,v 1.46 2009/09/01 14:45:32 todd Exp $
#
# See pf.conf(5) for syntax and examples; this sample ruleset uses
# require-order to permit mixing of NAT/RDR and filter rules.
@@ -16,6 +16,14 @@ set skip on lo
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
+
+
#block in quick from urpf-failed to any # use with care
# By default, do not permit remote connections to X11