Block a user
postfix (latest)
Published 2026-02-13 14:30:22 +01:00 by henrik
Installation
docker pull git.hnrk.io/henrik/postfix:latestsha256:14890c17ec5d0266bb09dfa3b5c7e9241b5cc9987744cd77a36c7b14b02c2d02
Image Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1769990400' |
| LABEL maintainer=The Infrastructure Company GmbH <info@servercow.de> |
| ARG DEBIAN_FRONTEND=noninteractive |
| ENV LC_ALL=C |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c dpkg-divert --local --rename --add /sbin/initctl && ln -sf /bin/true /sbin/initctl && dpkg-divert --local --rename --add /usr/bin/ischroot && ln -sf /bin/true /usr/bin/ischroot # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c groupadd -g 102 postfix && groupadd -g 103 postdrop && useradd -g postfix -u 101 -d /var/spool/postfix -s /usr/sbin/nologin postfix && apt-get update && apt-get install -y --no-install-recommends ca-certificates curl dirmngr dnsutils gnupg libsasl2-modules mariadb-client perl postfix postfix-mysql postfix-pcre redis-tools sasl2-bin sudo supervisor syslog-ng syslog-ng-core syslog-ng-mod-redis tzdata && rm -rf /var/lib/apt/lists/* && touch /etc/default/locale && printf '#!/bin/bash\n/usr/sbin/postconf -c /opt/postfix/conf "$@"' > /usr/local/sbin/postconf && chmod +x /usr/local/sbin/postconf # buildkit |
| COPY supervisord.conf /etc/supervisor/supervisord.conf # buildkit |
| COPY syslog-ng.conf /etc/syslog-ng/syslog-ng.conf # buildkit |
| COPY syslog-ng-redis_slave.conf /etc/syslog-ng/syslog-ng-redis_slave.conf # buildkit |
| COPY postfix.sh /opt/postfix.sh # buildkit |
| COPY rspamd-pipe-ham /usr/local/bin/rspamd-pipe-ham # buildkit |
| COPY rspamd-pipe-spam /usr/local/bin/rspamd-pipe-spam # buildkit |
| COPY whitelist_forwardinghosts.sh /usr/local/bin/whitelist_forwardinghosts.sh # buildkit |
| COPY stop-supervisor.sh /usr/local/sbin/stop-supervisor.sh # buildkit |
| COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c chmod +x /opt/postfix.sh /usr/local/bin/rspamd-pipe-ham /usr/local/bin/rspamd-pipe-spam /usr/local/bin/whitelist_forwardinghosts.sh /usr/local/sbin/stop-supervisor.sh # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c rm -rf /tmp/* /var/tmp/* # buildkit |
| EXPOSE [588/tcp] |
| ENTRYPOINT ["/docker-entrypoint.sh"] |
| CMD ["/usr/bin/supervisord" "-c" "/etc/supervisor/supervisord.conf"] |
Labels
| Key | Value |
|---|---|
| maintainer | The Infrastructure Company GmbH <info@servercow.de> |
Details
2026-02-13 14:30:22 +01:00
Versions (3)
View all
Container
0
OCI / Docker
linux/amd64
110 MiB