Mail
Mail Server Settings
Rebuild mail SNI configuration files
This function rebuilds the mail SNI configuration files.
get/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
{
"data": {
"configs_built": [
"/etc/dovecot/sni.conf"
],
"success": 1
},
"metadata": {
"command": "rebuild_mail_sni_config",
"reason": "OK",
"result": 1,
"version": 1
}
}