From fbc13b786a3d025a10ea2bbe7061f5953773e78b Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 13 Mar 2014 14:47:45 +0000 Subject: remove old instructions about sendmail. poke by jmc --- usr.sbin/smtpd/smtpd.8 | 52 ++------------------------------------------------ 1 file changed, 2 insertions(+), 50 deletions(-) (limited to 'usr.sbin/smtpd') diff --git a/usr.sbin/smtpd/smtpd.8 b/usr.sbin/smtpd/smtpd.8 index a8770a05f2f..11fb2d04589 100644 --- a/usr.sbin/smtpd/smtpd.8 +++ b/usr.sbin/smtpd/smtpd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: smtpd.8,v 1.24 2013/10/29 14:30:05 eric Exp $ +.\" $OpenBSD: smtpd.8,v 1.25 2014/03/13 14:47:44 tedu Exp $ .\" .\" Copyright (c) 2012, Eric Faurot .\" Copyright (c) 2008, Gilles Chehade @@ -16,7 +16,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 29 2013 $ +.Dd $Mdocdate: March 13 2014 $ .Dt SMTPD 8 .Os .Sh NAME @@ -87,40 +87,6 @@ Do not listen on SMTP sockets. .It Fl v Produce more verbose output. .El -.Pp -.Nm -is not enabled by default. -In order to use it as the system mailer, -ensure the mail queue is empty, -then stop -.Xr sendmail 8 : -.Bd -literal -offset indent -# /etc/rc.d/sendmail stop -.Ed -.Pp -Modify the current -.Xr mailwrapper 8 -settings by editing -.Pa /etc/mailer.conf : -.Bd -literal -offset indent -sendmail /usr/sbin/smtpctl -send-mail /usr/sbin/smtpctl -mailq /usr/sbin/smtpctl -makemap /usr/libexec/smtpd/makemap -newaliases /usr/libexec/smtpd/makemap -.Ed -.Pp -Disable the sendmail clientmqueue entry in -.Xr crontab 1 . -.Pp -Rebuild the aliases database, -and enable the daemon: -.Bd -literal -offset indent -# newaliases -# echo "sendmail_flags=NO" \*(Gt\*(Gt /etc/rc.conf.local -# echo "smtpd_flags=" \*(Gt\*(Gt /etc/rc.conf.local -# /etc/rc.d/smtpd start -.Ed .Sh FILES .Bl -tag -width "/var/run/smtpd.sockXXX" -compact .It Pa /etc/mail/mailname @@ -150,17 +116,3 @@ The .Nm program first appeared in .Ox 4.6 . -.Sh CAVEATS -Because -.Xr sendmail 8 -is still the de facto -.Ox -mailer, -.Nm -versions of -.Xr aliases 5 , -.Xr forward 5 , -.Xr makemap 8 , -and -.Xr newaliases 8 -are not currently installed. -- cgit v1.2.3