From 3b65fac254a7a5dadba0f4b0b52525070d1b34ad Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Wed, 15 Mar 2017 15:16:23 -0300 Subject: [PATCH] Add Postfix Spool volume and expose port 25 by default --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index acca4f2..7426147 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,3 +7,7 @@ COPY conf /etc/postfix COPY rsyslog.conf /etc/rsyslog.conf COPY monit-service.conf /opt/monit/etc/conf.d + +VOLUME ["/var/spool/postfix"] + +EXPOSE 25