From 4472185b2c553dd283a6f49dcb384d63cfe278fe Mon Sep 17 00:00:00 2001 From: jmc Date: Tue, 29 Apr 2014 13:48:18 +0000 Subject: [PATCH] smtpd is the default mailer now; From: Jan Stary ok gilles --- share/man/man8/afterboot.8 | 46 +++++++++++++------------------------- 1 file changed, 15 insertions(+), 31 deletions(-) diff --git a/share/man/man8/afterboot.8 b/share/man/man8/afterboot.8 index 5bacdf0a243..7426302ce9e 100644 --- a/share/man/man8/afterboot.8 +++ b/share/man/man8/afterboot.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: afterboot.8,v 1.144 2014/04/22 14:15:55 jmc Exp $ +.\" $OpenBSD: afterboot.8,v 1.145 2014/04/29 13:48:18 jmc Exp $ .\" .\" Copyright (c) 1997 Marshall M. Midden .\" All rights reserved. @@ -29,7 +29,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: April 22 2014 $ +.Dd $Mdocdate: April 29 2014 $ .Dt AFTERBOOT 8 .\" Originally created by Marshall M. Midden -- 1997-10-20, m4@umn.edu .Os @@ -465,47 +465,31 @@ dumper: root Run .Xr newaliases 8 after changes. -.Ss Sendmail +.Ss Mail The default mail agent on .Ox is -.Xr sendmail 8 . +.Xr smtpd 8 . Details on how to configure an alternative mailer are documented in .Xr mailer.conf 5 . .Pp .Ox ships with a default -.Pa /etc/mail/localhost.cf -file that will work for simple installations; it was generated from -.Pa openbsd-localhost.mc -in -.Pa /usr/share/sendmail/cf . -Please see -.Pa /usr/share/sendmail/README -for information on generating your own sendmail configuration files. -For the default installation, sendmail is configured to only accept +.Pa /etc/mail/smtpd.conf +file that will work for simple installations. +See +.Xr smtpd.conf 5 +for information on configuring more complex setups. +For the default installation, smptd is configured to only accept connections from the local host. This makes it possible to send mail locally, but not receive mail from remote servers, which is ideal if you have one central incoming mail machine and several clients. -To cause sendmail to accept external network connections, modify the -.Va sendmail_flags -variable in -.Pa /etc/rc.conf.local -to use the -.Pa /etc/mail/sendmail.cf -file in accordance with the comments therein. -This file was generated from -.Pa openbsd-proto.mc . -.Pp -Note that sendmail now also listens on port 587 by default. -This is to implement the RFC 6409 message submission protocol. -You may disable this via the -.Ic no_default_msa -option in your sendmail .mc file. -See -.Pa /usr/share/sendmail/README -for more information. +To cause smtpd to accept external network connections, modify the +.Va listen +directive in +.Pa /etc/mail/smtpd.conf +to include the interfaces to listen on. .Ss Daily, weekly, monthly scripts Review .Xr daily 8 -- 2.20.1