mail (13)

Published 2025-11-11 19:47:02 +11:00 by Zi Gao

Installation

docker pull git.mightycastle.net/zimgao/mail:13
sha256:b531ac963f6145b8f8d00a10bf8c775781a14360463c3821e65532e7dd86f4fc

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1762202650'
LABEL maintainer=Zi Gao<zi@mightycastle.net>
LABEL version=13.0
ARG DEBIAN_FRONTEND=noninteractive
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c set -eux; apt-get update; apt-get install -qy --no-install-recommends dovecot-imapd dovecot-lmtpd dovecot-ldap dovecot-fts-xapian postfix postfix-ldap postfix-policyd-spf-python procps opendkim opendkim-tools opendmarc cron rsyslog zstd python3 nano; rm -rf /var/lib/apt/lists/* /etc/cron.daily/* /etc/cron.d/*; apt-get clean # buildkit
COPY data / # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c set -eux; echo "zi@gao.id.au" > /root/.forward; chmod 644 /root/.forward; mkdir -p /etc/opendkim; adduser postfix opendmarc; postmap /etc/postfix/virtual; python3 -m compileall /tmp/pyscript; mv /tmp/pyscript/__pycache__/mail-setup.*.pyc /usr/local/bin/mail-setup.pyc; rm -rf /tmp/pyscript; chown root:root /etc/dovecot/*; chmod 0600 /etc/dovecot/*; chmod 777 /tmp; # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c set -eux; doveconf 1; # buildkit
WORKDIR /root
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]

Labels

Key Value
maintainer Zi Gao<zi@mightycastle.net>
version 13.0
Details
Container
2025-11-11 19:47:02 +11:00
46
OCI / Docker
linux/amd64
104 MiB
Versions (2) View all
13 2025-11-11
3 2025-08-28