The image now carries both binaries, so the release job lifts sentio-mcp
out of it the same way and no second set of release builds is needed.
Each gets its own archive: an MCP client host does not want the mail
server, and vice versa.
Notices are generated with --workspace now. Without it cargo-about
crawls only the root package, so rmcp and schemars would ship
unattributed.
Relicensed so a recipient may take whichever terms suit them. That is
strictly more permissive than either alone: MIT for the simplest terms
and GPLv2 compatibility, Apache-2.0 for the explicit patent grant some
adopters require. It also matches the Rust norm - 255 of the 517
dependencies are exactly this pair.
Distributing binaries is what makes attribution an obligation rather
than a courtesy. The repository alone redistributes nothing, since
dependencies are fetched at build time, but the container image and the
release tarballs contain compiled third-party code, and MIT and BSD both
require their notices to travel with it. 76 crates are MIT-only.
THIRD-PARTY-NOTICES.md is generated by cargo-about from the resolved
graph for the two targets actually shipped, and now lands in
/usr/share/doc/sentio in the image and inside each tarball.
deny.toml existed but nothing ran it, and it would have failed
immediately: the allow list omitted licences already present (0BSD,
MIT-0, Unlicense, CDLA-Permissive-2.0, BSD-1-Clause) and it used the
pre-2.0 schema. Rewritten against what the graph actually contains, and
wired into CI alongside a staleness check on the notices.
Running it surfaced six advisories, none of which appear exploitable
here, all recorded with reasons rather than silenced:
- rsa 0.9 carries Marvin (RUSTSEC-2023-0071), a timing sidechannel in
private-key operations. The crate is used in one place, generating a
DKIM keypair. No decryption, no oracle. There is no fixed release.
- h2 0.3 and rustls-webpki 0.101 come through aws-smithy-http-client's
legacy hyper 0.14 stack, so they sit on the path to the object
store. Sentio's own listeners and delivery client are on rustls
0.23. Getting the AWS SDK off its legacy client is follow-up work.
- rustls-pemfile is unmaintained, not vulnerable.
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.