From 6709cd9e8f0456eccb5802122ce39f330380f109 Mon Sep 17 00:00:00 2001 From: "James Z.M. Gao" Date: Mon, 9 May 2016 14:38:05 +0800 Subject: use non system ports --- Dockerfile | 8 ++++---- content/etc/davmail/davmail.properties.template | 8 ++++---- 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 -- cgit v1.2.3