From b8c844dbac44eb1a55240c7fe8ddeae2a621acf9 Mon Sep 17 00:00:00 2001 From: jenkins Date: Sun, 7 Jun 2026 02:26:22 -0300 Subject: [PATCH] mailu: auto-disable postfix postlog on rwx queue --- services/mailu/scripts/vault-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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