summaryrefslogtreecommitdiffstats
path: root/share/examples/pf/spamd
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2004-09-14 01:07:19 +0000
committermlaier <mlaier@FreeBSD.org>2004-09-14 01:07:19 +0000
commit61e73d53e0e987f0067b83931d2738019c3244c1 (patch)
treef4f7a5d40c5d14259348b29aae4f8b79aeac3dad /share/examples/pf/spamd
parent0dd68a174a1c85566e2a81504fccd230c6ec1dac (diff)
downloadFreeBSD-src-61e73d53e0e987f0067b83931d2738019c3244c1.zip
FreeBSD-src-61e73d53e0e987f0067b83931d2738019c3244c1.tar.gz
Bring in some examples (and create space for future work here):
- Add OpenBSD example rulesets as advertised in etc/pf.conf and pf.conf(5) - Tweak the pointer to fit the FreeBSD default location share/examples/pf - Account for the new directory in BSD.usr.dist (no hier(7) change required as share/examples is an opaque item there). Obtained from: OpenBSD Reminded by: Thomas T. Veldhouse PR: docs/71691 MFC after: 2 days
Diffstat (limited to 'share/examples/pf/spamd')
-rw-r--r--share/examples/pf/spamd8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/examples/pf/spamd b/share/examples/pf/spamd
new file mode 100644
index 0000000..780e879
--- /dev/null
+++ b/share/examples/pf/spamd
@@ -0,0 +1,8 @@
+# $FreeBSD$
+# $OpenBSD: spamd,v 1.1 2003/08/22 15:25:01 henning 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 8025
OpenPOWER on IntegriCloud