mailu: auto-disable postfix postlog on rwx queue

This commit is contained in:
jenkins 2026-06-07 02:26:22 -03:00
parent 0532fe2634
commit b8c844dbac

View File

@ -36,7 +36,7 @@ if [ -d /app/venv/bin ]; then
export PATH export PATH
fi 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 mkdir -p /tmp/mailu-wrapper-bin
cat > /tmp/mailu-wrapper-bin/postfix <<'EOF' cat > /tmp/mailu-wrapper-bin/postfix <<'EOF'
#!/bin/sh #!/bin/sh