summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-08-06 19:52:38 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-08-06 19:52:38 +0000
commit5575231ccfc05db268e3dea33cd2ea19a160e36f (patch)
tree280efdb62ec1a69ea1d1b2d7790358e43ed12e4c /share
parent50f81f3d5e5b5b206944aab7cf18d58adb4564ec (diff)
replace port number 8025 w/ symbolic `spamd';
ok krw@ deraadt@ diff from ray lai;
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