diff --git a/CHANGELOG.md b/CHANGELOG.md index 6896670..ec499c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); version ## [Unreleased] +## [2.5.2] - 2026-10-15 + +Stage 2c of the 2026-10-12 audit: every place SelfPost relied on what Postfix, +OpenDKIM, Cyrus SASL, supervisord, logrotate, rspamd, SQLite or a browser does +was read in that program's source and is cited in the code; what the sources +contradicted is fixed below. The sender check reads `From:` with OpenDKIM's own +parser. No migration. + ### Security - **A sender on a private address could have his own spam verdict signed.** diff --git a/README.md b/README.md index e2e0d8b..92fdfb1 100644 --- a/README.md +++ b/README.md @@ -112,8 +112,8 @@ outbound mail will not reach the real internet without DNS, PTR, and port 25. > local image and pulls nothing: > > ```sh -> docker build -f build/Dockerfile --build-arg VERSION=2.5.1 \ -> -t ghcr.io/mixeme/selfpost:2.5.1 . +> docker build -f build/Dockerfile --build-arg VERSION=2.5.2 \ +> -t ghcr.io/mixeme/selfpost:2.5.2 . > ``` ```sh @@ -122,7 +122,7 @@ docker run --rm -d --name selfpost-try \ -e SELFPOST_HOSTNAME=mail.local.test \ -e PANEL_COOKIE_SECURE=false \ -v selfpost-try-data:/data \ - ghcr.io/mixeme/selfpost:2.5.1 + ghcr.io/mixeme/selfpost:2.5.2 ``` **Get the setup URL** (pick one): diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index 9b2ea05..e381896 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -23,7 +23,7 @@ services: selfpost: - image: ghcr.io/mixeme/selfpost:2.5.1 + image: ghcr.io/mixeme/selfpost:2.5.2 restart: unless-stopped environment: SELFPOST_HOSTNAME: "${SELFPOST_HOSTNAME:?set the mail/panel hostname, e.g. mail.example.com}" diff --git a/docs/audit-2026-10-12.md b/docs/audit-2026-10-12.md index 4bf6661..c7427b0 100644 --- a/docs/audit-2026-10-12.md +++ b/docs/audit-2026-10-12.md @@ -840,7 +840,7 @@ order - each stands on the one before. refusal's line and a recovered row), guide § Outbound log and § Health, schema-migrations.md for the mark on `sender_check_days`. — **Sonnet** -### Stage 2c — the sender check reads From: as OpenDKIM does → `2.5.2` +### Stage 2c — the sender check reads From: as OpenDKIM does → `2.5.2` (shipped 2026-10-15) Decided by the owner on 2026-10-14, after reading OpenDKIM's source together (libopendkim `dkim_mail_parse`, called in `mlfi_eoh` on the first `From:` diff --git a/docs/development.md b/docs/development.md index 17ec136..cbe3748 100644 --- a/docs/development.md +++ b/docs/development.md @@ -107,7 +107,7 @@ than the default «meaningful step» rule in [§ Commits and release build](#com 2. Git tag `vX.Y.Z` and publish the GitHub Release only on explicit request (see [§ Release image](#release-image)). -**Planned version cuts** (from pin `2.5.1`; adjust if semver changes mid-track): +**Planned version cuts** (from pin `2.5.2`; adjust if semver changes mid-track): | Stage | ID | Cut | |---|---|---| diff --git a/docs/guide.md b/docs/guide.md index 5466380..224afae 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -190,14 +190,14 @@ cat ./data/setup-token #### Fixed image tag `deploy/docker-compose.yml` pins an explicit version (`ghcr.io/mixeme/selfpost:X.Y.Z`), -deliberately never `:latest`. The current pin is `2.5.1`. **No 2.x image is +deliberately never `:latest`. The current pin is `2.5.2`. **No 2.x image is published on ghcr.io yet** (the newest there is `1.3.0`); until one is, build it from the checkout under the pinned name, and Compose uses the local image instead of pulling: ```sh -docker build -f build/Dockerfile --build-arg VERSION=2.5.1 \ - -t ghcr.io/mixeme/selfpost:2.5.1 . +docker build -f build/Dockerfile --build-arg VERSION=2.5.2 \ + -t ghcr.io/mixeme/selfpost:2.5.2 . ``` `VERSION` must equal the tag: it is the version the backup check compares @@ -849,7 +849,7 @@ A version mismatch at step 5 refuses to start and leaves `/data` untouched — the panel exits with a message naming the tag to use, e.g.: ``` -backup: this backup was created by SelfPost 2.5.0 but this image is 2.5.1 — restore into the matching image (selfpost:2.5.0) +backup: this backup was created by SelfPost 2.5.1 but this image is 2.5.2 — restore into the matching image (selfpost:2.5.1) ``` Fix the tag in `docker-compose.yml` (build that tag as under [Fixed image diff --git a/docs/roadmap.md b/docs/roadmap.md index c59ffeb..23be959 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -42,7 +42,7 @@ in `git log` and [CHANGELOG.md](../CHANGELOG.md). | from-header-binding | Hold a message's `From:` header against the application that sends it | shipped `2.4.0` | 9/9 | [plans/from-header-binding.md](plans/from-header-binding.md) | | panel-redesign | Panel redesign (accepted mockups, design contract) | shipped `2.0.0` | 27/27 | [plans/panel-redesign.md](plans/panel-redesign.md) | | schema-squash | Squash SQLite migrations into a 2.x baseline | built in panel-redesign (stage 1) | — | [plans/panel-redesign.md](plans/panel-redesign.md) | -| audit-2026-10-12 | Follow-ups of the 2026-10-12 full-tree code audit, seven stages | in progress (stage 0 shipped `2.4.2`, stages 1+2 `2.5.0`, 2b `2.5.1`; next stage 2c → `2.5.2`) | 49/81 | [audit-2026-10-12.md](audit-2026-10-12.md) | +| audit-2026-10-12 | Follow-ups of the 2026-10-12 full-tree code audit, seven stages | in progress (stage 0 shipped `2.4.2`, stages 1+2 `2.5.0`, 2b `2.5.1`, 2c `2.5.2`; next stage 3 → `2.5.3`) | 49/81 | [audit-2026-10-12.md](audit-2026-10-12.md) | **Recommended order** (not binding; owner, 2026-10-09: feature order follows development convenience): **panel-redesign** shipped as `2.0.0` (2026-10-11) and @@ -51,7 +51,8 @@ kit — styling its two screens once instead of twice. **delivery-log-storage** shipped as `2.2.0` the same day, **panel-notifications** as `2.3.0` and **from-header-binding** as `2.4.0`. Stage 0 of [audit-2026-10-12](audit-2026-10-12.md) shipped as `2.4.2` (2026-10-14), its -stages 1 and 2 as `2.5.0` the same day, and stage 2b as `2.5.1`. +stages 1 and 2 as `2.5.0` the same day, stage 2b as `2.5.1`, and stage 2c as +`2.5.2` (2026-10-15). Nothing is agreed after it: every remaining item is a candidate. panel-docs shipped in [CHANGELOG.md](../CHANGELOG.md) `[1.8.0]`; dmarc-reports in `[1.7.0]`