Return Greylisting deferred incoming email triplets

This function lists Greylisting's deferred triplets. Greylisting identifies incoming email by triplets.

A triplet is a collection of three pieces of data:

  • the IP address
  • the sender's address
  • the recipient's address
Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  read_cpgreylist_deferred_entries

Response samples

Content type
application/json
{
  • "data": {
    • "greylist_deferred_entries": [
      • {
        • "accepted_count": 0,
        • "block_exp_time": "2015-03-23T12:09:32.000Z",
        • "create_time": "2015-03-23T11:59:32.000Z",
        • "deferred_count": 1,
        • "from_addr": "fromaddress1.com@example.com",
        • "id": 45,
        • "must_retry_by": "2015-03-23T15:59:32.000Z",
        • "record_exp_time": "2015-03-26T11:59:32.000Z",
        • "sender_ip": "97.215.255.29",
        • "to_addr": "toaddress1.com@example.com"
        }
      ],
    • "limit": 20,
    • "offset": 20,
    • "server_timezone": "CDT",
    • "server_tzoffset": 60,
    • "total_rows": 3
    },
  • "metadata": {
    • "command": "read_cpgreylist_deferred_entries",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}