This function marks email message senders for Exim to ignore.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ BoxTrapper \ ignore_messages \ email='user@example.com' \ queuefile='example.msg'
{- "apiversion": 3,
- "func": "ignore_messages",
- "module": "BoxTrapper",
- "result": {
- "data": [
- {
- "email": "user@example.com",
- "matches": [
- "example.msg"
], - "operator": "ignore"
}
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}