cPanel WHM icon

cPanel WHM

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

Actions262

Mail → Add IP address to Greylisting trusted hosts

AI-generated

Summary

Add an IP address or a range of IP addresses to the Greylisting trusted hosts list in cPanel WHM's mail system to bypass greylisting for those IPs.

Inputs

  • Ip (required) — The IP address or range of IP addresses to add to the Greylisting trusted hosts list. To add multiple IPs, increment the parameter name (e.g., ip-1, ip-2).
  • Additional Fields — Optional fields including a comment to associate with the IP address entry.

Output shape

a JSON object reflecting the WHM API response confirming the addition of the IP trusted host entry

The output contains the API response data. Errors from the WHM API are surfaced as node errors. No pagination or multiple-item outputs are involved.

Links

Discussion