These were verified by hand while chasing the spam-scoring bug. Spot
checks rot, so they are assertions now: 19 checks, up from 13.
- GTUBE must score above 10. rspamd answered every request while scoring
every message -0.1, and nothing looked wrong; this is the assertion
that catches that class of fault.
- EICAR must be rejected in-band, which is the one scanner verdict
Sentio enforces itself.
- The webhook signature is recomputed over the raw delivered bytes. A
re-serialised body would verify even if the scheme were wrong, so the
check captures the request with its own listener.
- STARTTLS then AUTH, including that AUTH is absent before the upgrade -
credentials must never be solicited in cleartext. Skipped, not failed,
when no certificate is mounted; the skip path was tested by removing
the cert.
- The rate limiter and DNSBL cache must be writing to the KV store.
Also adds FRESHCLAM_CHECKS=24 so signatures refresh hourly rather than
daily; the image default of 1 can leave the scanner a day behind.
The harness only sent bodies, so nothing exercised the object store. A
20 kB attachment now goes in over SMTP and comes back out through the
API, compared by SHA-256 - an encoding slip or a truncated upload fails
instead of passing quietly. It also asserts the ClamAV scan_status on
the attachment row and that the raw message was archived.
Verified by hand first: MinIO gained two objects (the attachment and the
base64 raw EML), the bytes matched, and the archived message ends with
CRLF, which is the fix from the previous commit holding on a real MIME
message.
The quickstart told people to run `up -d --build`, which is a release
build of thirteen crates before they can see anything work. That is a
poor first impression for software whose whole pitch is that it is easy
to run. `docker compose up -d` now pulls ghcr.io/truespar/sentio.
Each architecture is built on its own native runner - amd64 on
ubuntu-latest, arm64 on ubuntu-24.04-arm - and the two are merged into
one manifest afterwards. The obvious alternative, one buildx job with
both platforms, cross-builds arm64 under QEMU, and a Rust release build
under emulation runs for well over an hour. arm64 matters here because
most people trying this on a laptop are on Apple silicon.
Tags: latest on main, sha-<short> always, and semver on v* tags so a
deployment can pin. GHCR needs no credentials beyond GITHUB_TOKEN.
docker-compose.build.yml keeps the from-source path for anyone changing
the code, and the image name is unchanged between the two so nothing
else in the stack cares which produced it. CI's docker job now runs on
pull requests only, since main is covered here.
Verified locally through the build overlay: image builds, stack comes
up, e2e passes 9/9.
Sentio SMTP: self-hosted, multi-tenant email infrastructure in Rust.
Gives an AI agent its own real email address. Inbound mail arrives
parsed, authenticated and spam-scored as a webhook; replies go out
DKIM-signed over the same REST API. Full SMTP on both sides, with
DKIM/SPF/DMARC/ARC, MTA-STS, DANE and a three-tier anti-spam pipeline.
Apache-2.0.