This function retrieves a list of BoxTrapper blocklist configuration rules. BoxTrapper will delete messages that match these rules and send a notification to the sender.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ BoxTrapper \ get_blocklist \ email='user@example.com'
{- "apiversion": 3,
- "func": "get_blocklist",
- "module": "BoxTrapper",
- "result": {
- "data": [
- "from blocklisted-email\\@domain\\.com"
], - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}