v0.6.374: mail server and security e-mails (#896) #1050

Merged
Cordy merged 40 commits from ml896 into main 2026-10-29 23:00:33 +00:00
Owner

Connect a mail server (#896): config-only SMTP (STARTTLS mandatory, implicit TLS, plain only to loopback/unix or explicit flag), PLAIN/LOGIN/XOAUTH2 (Microsoft client credentials), in-house MIME with stable Message-ID, persisted outbox (record-level, sender lease, retries up to 24 h, tombstones, rate limit, Retry now), 17 security/admin notice kinds mailed in the recipient's language, addresses from OIDC (email_verified, xms_edov from Entra), LDAP mail attribute and admin-set local addresses (audited, old+new notified, email-changed bell), language saved with the account, #904 e-mail everyone with results, admin Basic settings › Mail server tab (status, check, test, outbox), Overview row, bells, Certificates row, audit verbs mail-sent/mail-failed/mail-test/account-email-set, docs (mail.md, Entra section 8, configuration reference, ARCHITECTURE.md).

Reviewed: W1, W2/W3, two fix rounds, final whole-branch review, final fixes; merged with main (v0.6.372, v0.6.373).

Connect a mail server (#896): config-only SMTP (STARTTLS mandatory, implicit TLS, plain only to loopback/unix or explicit flag), PLAIN/LOGIN/XOAUTH2 (Microsoft client credentials), in-house MIME with stable Message-ID, persisted outbox (record-level, sender lease, retries up to 24 h, tombstones, rate limit, Retry now), 17 security/admin notice kinds mailed in the recipient's language, addresses from OIDC (email_verified, xms_edov from Entra), LDAP mail attribute and admin-set local addresses (audited, old+new notified, email-changed bell), language saved with the account, #904 e-mail everyone with results, admin Basic settings › Mail server tab (status, check, test, outbox), Overview row, bells, Certificates row, audit verbs mail-sent/mail-failed/mail-test/account-email-set, docs (mail.md, Entra section 8, configuration reference, ARCHITECTURE.md). Reviewed: W1, W2/W3, two fix rounds, final whole-branch review, final fixes; merged with main (v0.6.372, v0.6.373).
Also accepts Entra's xms_edov true as verified when the token has no
email_verified (spec 23 U4, approved).
Conflicts resolved keeping both sides:
- CHANGELOG: v0.6.374 above v0.6.373 above v0.6.372; our rollback now
  targets v0.6.373, chart version 0.6.1 unchanged.
- Chart.yaml: appVersion v0.6.374, version 0.6.1 (main's).
- audit/verbs.go: append-only, #1022 and #638 verbs first, then #896.
- notify.Notice: How (#896) plus Sig/Link/Peer/Since/Files (#1022);
  api notifItem passes How, Sig, Link, Peer, Since.
- api notify kinds: #1022 user and admin kinds, then #896's.
- api /me: email/lang/mail (#896) and session (#638).
- config: Scan and Mail blocks.
- statepaths: scan/ and mail-outbox/ stores; test lists both dirs.
- index.html: #896 CSS with #638's tokenised inputs; rail dots fetch
  mail and scan; bell dispatch for mail and scan kinds; the bell action
  line skips both mail-restored (no act) and scan items with noAct.
- Docs: ARCHITECTURE scale-out and record-store lists, admin-policy audit
  groups, configuration-reference scan and mail sections,
  deploy-kubernetes mail secret and clamd sidecar, security-standards
  rows (both shipped) and Do-not-claim, compliance-support rows and gaps.
ci: re-run (the earlier run died when pi6's disk filled)
Some checks failed
ci / test-and-build (pull_request) Failing after 29m1s
8f0a594ba4
ci: re-run (transient DNS failure for get.helm.sh)
All checks were successful
ci / test-and-build (pull_request) Successful in 28m34s
f8a3395053
Cordy merged commit af3da66e8b into main 2026-10-29 23:00:33 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#1050
No description provided.