Update README for Stalwart mail.
This commit is contained in:
parent
9638075580
commit
5baa02f884
1 changed files with 1 additions and 29 deletions
30
README.md
30
README.md
|
@ -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
|
docker exec -it mailserver /bin/sh /usr/local/bin/configure.sh
|
||||||
```
|
```
|
||||||
|
After that, re-run the setup tasks because `configure.sh` overrides the config files.
|
||||||
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
|
|
||||||
```
|
|
||||||
|
|
Loading…
Reference in a new issue