Introduction
There may be times when rebuilding your Dovecot SNI configuration is necessary, such as when your email client encounters SSL errors when receiving but not sending emails. This article provides the steps to rebuild the Dovecot SNI configuration.
Procedure
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Backup the SNI configuration file.
-
cp -via /etc/dovecot/sni.conf{,.$(date +%s)}
- Rebuild the SNI configuration file using the
build_mail_sni
script. -
/usr/local/cpanel/scripts/build_mail_sni --rebuild_dovecot_sni_conf
- Restart the mail services.
-
/usr/local/cpanel/scripts/build_mail_sni --restartsrvs