summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2008-12-20 00:22:10 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2008-12-20 00:22:10 +0000
commit8aa825f32be12b7f01ae148c9cf166850b62fb59 (patch)
tree3d32c60eb55acda2159370f0999a0722bf5df328 /usr.sbin
parentd55192fc95cad5c26cd1e13f819f9b2e4e7bed00 (diff)
- update smtpd.conf to provide an example of an auth enabled listener
- update smtpd.conf.5 just to provide an example, a better description of "enable auth" will come when im done implementing it ;)
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtpd.conf4
-rw-r--r--usr.sbin/smtpd/smtpd.conf.55
2 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/smtpd.conf b/usr.sbin/smtpd/smtpd.conf
index c0f920afb73..b3482fa77af 100644
--- a/usr.sbin/smtpd/smtpd.conf
+++ b/usr.sbin/smtpd/smtpd.conf
@@ -1,7 +1,7 @@
-# $OpenBSD: smtpd.conf,v 1.3 2008/12/06 02:04:56 gilles Exp $
+# $OpenBSD: smtpd.conf,v 1.4 2008/12/20 00:22:09 gilles Exp $
listen on lo0 port 25
-#ssmtp listen on localhost port 465
+#ssmtp listen on localhost port 465 enable auth
hostname localhost
local = "( 127.0.0.1, ::1 )"
diff --git a/usr.sbin/smtpd/smtpd.conf.5 b/usr.sbin/smtpd/smtpd.conf.5
index 8f34b7972fe..8ad6d35e9f5 100644
--- a/usr.sbin/smtpd/smtpd.conf.5
+++ b/usr.sbin/smtpd/smtpd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: smtpd.conf.5,v 1.5 2008/12/12 17:24:51 jacekm Exp $
+.\" $OpenBSD: smtpd.conf.5,v 1.6 2008/12/20 00:22:09 gilles Exp $
.\"
.\" Copyright (c) 2008 Janne Johansson <jj@openbsd.org>
.\"
@@ -15,7 +15,7 @@
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.\"
-.Dd $Mdocdate: December 12 2008 $
+.Dd $Mdocdate: December 20 2008 $
.Dt SMTPD.CONF 5
.Os
.Sh NAME
@@ -56,6 +56,7 @@ For example,
smtp_port = 25
listen on 127.0.0.1 port $smtp_port
listen on fxp0 port $smtp_port
+ssmtp listen on fxp0 port $smtp_port enable auth
.Ed
.Sh EXPANSION
Some configuration directives expect expansion of their parameter at