<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I am using Dovecot 2.3.4.1 with sdbox and mostly Thunderbird on
Linux and FairEmail on Android as IMAP clients.</p>
<p>I use a defined set of IMAP keywords to allow different users to
mark and filter their mails based on keywords. That works pretty
well but I stumble across an issue from time to time:</p>
<p>In TB I can pre-define a list of keywords which the user can
choose one from.</p>
<p>FairEmail shows all those keywords Dovecot presents - there is
nothing like the list in TB.<br>
</p>
<p>Issue 1: If there are no mails flagged in a folder, Dovecot
doesn't present any keywords and therefore FairEmail shows none -
the user has to remember and type in the correct keyword.</p>
<p>Issue 2: After some time FairEmail shows a huge list of keywords
for the INBOX, even keywords not in use for quite some time. To
get rid of these keywords I deleted the index files on Dovecot
(which with sdbox are not meant to be deleted?). It seems, Dovecot
caches the keywords in the index files.</p>
<p><br>
</p>
<p>Question:</p>
<p>1) Is there a way on Dovecot to define a list of keywords Dovecot
presents to the IMAP clients?</p>
<p>2) If not, is there a nicer way to clean the keyword lists from
old entries not assigned to any mail in that folder?<br>
</p>
<pre class="moz-signature" signature-switch-id="f4b96ac0-abef-40ae-9e6e-6f0efd38063d" cols="72">--
Cheers
spi</pre>
</body>
</html>