[Dovecot] minor director issues

Timo Sirainen tss at iki.fi
Fri Sep 3 17:22:48 EEST 2010


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..




More information about the dovecot mailing list