Added SMTP and IMAP ports

This commit is contained in:
Ian Andrews 2016-01-08 11:52:06 -05:00
parent a0b55531a9
commit d5c6167dd3

View file

@ -40,5 +40,13 @@ RUN chmod +x /usr/local/bin/generate-ssl-certificate
# Start-mailserver script # Start-mailserver script
ADD start-mailserver.sh /usr/local/bin/start-mailserver.sh ADD start-mailserver.sh /usr/local/bin/start-mailserver.sh
RUN chmod +x /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