stalwart: Add x-forwarded configmap

This commit is contained in:
Ruben Hensen
2026-01-25 22:54:09 +01:00
parent 8cba45ecb1
commit 914f1ae0e4
3 changed files with 115 additions and 1 deletions
+12
View File
@@ -23,3 +23,15 @@ persistence:
mountPath: /opt/stalwart
replicaCount: 1
config:
hostname: "mail.hensen.io"
# Whitelist cluster IPs to prevent ingress from being banned
allowedIPs:
- "127.0.0.1"
- "::1"
- "10.0.0.0/8"
# Trust X-Forwarded-For header from reverse proxy for real client IP
useXForwarded: true
# Admin password hash (generate with: echo -n 'password' | openssl passwd -6 -stdin)
adminPasswordHash: "$6$nUKyIdu3tyREoEza$lfXMSXAmDzokPlsXasZw6gvSKkLE/2xxC4Jp5Wq2cFA0wi1udS.lt5Kvp2EuUA7ZWNbkP7foG4BseXkIR24e40"