On Thu, Jul 5, 2012 at 12:46 PM, J E Lyon <role.Dovecot-Readers@jlassocs.com> wrote:
When I first saw you mention hashing, I misread it as some sort of hash-table approach to large directories that I wasn't aware of, or something . . And now I've read the Dovecot documentation, I see what you're talking about!
Why are you bothered about using the hash, instead of just splitting on the first letter of the existing account name? Is it to more evenly randomise the distribution of accounts?
The advantage of the username "first letter" approach, or returning hardcoded locations from userdb (as per Timo's suggestion), is that you can more readily move the directories manually during a very short period of downtime, I'd have thought?
~ James.
Thank you, this is a valid suggestion, especially since it could be done directly with some SQL magic in dovecot config file. I will consider this option !