Return Greylisting status

This function returns the status of Greylisting.

Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  cpgreylist_status

Response samples

Content type
application/json
{
  • "data": {
    • "is_enabled": 1,
    • "is_exim_enabled": 1,
    • "service": "cPGreyList"
    },
  • "metadata": {
    • "command": "cpgreylist_status",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}