slackbuilds_ponce/network/opensmtpd
Robby Workman 68a5cd7330
network/opensmtpd: Fixup some spooldir ownership and perms
This should ease the transition for upgrades of earlier versions.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2016-12-31 08:22:54 +07:00
..
aliases
doinst.sh
opensmtpd.info
opensmtpd.SlackBuild network/opensmtpd: Fixup some spooldir ownership and perms 2016-12-31 08:22:54 +07:00
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