<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Sebastian,</p>
<p><br /></p>
<p>I'll answer below (and in green) your answers!! Thanks a lot for your explanations mate :) :)</p>
<div>---<br />
<div class="firmasarenet" style="clear: both; text-align: left;">
<div class="imgsarenet" style="margin: 0 0 10px 0;"><img src="https://www.sarenet.es/estaticos/LogoSarenetEmails.png?newlogo" alt="sarenet" /></div>
<div class="titulosarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: bold; font-size: 14px; color: #333333;"><strong>Egoitz Aurrekoetxea</strong></div>
<div class="dptosarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 12px; color: #333333;">Departamento de sistemas</div>
<div class="textosarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 12px; color: #333333;">944 209 470<br />Parque Tecnológico. Edificio 103<br />48170 Zamudio (Bizkaia)</div>
<div class="lnksarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 12px; color: #007ac4; line-height: 1.2;"><a id="mailto" style="font-size: 12px; color: #007ac4; text-decoration: underline;" href="mailto:egoitz@sarenet.es"><label id="label_email">egoitz@sarenet.es</label></a></div>
<div class="lnksarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 12px; color: #007ac4; line-height: 1.2;"><a style="font-size: 12px; color: #007ac4; text-decoration: underline;" href="http://www.sarenet.es">www.sarenet.es</a></div>
<br />
<div class="imprimirsarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 10px; color: #a0c361;">Antes de imprimir este correo electrónico piense si es necesario hacerlo.</div>
</div>
</div>
<p><br /></p>
<p>El 07-01-2019 15:57, Sebastian Hagedorn escribió:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span style="white-space: nowrap;">Hi,</span><br /> <br /> --On 7. Januar 2019 um 14:51:02 +0100 Egoitz Aurrekoetxea <<a href="mailto:egoitz@sarenet.es">egoitz@sarenet.es</a>> wrote:<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><span style="white-space: nowrap;">This seems to take ages...</span></blockquote>
<br /> why don't you run it for a single account first, to make sure that it actually helps?</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">======================================================================================================</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">Yes :) it has worked as expected for a single account! have launched later the : </span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">/usr/local/cyrus/sbin/ctl_conversationsdb -r -z</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">(still running)</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">and later the : </span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">/usr/local/cyrus/sbin/ctl_conversationsdb -r -b</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">======================================================================================================</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><span style="white-space: nowrap;">I'm trying to figure the best way of</span><br /> <span style="white-space: nowrap;">implementing this and of clarifying concepts.... I'm running Squatter in</span><br /> <span style="white-space: nowrap;">rolling replication mode and exist the concept of conversations then.</span><br /> <span style="white-space: nowrap;">What is the exact role of each of them?. Squatter seems to index the</span><br /> <span style="white-space: nowrap;">mailbox but when something is not properly indexed instead of running</span><br /> <span style="white-space: nowrap;">Squatter you use ctl_conversations for reindexing some part again or...</span></blockquote>
<br /> squatter is nowadays a bit of a misnomer, because it uses whatever index you have configured. In cyrus 2.4, squatter would always create a SQUAT index. When you run squatter with Xapian, it will build the index, but for the index to actually work, you also need the conversationsdb. squatter does not touch the conversationsdb! The index is only a pointer to the conversationsdb, not to actual messages.</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">======================================================================================================</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">I see!! this was the key point I was loosing or which I was not able to see how all of them where related...</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">======================================================================================================</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><br /> <br /> Robert can probably explain this much better than me, but I think the problem is the following:<br /> <br /> • when you have conversations enabled in imapd.conf, normal deliveries to the mailboxes (e.g. using lmtpd) will update the conversationsdb<br /> <br /> • syncing (at least using the "old" mechanism, not sure about sync between instances running 3.0)  does *not* update the conversationsdb</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">======================================================================================================</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">Although I assume, here if you run the Squatter in rolling mode within a slave server seems to update the index... although not sure if it could do too with conversationsdb.. how does a slave behave in this sense?. Could anyone help us please :) ??</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">======================================================================================================</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><br /> <br /> Once you have a running 3.0 server, you probably won't need to run ctl_conversationsdb ever again. But when you are at the stage of syncing mail from 2.4 to 3.0, you *will* need to rebuild each user's conversationdb at least once, after you have finished with syncing that user.</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">======================================================================================================</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">This is important yes...</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">======================================================================================================</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><br /> <span style="white-space: nowrap;">Again, this is all based on my understanding and not an official answer.</span></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">======================================================================================================</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">Any I thank a lot all your help!! Many many thanks mate!!</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">Cheers!!</span></strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><strong><span style="color: #339966;">======================================================================================================</span></strong><br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><span style="white-space: nowrap;">El 07-01-2019 10:19, Sebastian Hagedorn escribió:</span><br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><span style="white-space: nowrap;">That sounds like the conversationsdb issue I was talking about. Have you</span><br /> <span style="white-space: nowrap;">tried these steps?</span><br /> <br /> <span style="white-space: nowrap;">ctl_conversationsdb -z USER</span><br /> <span style="white-space: nowrap;">ctl_conversationsdb -b USER</span></blockquote>
</blockquote>
<br /> <br /> <br /> <span style="white-space: nowrap;">Mit freundlichen Grüßen</span><br /> <br /> <span style="white-space: nowrap;">Sebastian Hagedorn</span></div>
</blockquote>
</body></html>