13 Jun
2013
13 Jun
'13
6:21 a.m.
On Tue, 2013-05-28 at 09:45 +0400, Evgeny Basov wrote:
Hello, Timo.
I have a question about %H in http://wiki2.dovecot.org/Variables : what the hash function uses for calculations and how to get this value manually? This is need for bypass way getting home directory.
It's a pretty bad hash calculation: http://hg.dovecot.org/dovecot-2.2/file/754d244b8249/src/lib/hash.c#l501
In v2.2 hg there's now an MD5 based %N ("new hash") that gives much better distribution of values.