diff --git a/PLAN.md b/PLAN.md index ed2d7ac..97cb1e4 100644 --- a/PLAN.md +++ b/PLAN.md @@ -467,9 +467,16 @@ Steps: in its multi-user edition; `coreapp status` shows a database version only for apps with one; signin runs in the app's folder; deploy's last line no longer says "from the internet" - - [ ] A mailbox for the test account (`coreapp.test`), so mail to - it is delivered and `coreapp mail` could read it; needs the - Core's mailbox conventions (uidNumber, homeDirectory) + - Done 2026-12-03: the test account has a mailbox, and `coreapp + inbox [--clear]` reads it (coreapps test-inbox: the maildir on + the Core, newest 10, text or HTML as text with links). The + Core's mail server delivers to `mailEnabled: TRUE` entries and + its Dovecot needs `homeDirectory`; people have it from + `posixAccount`, which needs a `uidNumber`, so the test account + gets it from `extensibleObject` instead and never takes a + number Superpanel would give a person. Older entries get it on + the next use. Tested with Supermarket's password reset (sent + through its account, read with its link) and an HTML message - Skill shortened 2026-12-03 (577 -> ~450 lines): sign-in details in `references/sign-in.md`, publishing in `references/publishing.md`, read when SKILL.md says. Rehearsed with Miniflux (upstream image, diff --git a/README.md b/README.md index 6952ab5..56a2673 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,7 @@ each new app explains the files and the settings it gets. | `coreapp check` | It answers at `https://.` with a valid certificate | | `coreapp core` | What the Core in the VM offers apps: PostgreSQL (and which extensions an app can enable), MariaDB, Authelia, the mail server and Traefik with their versions, Docker, and the machine | | `coreapp mail` | What the Core's mail server did with the mail the app sent in the last day: accepted from its account, then delivered, deferred or bounced, with the reason (apps with `email`) | +| `coreapp inbox [--clear]` | The mail the Core's test account (`coreapp.test@`) got, the newest 10 with sender, subject and text (HTML as text, links' addresses shown), to check what the app sends; `--clear` empties it | | `coreapp signin [path]` | Sign in to it as a browser would, with the Core's test account (`coreapp.test@`, made on the VM's Core when first needed), starting at `path` (default `/login`), and show each step; `--cookies ` keeps the app's cookies, `--code` gets a code for apps that start sign-in in the browser, `--remove-account` removes the account | | `coreapp status` / `logs [-f]` / `shell [command]` | Its container, its log, a shell in it (or one command, without a terminal) | | `coreapp list` | The apps on the Core installed this way | diff --git a/TEST.md b/TEST.md index 2b7027d..39d1ce3 100644 --- a/TEST.md +++ b/TEST.md @@ -478,10 +478,22 @@ has the `DB_*` variables, `.coreapp` says `needs=postgres`. account and adds the `SMTP_*` settings. 7. `coreapp mail` after the app sent a message (Supermarket: a password reset for `coreapp.test@`): "