2013-12-11 11:29:49 +01:00
|
|
|
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
|
2013-04-14 16:43:41 +02:00
|
|
|
speaking the SMTP protocol.
|
|
|
|
|
2013-12-11 11:29:49 +01:00
|
|
|
You must have smtpd and smtpq users and groups on the system for
|
|
|
|
privilege separation - something like this should suffice:
|
2016-05-17 03:48:51 +02:00
|
|
|
|
2013-12-11 11:29:49 +01:00
|
|
|
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
|
2013-04-14 16:43:41 +02:00
|
|
|
|
2013-12-11 11:29:49 +01:00
|
|
|
You will want to add /etc/rc.d/rc.opensmtpd to rc.local so that it
|
2013-04-14 16:43:41 +02:00
|
|
|
will start on boot (or perhaps consider symlinking rc.sendmail to
|
|
|
|
rc.opensmtpd).
|
|
|
|
|
|
|
|
This package conflicts with the stock sendmail package included in
|
2013-12-11 11:29:49 +01:00
|
|
|
Slackware and overwrites some of its files, so remove the sendmail
|
|
|
|
package before installing opensmtpd.
|
2016-05-17 03:48:51 +02:00
|
|
|
|
|
|
|
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
|