> On Sep 25, 2007, at 10:06 AM, John Simpson wrote: >> the idea of splitting the domains and mailboxes into different >> directories has been around forever, there's no excuse for somebody >> to not have made the adjustment by now. > > I'm all for keeping it, but someone should fix it. On my server, > with a cdb backend, I have the following structure: > > main directory: 65 domains > 0: 25 domains > 1: 2 domains > 2: 2 domains > 3: 0 domains > 4: 3 domains > 5: 44 domains > > Just for reference, here's the .dir-control file for that server: > > 116 > 0 > 3 > 0 0 0 > 61 61 61 > 0 2 2 > 5 0 0 > 5 > > I'd love to see vadddomain do a better job of back-filling domains. > Maybe vadddomain and vdeldomain could work together to keep > directories at a balanced level.
<snip> Just for reference, I have a patch that does a lot of this for the MySQL backend. It's up on SF in patches, #1619600, and could probably server as a basis for this type of code everywhere. There's also a separate patch that allows per-domain control of the # of users per directory, also just for MySQL, but again it could serve as a starting point. Josh Joshua Megerman SJGames MIB #5273 - OGRE AI Testing Division You can't win; You can't break even; You can't even quit the game. - Layman's translation of the Laws of Thermodynamics [EMAIL PROTECTED]