mail (14)

Published 2026-05-03 03:28:43 +10:00 by Zi Gao

Installation

docker pull git.mightycastle.net/zimgao/mail:14
sha256:cd17264eb3010477d92efebefe74015337d4d8887597e9c9fff9c49d65f751cf

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1769990400'
LABEL maintainer=Zi Gao<zi@mightycastle.net>
LABEL version=14
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-flatcurve postfix postfix-ldap rspamd procps rsyslog zstd; rm -rf /var/lib/apt/lists/*; apt-get clean; sed -i 's|^\$manpage_directory|# &|' /etc/postfix/postfix-files; # 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; postmap /etc/postfix/virtual; chown root:root /etc/dovecot/*; chmod 0600 /etc/dovecot/*; chown root:root /etc/rspamd/local.d/*; chmod 0644 /etc/rspamd/local.d/*; chmod 777 /tmp; touch /var/lib/rspamd/stats.ucl; chown _rspamd:_rspamd /var/lib/rspamd/stats.ucl; # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c set -eux; doveconf 1; # buildkit
WORKDIR /root
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

Labels

Key Value
maintainer Zi Gao<zi@mightycastle.net>
version 14
Details
Container
2026-05-03 03:28:43 +10:00
68
OCI / Docker
linux/amd64
89 MiB
Versions (3) View all
14 2026-05-03
13 2026-01-30
3 2025-08-28