<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><blockquote type="cite"><p><span> - Reconstruct the databases using <b>reconstruct -rf user/*</b> (got no output from this);</span><br></p></blockquote><div><br></div>
<div>What's your value for the "unixhierarchysep" setting in imapd.conf? If it's not there, or is 0, then I think you will need to use a dot, not a slash, in your reconstruct argument: "reconstruct -rf user.*"<br></div>
<div><br></div>
<div>On Sat, Dec 30, 2017, at 10:57 AM, Hiago Prata wrote:<br></div>
<blockquote type="cite"><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.<br></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:<br></p><p> - Back up part of the mailboxes to the new server using <b>rsync</b>;<br></p><p> - Back up the files contained in the <b>/var/lib/cyrus/domain</b> directory;<br></p><p> - Dump the corresponding entries of the mailboxes.db using <b>ctl_mboxlist -d</b>;<br></p><p>On the new server I did:<br></p><p> - Remove the content of <b>/var/lib/cyrus</b>;<br></p><p> - Run the <b>makedirs</b> command;<br></p><p> - Imported the database entries using <span><b>ctl_mboxlist -u</b>;</span><br></p><p><span> - Copy the domain content back into <b>/var/lib/cyrus</b>;</span><br></p><p><span> - Reconstruct the databases using <b>reconstruct -rf user/*</b> (got no output from this);</span><br></p><p><span> - Change the database indexes to max using<b> reconstruct -V max</b> (this one gave output for all the imported mailboxes)</span><br></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><br></p><p><span>What is the correct way of doing this?</span><br></p><p><br></p><p><span>Holp you can help me. Thanks in advance!</span><br></p><div>----<br></div>
<div>Cyrus Home Page: <a href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a><br></div>
<div>List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br></div>
<div>To Unsubscribe:<br></div>
<div><a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a><br></div>
</blockquote><div><br></div>
</body>
</html>