Introduction
The content of this article needs to be discussed by a qualified system administrator prior to implementation to prevent services outages caused by misconfiguration.
Customers may wish to make custom changes to their dovecot configurations that are not able to be handled natively by the Mailserver Configuration Menu in WHM. Below are the details where these changes can be made.
Procedure
As per the top of the /etc/dovecot/dovecot.conf file, there is a quick helpful comment about this subject
For more information on the customization process, please refer to the article and comment below.
https://docs.cpanel.net/whm/service-configuration/mailserver-configuration/#add-dovecot-settings
## Dovecot configuration file
# NOTICE FOR CPANEL SYSTEMS
# On cPanel servers this file is generated by combining a
# template at /var/cpanel/templates/dovecot2.3/main.default
# and a datastore at /var/cpanel/conf/dovecot/main
#
# The template may be customized by making a copy of it at
# /var/cpanel/templates/dovecot2.3/main.local
# similar to the way in which httpd.conf can be customized
#
# Direct edits of the rendered dovecot.conf file will not
# be preserved when dovecot is updated. Use the
# "Mailserver Configuration" interface in WebHostManager instead.
# If you're in a hurry, see http://wiki2.dovecot.org/QuickConfiguration