| 12345678910111213141516171819202122232425262728293031323334 | # Copyright (c) 2024 Fabian Peter Hammerle## This program and the accompanying materials are made available under the# terms of the Eclipse Public License 2.0 which is available at# http://www.eclipse.org/legal/epl-2.0.## SPDX-License-Identifier: EPL-2.0FROM docker.io/alpine:3.22.0# http://www.postfix.org/announcements.html# https://git.alpinelinux.org/aports/log/main/postfix?h=3.22-stableARG POSTFIX_PACKAGE_VERSION=3.10.3-r0# http://www.postfix.org/postconf.5.html#tls_append_default_CA# https://www.mozilla.org/en-US/about/governance/policies/security-group/certs/# https://gitlab.alpinelinux.org/alpine/ca-certificates/-/commits/master# https://git.alpinelinux.org/aports/log/main/ca-certificates?h=3.22-stableARG MOZILLA_CA_CERT_STORE_PACKAGE_VERSION=20241121-r2RUN apk add --no-cache \        ca-certificates=$MOZILLA_CA_CERT_STORE_PACKAGE_VERSION \        postfix=$POSTFIX_PACKAGE_VERSION \    && postconf -evv tls_append_default_CA=no `# default, but better be safe`# http://www.postfix.org/MAILLOG_README.htmlRUN postconf -F | grep -E '^postlog/unix-dgram/service = postlog$' \    && postconf -evv maillog_file=/dev/stdout \    && postfix check# http://www.postfix.org/postconf.5.html#queue_directoryVOLUME /var/spool/postfixEXPOSE 25/tcpCOPY postfix.sh /CMD ["/postfix.sh"]
 |