smtp (latest-arm64)

Published 2024-10-14 11:36:06 +00:00 by deon in docker/smtp

Installation

docker pull gitea.dege.au/docker/smtp:latest-arm64
sha256:6cb64d563ba00e1a1a2dcc02e1818fcbd0019133724b55cde24875f535f2b2af

Image Layers

ADD file:ee5bb8409915b11413f44cce4c22fed658aba4fb078a448e08dd4ac9a23581f2 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
Container
2024-10-14 11:36:06 +00:00
2
OCI / Docker
linux/arm64/v8
24 MiB
Versions (3) View all
latest 2024-10-14
latest-arm64 2024-10-14
latest-x86_64 2024-10-14