View Single Post
  #6 (permalink)  
Old 11-16-2005, 05:17 PM
dkarp dkarp is offline
Zimbra Employee
 
Posts: 1,434
Default You want the ID, not the hash.

Quote:
Originally Posted by tron
Can you share with us the hashing algorithm that zimbra uses so that it would make locating a user's mail directory much easier?
Mailboxes are assigned increasing numeric IDs when they're created. The account ID -> mailbox ID mapping is in the ZIMBRA.MAILBOX table in the old install's database, which you may or may not any longer have access to. (There's a COMMENT field in that table that by default holds the email address of the mailbox owner.)

The "hash" is just what you get by right-shifting the mailbox ID by N bits, so for your system all mailboxes will hash to 0.
Reply With Quote