Authorization notice. Sentio is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Remote script. The README asks you to copy and run install commands with sudo, so review each command before running it on a production host.
Who it is forA systems engineer who wants agents to receive mail on a domain they control and needs direct MX delivery.
The problemRelying on a hosted email API adds a dependency and limits control over the mail path.
The outcomeSentio runs as a systemd service accepting SMTP on ports 25, 465 and 587 and the REST API on port 8080.
What you need first
- Docker Engine 24+ with the Compose plugin, about 4 GB RAM and 8 GB disk, or a Linux host with PostgreSQL 18+, Redis or Valkey, NATS with JetStream, and S3-compatible storage
- A terminal and curl
- Rotation of the bootstrap admin API key before the host is reachable by anyone else
Steps
- Install build dependencies, then run
cargo build --releasein the cloned repo. - Create the database with
sudo -u postgres createdb --owner=sentio sentio. - Run
./target/release/sentio-smtp --config config/default.toml migrate. - Copy the config with
sudo cp config/default.toml /etc/sentio/sentio.tomland set server.hostname, database.url and storage. - Install the unit with
sudo systemctl enable --now sentio-smtpand check logs withjournalctl -u sentio-smtp -f.
Prompt for your agent
In the truespar/sentio repo, build with cargo build --release, run the migrate command against config/default.toml, and enable the sentio-smtp systemd service. Report the output of curl localhost:8080/health/ready. Verify that port 25 accepts a connection from an external test host for <your-domain>.
Caveat. Receiving mail on port 25 also needs DNS, PTR and MX records that the README covers only under 'Running a real mail server'.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for truespar/sentio and "Run a real mail server that receives mail for your domain"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer