aboutsummaryrefslogtreecommitdiff
path: root/share/examples/pf/spamd
diff options
context:
space:
mode:
Diffstat (limited to 'share/examples/pf/spamd')
-rw-r--r--share/examples/pf/spamd7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/examples/pf/spamd b/share/examples/pf/spamd
new file mode 100644
index 000000000000..31b24adc3f55
--- /dev/null
+++ b/share/examples/pf/spamd
@@ -0,0 +1,7 @@
+# $OpenBSD: spamd,v 1.2 2005/08/06 19:52:37 jmc Exp $
+
+# spamd-setup puts addresses to be redirected into table <spamd>.
+
+table <spamd> persist
+no rdr on { lo0, lo1 } from any to any
+rdr inet proto tcp from <spamd> to any port smtp -> 127.0.0.1 port spamd