Description
This function retrieves the Apache SpamAssassin™ settings for the account.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Return |
Type |
Description |
Possible values |
Example |
spam_enabled |
Boolean |
Whether spam filtering is enabled. |
|
1 |
rewrites_subjects |
Boolean |
Whether Apache SpamAssassin rewrites the subject lines of spam messages. |
|
1 |
spam_status_changeable |
Boolean |
Whether the server's global settings allow cPanel users to configure Apache SpamAssassin settings. |
|
1 |
spam_as_acl |
Boolean |
Whether the server uses Apache SpamAssassin as an ACL. |
|
1 |
spam_auto_delete |
Boolean |
Whether the autodelete function is enabled. |
|
0 |
spam_box_enabled |
Boolean |
Whether the spam box is enabled. |
|
0 |