smtp (latest-x86_64)
Installation
docker pull dev.dege.au/docker/smtp:latest-x86_64
sha256:d35b3bfecf6c7acf6d8097c597a420de5951cff756d3b3af28dd4babfbbcc80c
Image Layers
ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in / |
CMD ["/bin/sh"] |
RUN /bin/sh -c if [ -n ${HTTP_PROXY} ] ; then sed -i -e s'/https/http/' /etc/apk/repositories; fi # buildkit |
RUN /bin/sh -c apk add --no-cache postfix postfix-ldap cyrus-sasl cyrus-sasl-login opendkim opendkim-utils # buildkit |
COPY smtpd.conf /etc/sasl2/ # buildkit |
RUN /bin/sh -c apk add shadow && useradd -rc "HUB Mail Relay" -M relay -NG mail -s /sbin/nologin && echo relay:SmTpR3l2Y | chpasswd && gpasswd -a postfix opendkim # buildkit |
RUN /bin/sh -c sed -i -e 's%^#mynetworks = hash:/etc/postfix/network_table%mynetworks = /etc/opendkim/signing/TrustedHosts%' /etc/postfix/main.cf # buildkit |
COPY include /etc/postfix/include # buildkit |
COPY ssl /etc/postfix/ssl # buildkit |
RUN /bin/sh -c chmod 644 /etc/postfix/ssl/ca.crts /etc/postfix/include/*cf # buildkit |
RUN /bin/sh -c mkdir /run/opendkim # buildkit |
COPY opendkim.conf /etc/opendkim/ # buildkit |
COPY signing /etc/opendkim/signing/ # buildkit |
COPY defaults /defaults/ # buildkit |
COPY docker/init-docker /sbin/ # buildkit |
VOLUME [/var/spool/postfix /etc/postfix/custom /var/mail/vhosts] |
EXPOSE map[25/tcp:{}] |
ENTRYPOINT ["/sbin/init-docker"] |
Details
Versions (3)
View all