Commit Graph
6 Commits
Author SHA1 Message Date
Jens Nylander 7eccbe7ebc drop hosted CI; check.sh is the gate now
Removes .github/workflows/ci.yml. Everything it ran lives in
scripts/check.sh instead: fmt, clippy, tests, release build, cargo-deny,
the third-party notices diff and the OpenAPI spec diff. It reports every
failure in one pass rather than stopping at the first.

publish.yml stays - that builds and publishes releases on a tag, which
is not a check.

Contributing guide and pull request template now say plainly that
nothing runs these for you.
2026-09-21 08:34:42 +02:00
Jens Nylander c9d90af384 ci: one run per change instead of three
CI triggered on both push to any branch and pull_request, so every branch
ran twice and main ran again after merge. Push is limited to main now, and
a concurrency group cancels superseded runs. publish gets a group too, but
never cancels - a half-published release leaves a manifest without its
binaries.

Adds a pre-push hook installer for fmt and clippy.
2026-08-24 21:28:37 +02:00
Jens Nylander 13fba5bef9 e2e: fix two flaky checks in the harness
The webhook test subscribed every run and never cleaned up, so deliveries
from old subscriptions arrived with secrets the listener could not verify.
The inbound test grepped sentio's log for a generic success line, which
both missed its own async dispatch and passed on an earlier run's line.
It now waits for its own message id to reach the sink.
2026-08-24 20:33:19 +02:00
Truespar Team baf658ac01 Fold the scanner, webhook and TLS checks into the e2e harness
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.
2026-08-24 18:18:11 +02:00
Truespar Team 96e28c6cce Cover attachments in the e2e harness
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.
2026-08-24 16:33:10 +02:00
Truespar Team 0727e3319e Initial public release
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.
2026-08-23 23:44:38 +02:00