postfix-cloudflare (sha256:d728be8c284cf53f792af799b3d50ab68bc37549e448713c01f424aa1f037652)

Published 2025-09-11 04:23:47 +00:00 by tilian

Installation

docker pull git.tburg.net/tilian/postfix-cloudflare@sha256:d728be8c284cf53f792af799b3d50ab68bc37549e448713c01f424aa1f037652
sha256:d728be8c284cf53f792af799b3d50ab68bc37549e448713c01f424aa1f037652

Image layers

ADD alpine-minirootfs-3.20.7-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
LABEL AUTHOR=Tilian Burger <me@tilian.au>
LABEL DESCRIPTION=A Docker image for running Postfix with SSL/TLS and Cloudflare DNS for ACME challenges.
RUN /bin/sh -c apk add --no-cache postfix certbot certbot-dns-cloudflare # buildkit
VOLUME [/etc/letsencrypt]
ENV POSTFIX_MYNETWORKS=127.0.0.1/32
ENV ACME_EMAIL=your_acme_email
ENV DOMAIN=your_domain.com
RUN /bin/sh -c postconf -e "myhostname = $DOMAIN" && postconf -e "mynetworks = $POSTFIX_MYNETWORKS" && postconf -e "smtpd_tls_cert_file = /etc/letsencrypt/live/$DOMAIN/fullchain.pem" && postconf -e "smtpd_tls_key_file = /etc/letsencrypt/live/$DOMAIN/privkey.pem" # buildkit
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh # buildkit
RUN /bin/sh -c chmod +x /usr/local/bin/docker-entrypoint.sh # buildkit
EXPOSE map[25/tcp:{}]
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]

Labels

Key Value
AUTHOR Tilian Burger <me@tilian.au>
DESCRIPTION A Docker image for running Postfix with SSL/TLS and Cloudflare DNS for ACME challenges.
Details
Container
2025-09-11 04:23:47 +00:00
0
OCI / Docker
linux/amd64
30 MiB
Versions (37) View all
main-01f80fd 2025-09-12
latest 2025-09-12
main 2025-09-12
dev-opendkim 2025-09-12