SSL
SNI Email Settings
Start SNI configuration files rebuild
This function rebuilds the SNI configuration files.
Note:
- You must run this function after you change the SNI status through the UAPI's enable_mail_sni or disable_mail_sni functions.
- Mail SNI is always enabled.
- Functions that enable Mail SNI succeed with a warning that Mail SNI is always enabled. Functions that disable Mail SNI fail and make no changes.
- Functions that disable Mail SNI will fail and make no changes.
Important:
When you disable the Calendars and Contacts, Receive Mail, Web Disk, Webmail, and Web Server roles, the system disables this function.
get/SSL/rebuild_mail_sni_config
Query parameters
reload_dovecot0 | 1
Example:1
Whether to reload the Dovecot service after the system rebuilds the configuration files.
- 1 - Reload Dovecot.
- 0 - Do not reload Dovecot.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "rebuild_mail_sni_config",
"module": "SSL",
"result": {
"data": {
"success": 1
},
"status": 1
}
}