Return Greylisting settings

This function returns Greylisting's current settings.

Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  load_cpgreylist_config

Response samples

Content type
application/json
{
  • "data": {
    • "cpgreylist_config": {
      • "child_timeout_secs": 5,
      • "initial_block_time_mins": 10,
      • "is_enabled": 1,
      • "is_exim_enabled": 1,
      • "max_child_procs": 5,
      • "must_try_time_mins": 240,
      • "purge_interval_mins": 60,
      • "record_exp_time_mins": 4320,
      • "spf_bypass": 1
      }
    },
  • "metadata": {
    • "command": "load_cpgreylist_config",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}