On Tue, Apr 29, 2014 at 07:51:55AM +0200, Jan Stary wrote: > After installing a fresh system (current/amd64), > I noticed that afterboot(8) still mentions Sendmail > as the default mailer: > > Sendmail > The default mail agent on OpenBSD is sendmail(8). > Details on how to configure an alternative mailer > are documented in mailer.conf(5). > > Is this known? Below is a small diff, but I suppose > the smtpd autors will want to be more specific. > > Jan >
fixed (tweaked a bit though), thanks! jmc > --- afterboot.8.orig Tue Apr 29 07:43:08 2014 > +++ afterboot.8 Tue Apr 29 07:50:26 2014 > @@ -471,47 +471,31 @@ dumper: root > Run > .Xr newaliases 8 > after changes. > -.Ss Sendmail > +.Ss Smtpd > 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 at. > .Ss Daily, weekly, monthly scripts > Review > .Xr daily 8

