This function enables DomainKeys Identified Mail (DKIM) records on the DNS server for one or more domains.
Note:
If a DKIM record does not exist on the server, this function will install a new DKIM record.
uapi --output=jsonpretty \ --user=username \ EmailAuth \ enable_dkim \ domain='example.com'
{- "apiversion": 3,
- "func": "enable_dkim",
- "module": "EmailAuth",
- "result": {
- "data": [
- {
- "domain": "example.com",
- "msg": "[no changes needed]",
- "status": 1
}
], - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}