5 Mar
2013
5 Mar
'13
1:14 p.m.
On Thu, Feb 28, 2013 at 02:59:52PM +0100, Pavel Dimow wrote:
we have /var/spool/vmail/mydomain.com/user@mydomain.com and I want a new server with version 2 to have hashed directory structure like /var/spool/vmail/mydomain.com/u/s/user I was wondering it f there is some better solution then dir hashing or a way to hash a dir other then first two letters.
We use:
mail_home = /srv/mailstore/%256LRHu/%Ld/%Ln
giving us 256 buckets based on Lowercase, Reversed Hash of username. Ref: http://wiki2.dovecot.org/Variables.
Also any suggestion how to perform this migration from old to new server with hashing on the fly?
Symlinks from old to new..
-jf