Inbound
Set up and run the Reloop inbound MX receiver locally in Docker.
Complete Base Setup First
Ensure you've finished the Setup and have Docker Desktop running.
Service Overview
Inbound KumoMTA MX receiver — accepts external mail, scans with RSpamD, forwards to inbox via NATS.
| Property | Value |
|---|---|
| Directory | apps/backend/inbound |
| Docker service | inbound (container reloop-inbound) |
| SMTP port | 25 |
| HTTP port | 8030 (health check) |
| Stack | KumoMTA Lua RSpamD |
Quick Start
Starts with the full Docker stack:
bun docker:up
Or start only inbound from local/:
cd local && docker compose up -d inbound
Configuration
Key variables in local/docker-compose.yml:
| Variable | Default |
|---|---|
INBOUND_HOSTNAME | inbound.reloop.sh |
NATS_URL | reloop-nats:4222 |
KUMOMTA_RSPAMD_URL | http://reloop-rspamd:11333/checkv2 |
KUMOMTA_CHECK_RECIPIENT_URL | http://host.docker.internal:8011/api/domain |
Container Commands
| Command | Description |
|---|---|
docker compose up -d inbound | Start inbound container |
docker logs -f reloop-inbound | Stream logs |
curl http://localhost:8030/health | Health check |
Architecture
External Sender → Port 25 → Recipient Check → RSpamD → NATS → Inbox
Was this page helpful?