This function disables the Apache SpamAssassin™ auto-delete spam feature.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Email \ disable_spam_autodelete
{- "apiversion": 3,
- "func": "disable_spam_autodelete",
- "module": "Email",
- "result": {
- "data": {
- "spam_auto_delete": 0
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}