-.\" $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.
.\" (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
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