3 Sep
2010
3 Sep
'10
5:22 p.m.
On Fri, 2010-09-03 at 10:25 +0200, Cor Bosman wrote:
Oops, not CRC32, but a 32bit hash based on MD5 of the username. Still, it's 32bit so with lots of users there will be a lot of collisions (which shouldn't be a problem, except doveadm director map will list users who haven't really logged in).
Isn't it possible to keep a copy of the username with the md5 checksum? Or is that problematic because of the collisions?
It's done this way to avoid wasting lots of memory and also network bandwidth when sending data across directors. Doing all that just for a small statistics check that is probably rarely used doesn't seem like a good idea..