summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Z.M. Gao <gaozhm@mvad.com>2016-05-09 14:38:05 +0800
committerJames Z.M. Gao <gaozhm@mvad.com>2016-05-09 14:38:05 +0800
commit6709cd9e8f0456eccb5802122ce39f330380f109 (patch)
tree4ac922b6cec3ca2c1e99fc160f60ed88f12b5cf4
parent304fb90cab0c5a5efa239a783eccad6abbb1acbc (diff)
downloaddavmail-6709cd9e8f0456eccb5802122ce39f330380f109.tar.gz
davmail-6709cd9e8f0456eccb5802122ce39f330380f109.tar.bz2
davmail-6709cd9e8f0456eccb5802122ce39f330380f109.tar.xz
davmail-6709cd9e8f0456eccb5802122ce39f330380f109.zip
use non system ports
-rw-r--r--Dockerfile8
-rw-r--r--content/etc/davmail/davmail.properties.template8
2 files changed, 8 insertions, 8 deletions
diff --git a/Dockerfile b/Dockerfile
index 90b8921..11aa6f2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -22,10 +22,10 @@ USER davmail
VOLUME ["/etc/davmail/davmail.p12"]
EXPOSE 1080
-EXPOSE 993
-EXPOSE 636
-EXPOSE 995
-EXPOSE 587
+EXPOSE 1993
+EXPOSE 1636
+EXPOSE 1995
+EXPOSE 1587
WORKDIR /opt/davmail
ENTRYPOINT ["/opt/davmail/entrypoint.sh"]
diff --git a/content/etc/davmail/davmail.properties.template b/content/etc/davmail/davmail.properties.template
index e3ca9fd..4c36fd6 100644
--- a/content/etc/davmail/davmail.properties.template
+++ b/content/etc/davmail/davmail.properties.template
@@ -12,10 +12,10 @@ davmail.url=${DAVMAIL_URL}
# Listener ports
davmail.caldavPort=1080
-davmail.imapPort=993
-davmail.ldapPort=636
-davmail.popPort=995
-davmail.smtpPort=587
+davmail.imapPort=1993
+davmail.ldapPort=1636
+davmail.popPort=1995
+davmail.smtpPort=1587
#############################################################
# Network settings