implementing folder hashing

Adrian Minta adrian.minta at gmail.com
Wed Sep 23 19:46:01 EEST 2020


Thank you for your reply.

One questionthough, if you add a mount point how do you know what user 
to move ?


On 9/23/20 7:35 PM, Manuel Delgado wrote:
> Hi Adrian,
>
> It depends much on your site configuration.
>
> 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.
>
> Ex. xstore%2.3Nn turns to xstore00, xstore01 and xstore03.
>
> Regards
> Manuel Delgado
>
> [1] 
> https://doc.dovecot.org/configuration_manual/config_file/config_variables/#modifiers
>
> -----------------------------------------------------------
>
> **
> *Usuario Linux* /#520940 <http://counter.li.org/>/
>
>
>
>
>
> On Mon, Sep 21, 2020 at 8:24 AM Adrian Minta <adrian.minta at gmail.com 
> <mailto:adrian.minta at gmail.com>> wrote:
>
>     Hi everyone,
>
>     I want to ask if any of you has done a migration from a single
>     storage
>     to multiple back-end storages and what is the best strategy for
>     folder
>     hashing that you use.
>
>     Using something like %H or %M how do you predict where the mail
>     will end
>     up in order to move the existing folders ?
>
>     Thank you !
>
>     -- 
>     Best regards,
>     Adrian Minta
>
>
-- 
Best regards,
Adrian Minta


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20200923/151c5a8c/attachment-0001.html>


More information about the dovecot mailing list