postfix/Dockerfile

13 lines
202 B
Docker

FROM thallian/confd-env:latest
RUN apk add --no-cache postfix postfix-ldap
RUN chown root /var/spool/postfix/
RUN chown root /var/spool/postfix/pid
EXPOSE 25 587
VOLUME /etc/ssl/mail
ADD /rootfs /