From 57e77edcf9a2dc5fa3e82d03dd1d3474f35fb99e Mon Sep 17 00:00:00 2001 From: Sluijsens Date: Sun, 8 Nov 2026 20:11:15 +0100 Subject: [PATCH] identity-email-notifications: SMTP-host per site en open punten voor Operations Co-Authored-By: Claude Sonnet 5.5 --- .../infrastructure-design.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/aidlc-docs/features/identity-email-notifications/construction/mail-foundation/infrastructure-design/infrastructure-design.md b/aidlc-docs/features/identity-email-notifications/construction/mail-foundation/infrastructure-design/infrastructure-design.md index b4a75d7..6afc673 100644 --- a/aidlc-docs/features/identity-email-notifications/construction/mail-foundation/infrastructure-design/infrastructure-design.md +++ b/aidlc-docs/features/identity-email-notifications/construction/mail-foundation/infrastructure-design/infrastructure-design.md @@ -32,3 +32,19 @@ smtp4dev (already installed) on `localhost:25`: `Email__Smtp__Host=localhost`, ` ## No other infrastructure No new service, port, queue or storage. One additive table (`SiteSettings`) in the existing database. + +## Per-host SMTP server (update 2026-11-08, from Bryan via "CMS & API") +The SMTP settings are per host (all in that host's `shared/env`), so each site can use its own mail server: + +| Site | SMTP host | Sender domain | Status | +|---|---|---|---| +| SlpSoftware | `mail.slpsoftware.nl` (the host SimpleDeckApp uses) | `@slpsoftware.nl` | as before | +| ASF (test, later production) | probably `mail.andreaslop.nl` (not `mail.slpsoftware.nl`) | `@andreaslop.nl` | **to be confirmed** | + +Read-only checks done from the developer PC (by "CMS & API"): `mail.andreaslop.nl` and `andreaslop.nl` both resolve to 217.121.250.215; the MX of `andreaslop.nl` is `mail.andreaslop.nl` (preference 10); TCP 587 is reachable. This fits the published SPF (`a mx`): a mail sent by that server for `@andreaslop.nl` is SPF-aligned, which the earlier plan (`mail.slpsoftware.nl` for ASF) would not have been. + +**Open points (Operations plan, no code needed):** +1. Which mailbox/account on `mail.andreaslop.nl` is used, and whether it may send with `no-reply@andreaslop.nl` (or another address) as `From`. Then ASF sets `Email__FromAddress` and `Email__AllowedFromAddresses__n` accordingly (the committed ASF default `no-reply@slpsoftware.nl` is only a placeholder until then). SlpSoftware keeps `mail.slpsoftware.nl`. +2. Port and TLS: not yet confirmed that the server offers STARTTLS on 587 (`Email__Smtp__EnableSsl=true`); if it needs implicit TLS (465) or none, the sender must be adapted (it supports STARTTLS or plain today) and a plain connection would not be acceptable beyond a private network. +3. DKIM: a `dkim._domainkey.andreaslop.nl` record exists; confirm the server signs with that key. DMARC is `p=none` (monitoring only). +4. Credentials for that account go into the ASF test unit's `shared/env` by whoever manages the host (not by this feature's code or by chat).