This function lists Greylisting's IP addresses for the specified mail provider.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ cpgreylist_list_entries_for_common_mail_provider \ provider='cpanel'
{- "data": {
- "providers": {
- "cpanel": {
- "ips": [
- {
- "create_time": "2015-07-28T08:16:52.000Z",
- "host_ip": "208.115.214.0-208.115.214.255",
- "is_trusted": 1,
- "provider_id": 7
}, - {
- "create_time": "2015-07-28T08:16:52.000Z",
- "host_ip": "74.63.202.0-74.63.202.255",
- "is_trusted": 1,
- "provider_id": 7
}
]
}
}, - "providers_failed": {
- "dpanel": "Unknown mail provider: dpanel"
}
}, - "metadata": {
- "command": "cpgreylist_list_entries_for_common_mail_provider",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}