How to tweak imap_client_workarounds in dovecot?
I am looking to tweak imap_client_workarounds in the dovecot. I can see a variable mapped to the setting in config;
[root@xxxx ~ ]$ grep imap_client_workarounds /var/cpanel/templates/dovecot/main.local
[%- IF protocol_imap.imap_client_workarounds.defined %]
imap_client_workarounds = [% protocol_imap.imap_client_workarounds %]
[root@xxxx ~ ]$
Where does protocol_imap.imap_client_workarounds get it value... or what is the default value?
-
Hey there! This value comes from the main Dovecot configuration file at /var/cpanel/conf/dovecot/main, which gets created based on the values configured at WHM >> Mailserver Configuration.
However, imap_client_workarounds isn't just one value - it can have many different configuration options. In fact, the default is that this isn't included at all, as I don't see this value listed in /var/cpanel/conf/dovecot/main by default.
The three values are shows in the main.local template file you referenced:
# Workarounds for various client bugs:
# delay-newmail:
# Send EXISTS/RECENT new mail notifications only when replying to NOOP
# and CHECK commands. Some clients ignore them otherwise, for example OSX
# Mail (<v2.1). Outlook Express breaks more badly though, without this it
# may show user "Message no longer in server" errors. Note that OE6 still
# breaks even with this workaround if synchronization is set to
# "Headers Only".
# tb-extra-mailbox-sep:
# Thunderbird gets somehow confused with LAYOUT=fs (mbox and dbox) and
# adds extra '/' suffixes to mailbox names. This option causes Dovecot to
# ignore the extra '/' instead of treating it as invalid mailbox name.
# tb-lsub-flags:
# Show \Noselect flags for LSUB replies with LAYOUT=fs (e.g. mbox).
# This makes Thunderbird realize they aren't selectable and show them
# greyed out, instead of only later giving "not selectable" popup error.
#
# The list is space-separated.Let me know if that helps!
0
Please sign in to leave a comment.
Comments
1 comment