From 8aa825f32be12b7f01ae148c9cf166850b62fb59 Mon Sep 17 00:00:00 2001 From: Gilles Chehade Date: Sat, 20 Dec 2008 00:22:10 +0000 Subject: - 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 ;) --- usr.sbin/smtpd/smtpd.conf | 4 ++-- usr.sbin/smtpd/smtpd.conf.5 | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'usr.sbin') 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 .\" @@ -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 -- cgit v1.2.3