ScanMyPass
Khat
docs
Home
Sign in
Documentation
Everything needed to verify a domain, send your first message, and keep mail landing afterwards.
Start here
Overview
What Khat is, how the API, worker, queue and MTA fit together, and what is implemented today.
DNS setup
What SPF, DKIM, DMARC and the return path each do, how to publish them, and every common failure with its fix.
Reference
API reference
Every endpoint with cURL, JavaScript, Node, Python and PHP examples — sending, attachments, inbound mail, webhooks and statistics.
Security
Threat model, how secrets and DKIM keys are handled, multi-tenancy isolation and input validation.
Running it
Deployment
Running Khat on your own server: outbound port 25, reverse DNS, TLS, IP warm-up, backups and scaling.
Operations
Health checks, metrics, alerts, logs, abuse response and the incident runbook.
Testing
The unit and integration suites, what each covers and how to run them.