Check SPF, DKIM and DMARC
check_email_deliverabilityChecks, in public DNS, the three records that decide whether mail sent from a domain of the hosting lands in the inbox or in spam: SPF (which servers may send), DKIM (the signature of the hosting server, selector "default") and DMARC (what receivers do with mail that fails both). status is ok, warning or problem; each of spf / dkim / dmarc has its own status and the records found. spf: valid, missing, mismatch (a record exists but does not authorise the hosting server), multiple (several SPF records: receivers reject them all, keep ONE), error. dkim: valid, missing, mismatch (another key is published), malformed, multiple, no_key (the hosting has no key for this domain: open a ticket), error. dmarc: valid (policy says what it asks: none = report only, quarantine, reject), missing, multiple, invalid. unknown = the hosting server or DNS could not be asked, not a fault. cPanel's own Email Deliverability page reports a broken SPF or DKIM as a DMARC error: dmarc.note says so when that is the case. reverse_dns is the sending server's own name check; if it is not valid, that is for Hodi to fix (open a ticket). fixes lists the TXT records to publish and how_to_fix says how: with fix_email_deliverability when this connection has it, else by the user in cPanel (this connection is read only), or at the domain's DNS provider when its name servers are not Hodi's (get_nameservers). An SPF fix keeps what the current record already authorises and adds the hosting; never publish a second SPF record. Tighten DMARC beyond p=none only once SPF and DKIM are valid for every service that sends for the domain. When mx_warning is present the domain's mailboxes are at another provider: that provider's own SPF and DKIM matter for them, and the hosting's only for mail the website sends (forms, order confirmations). Use it for "my emails go to spam" or after a DNS change; list_sent_emails then shows what receivers answered.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_email_deliverability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | A domain of the hosting account. Default: its main domain. | |
| service_id | No | Id of a paas or email_hosting service from list_services (unique across all the accounts this connection reaches). Optional when there is a single such service. |