diff --git a/services/mailu/scripts/vault-entrypoint.sh b/services/mailu/scripts/vault-entrypoint.sh index 924f05aa..3d400680 100644 --- a/services/mailu/scripts/vault-entrypoint.sh +++ b/services/mailu/scripts/vault-entrypoint.sh @@ -36,7 +36,7 @@ if [ -d /app/venv/bin ]; then export PATH fi -if [ "${MAILU_POSTFIX_DISABLE_POSTLOG_UNIX_DGRAM:-}" = "true" ]; then +if [ "${MAILU_POSTFIX_DISABLE_POSTLOG_UNIX_DGRAM:-}" = "true" ] || { [ -x /usr/sbin/postfix ] && [ -x /usr/sbin/postconf ]; }; then mkdir -p /tmp/mailu-wrapper-bin cat > /tmp/mailu-wrapper-bin/postfix <<'EOF' #!/bin/sh