Symptoms
After Plesk updates, customized Dovecot configuration file /etc/dovecot/dovecot.conf
is reset to default. The previous version of file is saved as dovecot.conf.dpkg-old
.
Cause
Plesk updates may contain new Dovecot packages to deliver security improvements. The default Dovecot configuration file is shipped with the new Dovecot package.
Warning: It is not recommended to customize the main Dovecot configuration file /etc/dovecot/dovecot.conf
.
Resolution
Create a new Dovecot configuration file in the /etc/dovecot/conf.d/
directory and add all required customization in it.
-
Connect to the Plesk server via SSH.
-
Create a new file with
.conf
extension, for example:# touch /etc/dovecot/conf.d/my_custom_file.conf
-
Open the file in a text editor and add your custom configuration in it.
-
Restart Dovecot to apply new changes:
# service dovecot restart