Hi, when deleting a virtual server in Virtualmin Pro, the dovecot ended up broken, users unable to fetch their mails. Mail client spouting errors about "protocol unsupported" or "connexion reset".
Those messages showed up in logs :dovecot: config: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 348: ssl_cert: Can't open file /home/<xxx>/ssl.cert: No such file or directory dovecot: master: Error: service(config): command startup failed, throttling for 60 secs dovecot: pop3-login: Fatal: Error reading configuration: read(/var/run/dovecot/config) failed: Connection reset by peer
The lines pertaining to the deleted virtual host were still in dovecot config file while all data, including the cert, were of course deleted. So it failed to start and the whole mail service was down. Manually deleting the leftover lines solved the issue and dovecot is humming happily.
Quite critical issue.