aboutsummaryrefslogtreecommitdiff
path: root/network/opensmtpd/README
blob: 39e7203c2007c2feff8a32fbdd0a0a0593ac482f (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
27
28
29
30
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.

Alpine hangs when sending mail using the opensmtp sendmail command and the
opensmtpd server is down.

To prevent this, modify the /etc/pine.conf or the user .pinerc to
send the mail directly to the server instead of using the
opensmtpd sendmail command:

  smtp-server=localhost