Question
How do you restore the default Dovecot configuration?
Answer
- Access the server's command line as the 'root' user via SSH or the Terminal application in WHM.
-
Create a directory in which the current Dovecot configuration will be stored:
# mkdir -v /root/backupconfig/
-
Move the configuration file to the storage location with the following command:
# mv -v /var/cpanel/templates/dovecot/main.local /root/backupconfig/
-
Rebuild the Dovecot configuration using the following command:
# /scripts/builddovecotconf
-
Restart the Dovecot service using the following command:
# /scripts/restartsrv_dovecot
Comments
0 comments
Article is closed for comments.