From d5c6167dd300966d9ba1ef0110b5d91be71a210c Mon Sep 17 00:00:00 2001 From: Ian Andrews Date: Fri, 8 Jan 2016 11:52:06 -0500 Subject: [PATCH] Added SMTP and IMAP ports --- Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index df9160ec..6f94a855 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,5 +40,13 @@ RUN chmod +x /usr/local/bin/generate-ssl-certificate # Start-mailserver script ADD start-mailserver.sh /usr/local/bin/start-mailserver.sh RUN chmod +x /usr/local/bin/start-mailserver.sh -CMD /usr/local/bin/start-mailserver.sh +# SMTP ports +EXPOSE 25 +EXPOSE 587 + +# IMAP ports +EXPOSE 143 +EXPOSE 993 + +CMD /usr/local/bin/start-mailserver.sh