This function disables Apache SpamAssassin™ for a cPanel account.
Important:
When you disable the Spam Filter role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Email \ disable_spam_assassin
{- "apiversion": 3,
- "func": "disable_spam_assassin",
- "module": "Email",
- "result": {
- "data": null,
- "errors": null,
- "messages": [
- "Apache SpamAssassin™ has been disabled."
], - "metadata": { },
- "status": 1,
- "warnings": null
}
}