summaryrefslogtreecommitdiffstats
path: root/network/opensmtpd/README
blob: fba4cc0dd4cdbc853f11faaa55b7f35e70db11f7 (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
31
32
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.

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

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 modify rc.local so that OpenSMTPD
will start on boot something like this:

  # start opensmtpd a replacement for sendmail and postfix
  if [ -x /etc/rc.d/rc.opensmtpd ]; then
        . /etc/rc.d/rc.opensmtpd start
  fi

Optional Dependency: LibreSSL

To use the LibreSSL runtime libraries
   First install LibreSSL 
    then build   OpenSMTPD

For hints on using alpine with OpenSMTPD see the README.alpine file