cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Mail → Return Greylisting IP addresses of mail providers

AI-generated

Summary

Return the list of greylisting IP addresses used by specified mail provider(s) for mail processing.

Inputs

  • Provider (required) — The mail provider name whose greylisting IP addresses you want to retrieve. To list entries for multiple providers, increment the parameter name like provider-0, provider-1, etc. Use the WHM API function 'cpgreylist_load_common_mail_providers_config' to get available providers.

Output shape

a JSON object containing the greylisting IP addresses entries associated with the specified mail provider(s).

The output directly reflects the WHM API response for greylisting IP addresses. Multiple provider parameters can be supplied incrementally to retrieve IP lists from multiple providers in one call.

Examples

Example 1: Retrieve greylisting IP addresses for a single mail provider

Set the 'Provider' parameter to the desired mail provider name, e.g. 'gmail'. The node will query the WHM API endpoint for greylisting IPs and return the list.

Links

Discussion