ScanMyPassKhat docs
HomeSign in

Start here

  • Overview
  • DNS setup

Reference

  • API reference
  • Security

Running it

  • Deployment
  • Operations
  • Testing

Machine readable

  • llms.txt
  • Raw markdown

Documentation

Everything needed to verify a domain, send your first message, and keep mail landing afterwards.

Start here

  • OverviewWhat Khat is, how the API, worker, queue and MTA fit together, and what is implemented today.
  • DNS setupWhat SPF, DKIM, DMARC and the return path each do, how to publish them, and every common failure with its fix.

Reference

  • API referenceEvery endpoint with cURL, JavaScript, Node, Python and PHP examples — sending, attachments, inbound mail, webhooks and statistics.
  • SecurityThreat model, how secrets and DKIM keys are handled, multi-tenancy isolation and input validation.

Running it

  • DeploymentRunning Khat on your own server: outbound port 25, reverse DNS, TLS, IP warm-up, backups and scaling.
  • OperationsHealth checks, metrics, alerts, logs, abuse response and the incident runbook.
  • TestingThe unit and integration suites, what each covers and how to run them.