fix: ssl on mail

This commit is contained in:
Strix 2023-10-30 01:42:49 +01:00
parent eb1096b275
commit 8d45311e0d
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -10,6 +10,10 @@ services:
# More information about the mail-server ports: # More information about the mail-server ports:
# https://docker-mailserver.github.io/docker-mailserver/latest/config/security/understanding-the-ports/ # https://docker-mailserver.github.io/docker-mailserver/latest/config/security/understanding-the-ports/
# To avoid conflicts with yaml base-60 float, DO NOT remove the quotation marks. # To avoid conflicts with yaml base-60 float, DO NOT remove the quotation marks.
environment:
SSL_TYPE: "manual"
SSL_CERT_PATH: "/etc/letsencrypt/live/mail.ixvd.net/fullchain.pem"
SSL_KEY_PATH: "/etc/letsencrypt/live/mail.ixvd.net/privkey.pem"
ports: ports:
- "25:25" # SMTP (explicit TLS => STARTTLS) - "25:25" # SMTP (explicit TLS => STARTTLS)
- "143:143" # IMAP4 (explicit TLS => STARTTLS) - "143:143" # IMAP4 (explicit TLS => STARTTLS)