Return Greylisting mail providers

This function returns Greylisting's list of common mail service providers.

Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  cpgreylist_load_common_mail_providers_config

Response samples

Content type
application/json
{
  • "data": {
    • "autotrust_new_common_mail_providers": 1,
    • "common_mail_providers": {
      • "cpanel": {
        • "autoupdate": 1,
        • "display_name": "cPanel",
        • "is_trusted": 1
        },
      • "sectigo": {
        • "autoupdate": 1,
        • "display_name": "Comodo/Sectigo",
        • "is_trusted": 1
        }
      }
    },
  • "metadata": {
    • "command": "cpgreylist_load_common_mail_providers_config",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}