dispatch: seed the routing smoke's mail legs into Stalwart; make wake intake work #35
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
key-store/key.store!35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/routing-smoke-seed-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?
Picks up key-store/dispatch#2 (
ba409a1b) and wires the forge side.Why: the identity-routing smoke's four mail legs (
mail-trusted-billing-cfo,mail-trusted-billing-assistant,mail-trusted-security,mail-review-billing) have never passed since dispatch c4a5029 made/webhook/forwardemailwake the Stalwart mirror + a targetedagent-dispatcher mail --once --message-idintake instead of enqueueing the payload — the synthetic message never existed in Stalwart, so everyredmine-dispatcher-smokerun timed out withstatus=missing. On top of that, Stalwart 0.15 answersSEARCH HEADER Message-IDwith an empty result, so the wake's targeted intake never found real mail either (mail only flowed through the 15-minute unseen sweep); dispatch#2 falls back to a client-side header match.What:
nixos/keystore-forge.nix:redmine-dispatcher-smokegetsKEYSTORE_ROUTING_SMOKE_MAIL_ACCOUNTSderived fromforwardEmailMirrorMailboxes(agent=agent:…,billing=billing:/run/agenix/billingPassword,contact=manager:…,founder=founder:…,privacy=manager:…,security=security-agent:/run/agenix/securityAgentPassword) — the same alias → account mapping thekey-store-forwardemail-wake@unit uses, so the two cannot drift — plusKEYSTORE_ROUTING_SMOKE_IMAP_ADDRfrom the dispatcher'smail.imapAddr.nixos/hosts/keystore-forge/common.nix: pointer comment at the smoke invocation.flake.nix/flake.lock:dispatch_src→ba409a1b.go.modunchanged, vendorHash unchanged.Verified
nix eval .#nixosConfigurations.keystore-forge.config.systemd.services.redmine-dispatcher-smoke.environmentproduces the mapping above; the seeding function was exercised against the forge Stalwart (993 IMAPS and 143 STARTTLS, idempotent re-run, probe message removed afterwards).Deploy the forge, then
systemctl start redmine-dispatcher-smokeshould printokfor all four mail legs.🤖 Generated with Claude Code
8e020f663cdc4c9e4772