Fixed entrypoint
All checks were successful
Build Docker image on push / docker (push) Successful in 7s
Build and push Docker image on tag / docker (push) Successful in 41s

This commit is contained in:
2026-03-29 09:02:13 +02:00
parent 5c52e6e32a
commit 6fcd061f71

View File

@@ -77,33 +77,39 @@ cat > /etc/postfix/master.cf <<'EOF'
EOF EOF
# SMTP configuration. # SMTP configuration.
if [ "${POSTFIX_SMTP_ENABLED}" = "yes" ]; then case "${POSTFIX_SMTP_ENABLED}" in
cat >> /etc/postfix/master.cf <<'EOF' true|yes|on|1)
cat >> /etc/postfix/master.cf <<'EOF'
smtp inet n - y - - smtpd smtp inet n - y - - smtpd
-o syslog_name=postfix/smtp -o syslog_name=postfix/smtp
EOF EOF
fi ;;
esac
# Submission configuration. # Submission configuration.
if [ "${POSTFIX_SUBMISSION_ENABLED}" = "yes" ]; then case "${POSTFIX_SUBMISSION_ENABLED}" in
cat >> /etc/postfix/master.cf <<EOF true|yes|on|1)
cat >> /etc/postfix/master.cf <<EOF
submission inet n - y - - smtpd submission inet n - y - - smtpd
-o syslog_name=postfix/submission -o syslog_name=postfix/submission
-o smtpd_tls_security_level=${POSTFIX_SUBMISSION_TLS_SECURITY_LEVEL} -o smtpd_tls_security_level=${POSTFIX_SUBMISSION_TLS_SECURITY_LEVEL}
EOF EOF
fi ;;
esac
# SSL encrypted SMTP configuration. # SSL encrypted SMTP configuration.
if [ "${POSTFIX_SMTPS_ENABLED}" = "yes" ]; then case "${POSTFIX_SMTPS_ENABLED}" in
cat >> /etc/postfix/master.cf <<EOF true|yes|on|1)
cat >> /etc/postfix/master.cf <<EOF
smtps inet n - y - - smtpd smtps inet n - y - - smtpd
-o syslog_name=postfix/smtps -o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=${POSTFIX_SMTPS_TLS_WRAPPERMODE} -o smtpd_tls_wrappermode=${POSTFIX_SMTPS_TLS_WRAPPERMODE}
EOF EOF
fi ;;
esac
# Other internal services. # Other internal services.
cat >> /etc/postfix/master.cf <<EOF cat >> /etc/postfix/master.cf <<EOF