Merge pull request #48 from sirgantrithon/master

Added SMTP and IMAP ports
This commit is contained in:
Thomas VIAL 2016-01-09 01:38:09 +01:00
commit 9c4eb6ba4b

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