> -----Original Message-----
> From: DAve [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 25, 2007 12:13 PM
> To: email@example.com
> Subject: Re: [vchkpw] Shared libvpopmail thoughts
> Tom Collins wrote:
> > 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
> >> 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
> > at a balanced level.
> > Keep track of the next directory to fill in a file (which needs to
> > protected by a file lock). The .dir-control file is supposed to
> > that way.
> > On vdeldomain, if the domain came out of a directory "less than" the
> > next_directory, update next_directory.
> > On vadddomain, if next_directory has 100 domains after the addition,
> > scan forward until you find a directory with <100 domains and update
> > next_directory.
> > It should be possible to make the code generalized enough to work
> > the domains directory and the individual domain directories (for
> > managing users via vuseradd and vuserdel).
> dir-control is a train wreck. If we ever left vpopmail (unlikely) it
> would be because of dir-control. I'm not a C programmer but I have
> of coding experience with IBM Basic, JCL, COBOL, Perl, PHP, Ruby,
> headache and I never did get anyone to own up to knowing how it
> If someone would fix it, I would provide a 6 pack of Jones (any
> a carton of Marlborough reds, some tokens, a Magic Eight Ball, and a
> bag of twizzlers to sweeten the deal.
Oooh! That's a sweet deal...I'll throw in a 6 pack of Beer from Canada
from the brewery of your choice!
> Three years now I've asked Google why they don't have a
> logo change for Memorial Day. Why do they choose to do logos
> for other non-international holidays, but nothing for
> Maybe they forgot who made that choice possible.