Federated install: SMTP relay for the notification email channel on core
release gate / check (push) Failing after 6m54s
release gate / check (push) Failing after 6m54s
The tier switch removed core's SMTP config when password reset became dead in oidc mode, but the notification engine's email channel needs the same relay. Reinstate the house pattern in config_superbrain (fcore submission on mail.$DOMAIN:587, credential read from authelia's secret or superpanel's .env, NETGUARD_TRUSTED_HOSTS pin for split-horizon DNS) and correct STRATEGY.md, including the stale 'app sends no outbound mail' claim in the suite-service notes. Deployed to core: migration 013 applied, SMTP+pin env verified in the app container, /api/notifications/* routes live behind auth (401 anonymous), clean app/web logs. The live /federated/lib/superbrain.sh was synced from this repo copy (backup kept as superbrain.sh.bak-20261026).
This commit is contained in:
@@ -144,8 +144,11 @@ Written by `config_superbrain` into `/federated/apps/superbrain/.env`
|
||||
→ Authelia and materializes locally on first SSO login. The hosted
|
||||
product is `TIER=multi`: `AUTH_MODE=password` derived (signup/login/
|
||||
self-reset; OIDC bridge refused even with variables set) — SMTP-backed
|
||||
password reset belongs to that tier (see RUNNING.md); core needs no SMTP
|
||||
config. Longer term the multi tier is meant to grow ORGANIZATION-level
|
||||
password reset belongs to that tier (see RUNNING.md). Core DOES carry
|
||||
SMTP config (`mail.$DOMAIN:587` as shared sender `fcore`, plus a
|
||||
`NETGUARD_TRUSTED_HOSTS` pin for split-horizon DNS): password reset is
|
||||
refused in oidc mode, but the notification engine's email channel needs
|
||||
the relay. Longer term the multi tier is meant to grow ORGANIZATION-level
|
||||
tenancy (tenant_id, memberships, per-tenant admin/billing) — decided
|
||||
2026-10-26, not built yet; today it is multi-user.
|
||||
- Admin bootstrap on the core tier: an `ADMIN_EMAILS` address becomes ADMIN
|
||||
@@ -226,9 +229,11 @@ grows a real API-key mechanism; revisit then.
|
||||
|
||||
### Not applicable
|
||||
|
||||
- `email_superbrain`: the app sends no outbound mail (no SMTP config exists;
|
||||
only IMAP/CardDAV ingest). Skip, or send the standard welcome mail with the
|
||||
admin credentials using the suite's mail helpers.
|
||||
- `email_superbrain`: since the notification engine (2026-10-26) the app
|
||||
DOES send outbound mail through the house relay (`SMTP_*` = fcore
|
||||
submission on mail.$DOMAIN:587). The suite's standard welcome mail is
|
||||
still optional; superbrain's own mail is transactional only
|
||||
(notifications; password reset is refused in the oidc tier).
|
||||
- `data/` volume: the app is stateless apart from postgres. No
|
||||
`/home/node/.superbrain` volume (that was n8n's). Nothing to `chown`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user