mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-10 16:57:54 +02:00
Updated EGroupwareMail (markdown)
@ -54,21 +54,23 @@ password = your-secret-password
|
|||||||
```
|
```
|
||||||
services:
|
services:
|
||||||
mail:
|
mail:
|
||||||
|
# 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!)
|
||||||
hostname: <fully-qualified-hostname-as-used-in-certificate>
|
hostname: <fully-qualified-hostname-as-used-in-certificate>
|
||||||
volumes:
|
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!)
|
|
||||||
- /etc/letsencrypt:/etc/letsencrypt
|
- /etc/letsencrypt:/etc/letsencrypt
|
||||||
- /etc/letsencrypt/live/egw.example.org/privkey.pem:/etc/dovecot/certificate.key
|
- /etc/letsencrypt/live/egw.example.org/privkey.pem:/etc/dovecot/certificate.key
|
||||||
- /etc/letsencrypt/live/egw.example.org/fullchain.pem:/etc/dovecot/certificate.pem
|
- /etc/letsencrypt/live/egw.example.org/fullchain.pem:/etc/dovecot/certificate.pem
|
||||||
smtp:
|
smtp:
|
||||||
|
# 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!)
|
||||||
hostname: <fully-qualified-hostname-as-used-in-certificate>
|
hostname: <fully-qualified-hostname-as-used-in-certificate>
|
||||||
volumes:
|
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!)
|
|
||||||
- /etc/letsencrypt:/etc/letsencrypt
|
- /etc/letsencrypt:/etc/letsencrypt
|
||||||
- /etc/letsencrypt/live/egw.example.org/privkey.pem:/etc/postfix/certificate.key
|
- /etc/letsencrypt/live/egw.example.org/privkey.pem:/etc/postfix/certificate.key
|
||||||
- /etc/letsencrypt/live/egw.example.org/fullchain.pem:/etc/postfix/certificate.pem
|
- /etc/letsencrypt/live/egw.example.org/fullchain.pem:/etc/postfix/certificate.pem
|
||||||
|
# run the following command once to make sure mail-services get restarted on certificate renewal:
|
||||||
|
# certbot renew --force-renew --post-hook "docker-compose -f /etc/egroupware-mail/docker-compose.yml restart"
|
||||||
```
|
```
|
||||||
* run the following command once to make sure mail-services get restarted on certificate renewal:
|
* run the following command once to make sure mail-services get restarted on certificate renewal:
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user