Greylisting
Spam Protection (Greylisting)
Update Greylisting new mail provider handling
This function sets whether Greylisting trusts new entries to cPanel's common mail providers list.
get/cpgreylist_save_common_mail_providers_config
Query parameters
autotrust_new_common_mail_providers0 | 1
Example:1
Whether Greylisting automatically trusts new mail providers that cPanel adds to the common mail providers list.
- 1 — Automatically trust new mail providers cPanel adds to the common mail providers list.
- 0 — Do not automatically trust new mail providers cPanel adds to the common mail providers list.
PROVIDERKEY0 | 1
Whether Greylisting automatically trusts new IP addresses that cPanel adds to this mail provider.
- 1 — Automatically trust new IP addresses cPanel adds to this mail provider.
- 0 — Do not automatically trust new IP addresses cPanel adds to this mail provider.
If you do not specify this parameter, the system will not change Greylisting settings for any existing provider.
Note:
The parameter's name is the provider's key name. Example key and value:
- google=0
Response
HTTP Request was successful.
Example response
{
"data": {
"autotrust_new_common_mail_providers": 1,
"common_mail_providers": {
"cpanel": {
"autoupdate": 1,
"display_name": "cPanel",
"is_trusted": 1
},
"sectigo": {
"autoupdate": 1,
"display_name": "Comodo/Sectigo",
"is_trusted": 1
}
}
},
"metadata": {
"command": "cpgreylist_load_common_mail_providers_config",
"reason": "OK",
"result": 1,
"version": 1
}
}