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