Description
This function modifies the minimum Apache SpamAssassin™ spam score.
Warning:
- UAPI (recommended) —
Email::change_mx
— This function modifies a Mail Exchanger (MX) record. - cPanel API 2 —
Email::changemx
— This function changes an MX entry's configuration.
Examples
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
required_score |
string |
The new spam score. If you do not specify a value, the function resets the spam score to the default value (5.0). |
A positive integer. Note: The default value, 5.0, is an aggressive spam score. The lower the spam score, the more likely it is that Apache SpamAssassin will label messages as spam. Some systems may wish to use a more lenient spam score (for example, 8.0 or 10.0). |
8.0 |
Returns
This function does not return output.