@Mail Domain Check

Developer tool

Mail Domain Check CLI

Run public MX, SPF, DKIM, DMARC, PTR, MTA-STS, TLS-RPT, and CAA diagnostics from a terminal. One readable source file, no account, and no package dependencies.

Download v0.1.0
Version-pinned public release GitHub publishes SHA-256 digests for both downloadable assets. Release notes and package archive

Run it

Use Node.js 20 or newer. The downloaded file is directly inspectable and runs without an install step.

curl -fsSLO https://mailcheck.agentcartai.com/cli/mail-domain-check.mjs
node mail-domain-check.mjs example.com

Add real sending details

A DKIM result is meaningful only when the selector is known. Supplying the actual outbound IP also enables PTR and forward-confirmed reverse-DNS checks.

node mail-domain-check.mjs example.com \
  --selector google \
  --sending-ip 8.8.8.8
--selector
Checks one explicit DKIM selector instead of guessing provider-specific names.
--sending-ip
Accepts an IPv4 or IPv6 outbound address for PTR and A/AAAA forward confirmation.
--json
Prints the public scan response as machine-readable JSON.
--lang zh
Prints human-readable titles, summaries, and labels in Chinese.

Readable output

Mail Domain Check
example.com  score 82/100  grade B
PASS 4 | WARN 1 | FAIL 1 | INFO 1

[PASS] MX records
  Mail exchangers were found.
[WARN] DMARC policy
  Monitoring policy does not request enforcement.

The command ends with a prefilled browser-scanner link so the same public check can be rerun interactively.

Open the browser scanner

Privacy and operating limits

The command sends the supplied domain, selector, and optional sending IP over HTTPS to the public scan API. Free analytics retain irreversible hashes and aggregate metrics, not raw domains or sending IPs. The endpoint is rate-limited and intended for interactive diagnostics, not bulk enumeration.

Results describe public configuration at scan time. They do not guarantee inbox placement and do not replace a complete security or compliance audit.

Inspect the source

The exact file served above is built from the MIT-licensed source package and uses only Node.js built-ins. It contains no wallet key, analytics credential, or private service token.

node mail-domain-check.mjs --help
node mail-domain-check.mjs --version

Review, clone, or fork the public GitHub repository, or inspect the v0.1.0 release and SHA-256 digests. You can also read the Markdown reference or inspect the OpenAPI contract used by the client.