aboutsummaryrefslogtreecommitdiff
path: root/network/opensmtpd/README
blob: bbd1b2606fa385023a62730a039cda275335dcc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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