File: README.md

package info (click to toggle)
postfix-mta-sts-resolver 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 536 kB
  • sloc: python: 3,069; sh: 226; makefile: 47
file content (43 lines) | stat: -rw-r--r-- 1,144 bytes parent folder | download
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
33
34
35
36
37
38
39
40
41
42
43
# Deployment

## RHEL/CentOS/OEL

The default Python version in RHEL7 (and clones) is too old, you need at least 3.5 to run postfix-mta-sts. However, Python 3.6 is available in the Software collections

For other distributions please edit the Systemd Unit file accordingly

### Create a User (and Group) to run MTA-STS
```bash
useradd -c "Daemon for MTA-STS policy checks" mta-sts -s /sbin/nologin
```

### Systemd Unit file

Place the provided files to /etc/systemd/system and reload the system daemon

```bash
systemctl daemon-reload
```

To enable MTA-STS on system startup run

```bash
systemctl enable postfix-mta-sts.service
```

## FreeBSD rc.d file

Place the provided mta-sts-daemon file to /usr/local/etc/rc.d

To enable MTA-STS on system startup add `mta_sts_daemon_enable="YES"` to your /etc/rc.conf

## NetBSD rc.d file

Place the provided `mta_sts_daemon.netbsd` file to `/etc/rc.d/`.

You want to verify that `command_interpreter` is set to your correct python interpreter.

Also make sure that you have added the `mta-sts` user and group.

To enable MTA-STS on system startup add `mta_sts_daemon="YES"` to your `/etc/rc.conf`.