slackbuilds_ponce/network/opensmtpd
Richard Narron 66062b50d0
network/opensmtpd: Apply OpenBSD 6.4 patch 20.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2019-08-10 01:10:14 +07:00
..
aliases
doinst.sh
openbsd64-020-smtpd.patch
opensmtpd.info
opensmtpd.SlackBuild
rc.opensmtpd
README
slack-desc

OpenSMTPD is a FREE implementation of the server-side SMTP protocol
as defined by RFC 5321, with some additional standard extensions.
It allows ordinary machines to exchange e-mails with other systems
speaking the SMTP protocol.

You must have smtpd and smtpq users and groups on the system for
privilege separation - something like this should suffice:

  groupadd -g 270 smtpd
  useradd -u 270 -g 270 -r -s /bin/false -d /var/empty smtpd
  groupadd -g 271 smtpq
  useradd -u 271 -g 271 -r -s /bin/false -d /var/empty smtpq

You will want to add /etc/rc.d/rc.opensmtpd to rc.local so that it
will start on boot (or perhaps consider symlinking rc.sendmail to
rc.opensmtpd).

This package conflicts with the stock sendmail package included in
Slackware and overwrites some of its files, so remove the sendmail
package before installing opensmtpd.

In the change from version 5.7.3p2 to 5.9.2p1 the ownership and permissions
changed for the /var/spool/offline directory

  chown -R root:smtpq /var/spool/offline
  chmod 770           /var/spool/offline