summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/pf.conf.54
-rw-r--r--share/pf/spamd4
2 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 0ad45af68c9..298c554b451 100644
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pf.conf.5,v 1.336 2005/08/05 22:35:59 dhartmei Exp $
+.\" $OpenBSD: pf.conf.5,v 1.337 2005/08/06 19:52:36 jmc Exp $
.\"
.\" Copyright (c) 2002, Daniel Hartmeier
.\" All rights reserved.
@@ -1084,7 +1084,7 @@ or to the firewall itself.
Note that redirecting external incoming connections to the loopback
address, as in
.Bd -literal -offset indent
-rdr on ne3 inet proto tcp to port 8025 -> 127.0.0.1 port 25
+rdr on ne3 inet proto tcp to port spamd -> 127.0.0.1 port smtp
.Ed
.Pp
will effectively allow an external host to connect to daemons
diff --git a/share/pf/spamd b/share/pf/spamd
index e63b52529c9..31b24adc3f5 100644
--- a/share/pf/spamd
+++ b/share/pf/spamd
@@ -1,7 +1,7 @@
-# $OpenBSD: spamd,v 1.1 2003/08/22 15:25:01 henning Exp $
+# $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 8025
+rdr inet proto tcp from <spamd> to any port smtp -> 127.0.0.1 port spamd