On Sat, 21 Oct 2000, Gary Mills wrote:

> I'm testing cyrus-imapd-2.0.7, and I notice that the userid hashing
> scheme in conf/deliverdb, conf/quota, and conf/user use the first
> letter of the userid for subdirectory names.  Unfortunately, we have
> about 20,000 userids that begin with the string `um', which will all
> hash to the same directory.  Where can I find a better hashing scheme?

  Well, such a method doesn't exist yet, but I'd recommnd a hash method
that sums all the characters in the userid, and then takes the lower 8
bits converted to hex as the hash directory.  This would give you 255
directory from "00" to "FF".

> -- 
> -Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-
> 
> 

Reply via email to