Domains
Add a domain, check its records, and set its policies.
On this page
mailset domains list [--org <id>]
mailset domains list
mailset domains plan
Show what adding a domain would change.
Flags
The domain’s name, such as
example.com.Sending only: just the records sending needs, with MX and SPF left as they are.
Returns
With --json it prints what the API returns.
mailset domains plan <name> [--sending] [--org <id>]
mailset domains plan example.com
mailset domains add
Add a domain and get its DNS records.
Flags
The domain’s name, such as
example.com.Sending only: its mail keeps arriving where it does today, so it needs only the DKIM, bounce and DMARC records, and a domain key sends as the addresses it names there.
Returns
With --json it prints the Domain object.
mailset domains add <name> [--sending] [--org <id>]
mailset domains add example.com
mailset domains parkPlan
Show what parking a domain would change.
Flags
The domain’s name, such as
example.com.
Returns
With --json it prints what the API returns.
mailset domains parkPlan <name> [--org <id>]
mailset domains parkPlan acme.org
mailset domains park
Park a domain: no mail to or from it, and nobody can spoof it.
Flags
The domain’s name, such as
example.com.
It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.
Returns
With --json it prints the Domain object.
mailset domains park <name> [--org <id>]
mailset domains park acme.org
mailset domains check
Check a domain’s DNS records now.
Flags
The domain’s name, such as
example.com.
Returns
With --json it prints the Domain object.
mailset domains check <name> [--org <id>]
mailset domains check example.com
mailset domains dmarc
Show a domain’s DMARC: what’s wrong with the record, its pass rate and the sources that fail.
Flags
The domain’s name, such as
example.com.The DMARC policy to publish:
none,quarantineorreject. Left out: only show where it stands.One of
nonequarantinerejectRaise it before reports show the mail passing.
It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.
Returns
With --json it prints what the API returns.
mailset domains dmarc <name> [--policy none|quarantine|reject] [--anyway] [--org <id>]
mailset domains dmarc example.com --policy quarantine
mailset domains apply
Write a domain’s records to its DNS host.
Flags
The domain’s name, such as
example.com.Only the DKIM and bounce records: the domain sends, and its mail still arrives where it does today.
Mailset is the only thing that sends as this domain: SPF names only Mailset, and every other DKIM key is deleted. For a domain that left Google or another provider for good.
The old providers whose records go, by id, as
domains planlists them: bounce, DKIM, SPF, verification and, once mail comes here, MX. Never what Mailset wrote. A bare flag is refused with the ids found.With --drop-leftovers: their tracking records too, which old links still use.
With --drop-leftovers: without DMARC reports showing they stopped sending.
It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.
Returns
With --json it prints what the API returns.
mailset domains apply <name> [--sending] [--only-mailset] [--drop-leftovers <drop-leftovers>] [--include-tracking] [--anyway] [--org <id>]
mailset domains apply example.com
mailset domains sts
Set a domain’s MTA-STS mode: testing or enforce.
Flags
The domain’s name.
testing: senders report TLS failures and deliver anyway.enforce: they refuse to deliver without TLS.One of
testingenforce
It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.
Returns
With --json it prints what the API returns.
mailset domains sts <name> --mode testing|enforce [--org <id>]
mailset domains sts example.com --mode enforce
mailset domains remove
Remove a domain.
Flags
The domain’s name, such as
example.com.
It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.
Returns
With --json it prints what the API returns.
mailset domains remove <name> [--org <id>]
mailset domains remove acme.org
mailset domains postmaster
Gmail’s view of a domain, from Google Postmaster Tools.
Flags
The domain’s name, such as
example.com.The TXT value Postmaster Tools shows for the domain. Given, Mailset writes that record and checks it.
It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.
Returns
With --json it prints what the API returns.
mailset domains postmaster <name> [--token <token>] [--org <id>]
mailset domains postmaster example.com
mailset domains logo
A domain’s brand logo (BIMI).
Flags
The domain’s name, such as
example.com.The brand’s name, the logo’s
<title>. The org’s name when left out.The https URL of the logo’s VMC or CMC certificate, or
noneto take it off.Take the logo off the domain.
The SVG, base64.
It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.
Returns
With --json it prints what the API returns.
mailset domains logo <name> [--title <title>] [--certificate <certificate>] [--remove] [--file <path>] [--org <id>]
mailset domains logo example.com --file logo.svg --title Acme
mailset domains verify
Add the TXT record a service asks for to prove a domain (Google, Yahoo, Apple, Microsoft, Facebook).
Flags
The domain’s name, such as
example.com.The TXT value the service asks for, as it shows it.
The name under the domain the record goes on, when the service names one. Left out: the domain itself.
It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.
Returns
With --json it prints what the API returns.
mailset domains verify <name> --txt <txt> [--host <host>] [--org <id>]
mailset domains verify example.com --txt "google-site-verification=k3XwPq7Zr2Lm9Vt4Yb8Nc1Hd6Jf0Sg5Ua3Ee7Ww2Ii4"
mailset domains status
A domain’s setup checklist: where each step stands and the next command for it, steps on other sites included.
Flags
The domain’s name, such as
example.com.
Returns
With --json it prints what the API returns.
mailset domains status <name> [--org <id>]
mailset domains status example.com
mailset domains connect
One-click setup: a link to the DNS host’s own page, where you approve Mailset’s records once, for a host Mailset can’t write that supports Domain Connect.
Flags
The domain’s name, such as
example.com.Only what sending needs: the DKIM and bounce records.
Returns
With --json it prints what the API returns.
mailset domains connect <name> [--sending] [--org <id>]
mailset domains connect example.com