cPanel WHM icon

cPanel WHM

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

Actions262

Mail → Update Greylisting settings

AI-generated

Summary

Update the Greylisting settings on a cPanel WHM server by configuring parameters related to the cPGreyList daemon's behavior.

Inputs

  • Child Timeout Secs — The maximum number of seconds that Greylisting waits for a child process to timeout. Adjust only if absolutely necessary as it affects the cPGreyList daemon.
  • Initial Block Time Mins — The number of minutes that Greylisting defers email from an unknown triplet, with a maximum of 240 minutes (4 hours).
  • Max Child Procs — The maximum number of child processes used by Greylisting; modify only if necessary as it impacts the daemon's function.
  • Must Try Time Mins — The number of minutes during which Greylisting accepts a re-sent email from an unknown triplet, up to a maximum of 1440 minutes (1 day).
  • Purge Interval Mins — The interval in minutes after which Greylisting deletes records from its database, affecting daemon behavior; change only if needed.
  • Record Exp Time Mins — The time in minutes before Greylisting deletes a triplet record, thereby treating subsequent emails as from a new triplet; maximum is 43200 minutes (30 days).
  • Spf Bypass — Whether emails passing SPF checks bypass Greylisting: 1 (enabled) or 0 (disabled).

Output shape

a single object containing the WHM API response to the update request

The output includes the status and details returned from the WHM server's call to update the Greylisting configuration. Errors encountered during the API call will raise node errors.

Links

Discussion