add how to specify hostname, so other mail-servers or -clients can verify with the certificate

Ralf Becker 2021-09-17 09:14:06 +02:00
parent 2d144aeb38
commit 569fec34bc

@ -54,6 +54,7 @@ password = your-secret-password
```
services:
mail:
hostname: <fully-qualified-hostname-as-used-in-certificate>
volumes:
# to use a recognized (not self-signed) certificate, add it here (certificate.pem is the certificate plus the chain!)
# eg. to use the one created by LetsEncrypt's Certbot for the webserver use the following (replace your domain!)
@ -61,6 +62,7 @@ services:
- /etc/letsencrypt/live/egw.example.org/privkey.pem:/etc/dovecot/certificate.key
- /etc/letsencrypt/live/egw.example.org/fullchain.pem:/etc/dovecot/certificate.pem
smtp:
hostname: <fully-qualified-hostname-as-used-in-certificate>
volumes:
# to use a recognized (not self-signed) certificate, add it here (certificate.pem is the certificate plus the chain!)
# eg. to use the one created by LetsEncrypt's Certbot for the webserver use the following (replace your domain!)