Deploy Stalwart into the mail namespace #539
Reference in New Issue
Block a user
Delete Branch "benvin/mail-stalwart"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stalwart is the mailbox server for the mail migration and runs multi-node from the start, so it needs a coordinator and a shared in-memory store.
mail-valkeyValkeyCluster as in-memory store and coordinatorspam-to-junkSieve script filing rspamd-tagged mail into Junk and stoppingsmarthost.mail.svc:25, but no such Service/workload exists inapps/base/mail(or anywhere in the repo) → all non-local outbound mail will fail to deliver; land the smarthost first or point at an existing relay.apply, yet the Job comment says listener and store changes only bind on restart. On first sync the lmtp:24, submission:587, metrics:9090 listeners and the S3 BlobStore are not live until someone bounces the pod (LMTP refused, VMPodScrape down, blobs in default store) → add an automated post-apply rollout (e.g. restart step with RBAC from this PR) and addconfigmap.reloader.stakater.com/reload: stalwart-configto stalwart-deployment.yaml:10 so config.json edits also roll the pod.matchOn: ["certificate"], a polymorphic object, not a scalar; stalwart-cli matchOn keys are scalar properties, so this either errors or fails to match and creates a duplicate Certificate on every sync (and#certin SystemSettings then points at an unstable id) → give the Certificate a scalar label to match on, or verify against a live apply twice that it stays idempotent.activeDeadlineSeconds; if Stalwart is not answering on :8080 the apply init container can hang and wedge the PostSync hook (and the Argo sync) indefinitely → setactiveDeadlineSeconds(e.g. 300).allowInvalidCerts: true; the CNPG CA is available → trust it via the combined CA bundle and drop the flag.resourceUrlpullswebui.zipfromreleases/latestat runtime, unpinned and tied to GitHub egress → pin the release matching v0.16.25.No findings.
unkin-agent referenced this pull request2026-10-12 22:17:14 +11:00