Update README for Stalwart mail.

This commit is contained in:
Viyurz 2024-04-06 21:51:53 +02:00
parent 9638075580
commit 5baa02f884
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8

View file

@ -52,32 +52,4 @@ When starting the container for the first time, run the initial setup:
```
docker exec -it mailserver /bin/sh /usr/local/bin/configure.sh
```
After that you need to tell Stalwart where the SSL certificate files are in:
```
/opt/stalwart-mail/etc/common/tls.toml
[certificate."default"]
cert = "file:///etc/fullchain.pem"
private-key = "file:///etc/privkey.pem"
```
And configure the user Stalwart will run as:
```
/opt/stalwart-mail/etc/common/server.toml
[server.run-as]
user = "mail"
group = "mail"
```
Then follow the end of the [Official Installation Guide](https://stalw.art/docs/install/docker#take-note-of-the-administrator-password).
Note: Explicitely disable implicit TLS for the smtp listener
or it may listen for implicit SSL connections instead of StartTLS.
```
[server.listener."smtp"]
bind = ["[::]:25"]
protocol = "smtp"
tls.implicit = false
```
After that, re-run the setup tasks because `configure.sh` overrides the config files.