Where do I set dovecot protocols

Solution 1:

In the middle of the /etc/dovecot/dovcot.conf there should be a section as follows:

# Enable installed protocols
!include_try /usr/share/dovecot/protocols.d/*.protocol

This builds up the protocols list object by having each file append the required protocol to the end of the list e.g. /usr/share/dovecot/protocols.d/imapd.protocol contains the following:

protocols = $protocols imap