From 4b07549e73cc57c82373571882da4fb666589f6f Mon Sep 17 00:00:00 2001 From: Mohmmed Elfateh Sabry <59346303+elfateh4@users.noreply.github.com> Date: Tue, 12 Aug 2025 20:43:42 +0300 Subject: [PATCH] Add MailCow integration: configure mail protocol ports and entrypoints in Traefik --- docker-compose.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 1884ec5..77879df 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,6 +27,15 @@ services: ports: - "80:80" - "443:443" + # Mail protocol ports for MailCow integration + - "25:25" # SMTP + - "465:465" # SMTPS + - "587:587" # Submission + - "143:143" # IMAP + - "993:993" # IMAPS + - "110:110" # POP3 + - "995:995" # POP3S + - "4190:4190" # ManageSieve networks: [traefik_proxy] environment: TZ: "${TZ}" @@ -47,6 +56,16 @@ services: - --entrypoints.web.forwardedheaders.insecure=true - --entrypoints.websecure.forwardedheaders.insecure=true + # Mail protocol entrypoints for MailCow integration + - --entrypoints.smtp.address=:25 + - --entrypoints.smtps.address=:465 + - --entrypoints.submission.address=:587 + - --entrypoints.imap.address=:143 + - --entrypoints.imaps.address=:993 + - --entrypoints.pop3.address=:110 + - --entrypoints.pop3s.address=:995 + - --entrypoints.sieve.address=:4190 + # Dashboard/API (internal) - --api.dashboard=true