Fix issues 7

This commit is contained in:
2026-01-23 21:42:31 +01:00
parent e26481e5e8
commit c3defa3a10
7 changed files with 100 additions and 114 deletions

View File

@@ -44,9 +44,18 @@ initialAccount:
externalRelay:
host: "[smtp.mailgun.org]:587"
# Credentials loaded from Kubernetes secret
secretName: "mailu-mailgun-credentials"
usernameKey: "RELAY_USERNAME"
passwordKey: "RELAY_PASSWORD"
# Key names use Helm chart defaults: relay-username, relay-password
existingSecret: "mailu-mailgun-credentials"
# Postfix configuration
# CRITICAL: podAnnotations ensures Postfix restarts when credentials change
# Without this, Mailu reads SASL credentials only at pod startup and won't pick up secret updates
postfix:
podAnnotations:
# UPDATE THIS VALUE when changing mailu-mailgun-credentials secret
# This triggers a rolling restart of Postfix to reload SASL credentials
# Generate new value: date +%s or use the secret's resourceVersion
credentials-version: "1706054400"
# Environment-specific configurations
persistence: