New-app rehearsal: mail refusals, Junk in inbox, Reply-To
coreapp mail lists mail the Core's mail server refused for sending too fast (2 messages a minute per app; the refusal has no queue id, so it was missing). coreapp inbox reads the test account's Junk folder too, marked as such, and shows Reply-To. New apps ignore __pycache__. Skill: the mail limit (queue, send again on a 4xx), Date and Message-ID, a regular member role where taking part is the point, testing what takes two people, the only readable mailbox, what coreapp new makes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -101,6 +101,14 @@ What we learned provisioning (2026-12-02/03):
|
||||
- `/federated/bin/upgrade` has an API token in it, readable by anyone
|
||||
with the image; `lib/functions.sh` has the monitoring registrar's
|
||||
bearer token, and `uninstallapp`'s `set -x` prints it
|
||||
- The mail server takes 2 messages a minute from each client
|
||||
(`smtpd_client_message_rate_limit = 2`, `anvil_rate_time_unit =
|
||||
60s`) and refuses the rest with 450; every app container is its
|
||||
own client. Enough for password resets, but a newsletter (listmonk)
|
||||
or a burst of notifications goes out at 120 an hour. If apps should
|
||||
send more, a higher limit for the `core` network
|
||||
(`smtpd_client_event_limit_exceptions`) or for the submission
|
||||
service would do it
|
||||
- `bin/start` doesn't know apps outside its fixed lists, so a new
|
||||
app in the generic format isn't started by `installapp`
|
||||
|
||||
@@ -579,6 +587,26 @@ Steps:
|
||||
- [ ] David: sign in to listmonk-app as admin@dev.fedcom.net
|
||||
(Super Admin, Settings), and send a campaign from
|
||||
`listmonk-app@dev.fedcom.net`; remove it when done
|
||||
- Rehearsed 2026-12-04 with a new app from scratch, Lending Shelf
|
||||
(`coreapp new --postgres --sso --email`; Python, postgres, sso,
|
||||
email): deployed at `https://lending-shelf.dev.fedcom.net/`, Core
|
||||
SSO sign-in (a new account's first), the lending flow end to end
|
||||
with a second person and the admin made as sessions inside the
|
||||
container, all four kinds of notification read with `coreapp
|
||||
inbox`, data kept by `--recreate`. Found: the Core's mail server
|
||||
takes 2 messages a minute from an app (see "Tell Federated").
|
||||
Fixed from it: `coreapp mail` shows mail refused for that (the
|
||||
refusal has no queue id, so it was missing), `coreapp inbox`
|
||||
shows `Reply-To` and reads the Junk folder too (a message
|
||||
without `Date` and `Message-ID` was filed there as spam), and new
|
||||
apps ignore `__pycache__`. Skill: the mail limit (queue mail,
|
||||
send again on a 4xx), `Date`/`Message-ID`, a regular member role
|
||||
for apps where taking part is the point, testing what takes two
|
||||
people, the test account's is the only readable mailbox, what
|
||||
`coreapp new` makes (the publish workflow, the README to rewrite;
|
||||
`--email`/`--mysql` add only the need)
|
||||
- [ ] David: sign in to lending-shelf as admin@dev.fedcom.net in
|
||||
a browser ("(admin)", remove a listing); remove it when done
|
||||
- Rehearsed 2026-12-04 with Open WebUI (upstream Python image, the
|
||||
slim variant; postgres with `vector`, sso): deployed at
|
||||
`https://open-webui.dev.fedcom.net/`, its data and vector store
|
||||
|
||||
Reference in New Issue
Block a user