mailu: auto-disable postfix postlog on rwx queue
This commit is contained in:
parent
0532fe2634
commit
b8c844dbac
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user