From d378b12a2c6f887a04b5e4724ce186b8058ccb46 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Mon, 11 Mar 2019 10:39:42 +0100 Subject: [PATCH] Make remaining mail ports (SMTPS/MSA/IMAP) configurable. --- docker-compose.yml | 6 +++--- setup.sh | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 026e485..919be0c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -110,8 +110,8 @@ services: - ldap ports: - "${SMTPPORT:-25}:25" - - "465:465" - - "587:587" + - "${SMTPSPORT:-465}:465" + - "${MSAPORT:-587}:587" volumes: - maildata:/var/mail - mailstate:/var/mail-state @@ -360,7 +360,7 @@ services: image: ${docker_repo:-zokradonh}/kopano_core:${CORE_VERSION:-latest} container_name: kopano_gateway ports: - - "143:143" + - "${IMAPPORT:-143}:143" volumes: - kopanossl/:/kopano/ssl - kopanosocket/:/run/kopano diff --git a/setup.sh b/setup.sh index 66a808a..8fd6630 100755 --- a/setup.sh +++ b/setup.sh @@ -320,6 +320,9 @@ HTTP=80 HTTPS=443 LDAPPORT=389 SMTPPORT=25 +SMTPSPORT=465 +MSAPORT=587 +IMAPPORT=143 KOPANOPORT=236 KOPANOSPORT=237