postfix/Dockerfile

20 lines
297 B
Docker

FROM thallian/confd-env:latest
RUN apk add --no-cache \
postfix \
postfix-pgsql \
openssl \
libstdc++ \
libmilter
RUN addgroup -g 2222 access
RUN addgroup postfix access
RUN chown root /var/spool/postfix/
RUN chown root /var/spool/postfix/pid
EXPOSE 25 587
ADD /rootfs /