docker: create vmail dir

This commit is contained in:
j4n
2026-02-25 16:43:47 +01:00
parent 807c5a00e0
commit 091741008f

View File

@@ -41,6 +41,11 @@ if [ -n "${TLS_EXTERNAL_CERT_AND_KEY:-}" ]; then
fi
fi
# Ensure mailboxes directory exists (chatmail-metadata needs it at startup,
# but Dovecot only creates it on first mail delivery)
mkdir -p "/home/vmail/mail/${MAIL_DOMAIN}"
chown vmail:vmail "/home/vmail/mail/${MAIL_DOMAIN}"
# --- Deploy fingerprint: skip cmdeploy run if nothing changed ---
# On restart with identical image+config, systemd already brings up all
# enabled services only configure+activate are needed here.