This function marks the IP addresses for the specified mail provider as not trusted. Greylisting defers emails from non-trusted IP addresses.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ cpgreylist_untrust_entries_for_common_mail_provider \ provider='1'
{- "data": {
- "providers_failed": {
- "provider_key1": {
- "ips_untrusted": 21
}, - "provider_key2": {
- "ips_untrusted": 21
}
}, - "providers_untrusted": {
- "provider_key1": "Unknown mail provider.",
- "provider_key2": "Unknown mail provider."
}
}, - "metadata": {
- "command": "cpgreylist_untrust_entries_for_common_mail_provider",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}