<div dir="ltr"><div dir="ltr">I think I don't understand the question. <br></div><div dir="ltr"><br></div><div dir="ltr">Dovecot knows where the user's home is, you don't need to guess. With mail_home or with Passdb variables you can define the user's home location and you can use 'doveadm user' to show where the home directory is in the filesystem.</div><div dir="ltr"><br></div><div>However, if you are migrating I would use dovecot sync or similar tool instead of doing the manual process. <br></div><div><br></div><div><div>Regards<br></div><div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Manuel Delgado</div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 23, 2020 at 10:46 AM Adrian Minta <<a href="mailto:adrian.minta@gmail.com" target="_blank">adrian.minta@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Thank you for your reply.</p>
<p>One question<span lang="en"><span title=""> though, if you add a mount point how do you
know what user to move ? <br>
</span></span></p>
<p><span lang="en"><span title=""><br>
</span></span></p>
<div>On 9/23/20 7:35 PM, Manuel Delgado
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi Adrian,</div>
<div><br>
</div>
<div>It depends much on your site configuration. <br>
</div>
<div><br>
</div>
<div>In our case, we have several mount points and we distribute
our user mailboxes using username hash (%N)[1] and limit this
hash to the number of mount points. We preferred %N over %H
because the distribution of users was much better.</div>
<div><br>
</div>
<div>Ex. xstore%2.3Nn turns to xstore00, xstore01 and xstore03.<br>
</div>
<div><br>
</div>
<div>Regards<br>
</div>
<div>
<div>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>Manuel Delgado<br>
</div>
<div><br>
</div>
<div>[1] <a href="https://doc.dovecot.org/configuration_manual/config_file/config_variables/#modifiers" target="_blank">https://doc.dovecot.org/configuration_manual/config_file/config_variables/#modifiers</a></div>
<div><br>
-----------------------------------------------------------<br>
</div>
<div><br>
</div>
<div><b><span><span><span><b><span><br>
</span></b></span></span></span>Usuario
Linux</b> <i>#<a href="http://counter.li.org/" target="_blank">520940</a></i>
<br>
</div>
<br>
<div><br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Sep 21, 2020 at 8:24
AM Adrian Minta <<a href="mailto:adrian.minta@gmail.com" target="_blank">adrian.minta@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi
everyone,<br>
<br>
I want to ask if any of you has done a migration from a single
storage <br>
to multiple back-end storages and what is the best strategy
for folder <br>
hashing that you use.<br>
<br>
Using something like %H or %M how do you predict where the
mail will end <br>
up in order to move the existing folders ?<br>
<br>
Thank you !<br>
<br>
-- <br>
Best regards,<br>
Adrian Minta<br>
<br>
<br>
</blockquote>
</div>
</blockquote>
<pre cols="72">--
Best regards,
Adrian Minta
</pre>
</div>
</blockquote></div></div>