<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>Update:</p>
<p>Calling just <strong>reconstruct -f</strong> with no parameters, gives me output for all imported mailboxes, but still no sign of the mailboxes being created. And again, if I try to create the mailboxes manually, no usage is accounted for the mailboxes.</p>
<p>Em 2017-12-29 20:58, Hiago Prata escreveu:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<p>Hi, I'm trying split users mailboxes into two smaller servers running Cyrus-IMAP (for organizational purposes only). These servers are running the newest version of Cyrus-IMAP available to a Debian system (2.5.10-3), while the old server runs Cyrus on version 2.2.13-14. I've done the migration of another server running this same version to the newest version with no problems.</p>
<p>Now, I need to do a migration to the new servers and split the mailboxes. This is what I did for the first server already:</p>
<p> - Back up part of the mailboxes to the new server using <strong>rsync</strong>;</p>
<p> - Back up the files contained in the <strong>/var/lib/cyrus/domain</strong> directory;</p>
<p> - Dump the corresponding entries of the mailboxes.db using <strong>ctl_mboxlist -d</strong>;</p>
<p>On the new server I did:</p>
<p> - Remove the content of <strong>/var/lib/cyrus</strong>;</p>
<p> - Run the <strong>makedirs</strong> command;</p>
<p> - Imported the database entries using <span><strong>ctl_mboxlist -u</strong>;</span></p>
<p><span> - Copy the domain content back into <strong>/var/lib/cyrus</strong>;</span></p>
<p><span> - Reconstruct the databases using <strong>reconstruct -rf user/*</strong> (got no output from this);<br /></span></p>
<p><span> - Change the database indexes to max using<strong> reconstruct -V max</strong> (this one gave output for all the imported mailboxes)</span></p>
<p><span>After all these steps, I noticed that no users had their quota set.<br />And trying to set it manually told me the mailboxes don't exist.<br />Though dumping the database show me otherwise.</span></p>
<p><span>I've tried to create the mailboxes manually too, but after setting the users quota, <br />it was shown that there was no quota usage for any of the users.</span></p>
<p><span>So, am I missing something in this procedure? </span></p>
<p><span>What is the correct way of doing this?</span></p>
<p><br /></p>
<p><span>Holp you can help me. Thanks in advance!</span></p>
<!-- html ignored --><br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">----<br /> Cyrus Home Page: <a href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a><br /> List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br /> To Unsubscribe:<br /> <a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></div>
</blockquote>
<p><br /></p>
<div>-- <br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Hiago Prata<br /> Graduando em Engenharia da Computação<br /> DataCenter da UFPA<br /> Faculdade de Engenharia da Computação e Telecomunicações<br /> Universidade Federal do Pará</div>
</div>
</body></html>