If it sees an exiting one will it skip it?
From: Ken Jones [mailto:[EMAIL PROTECTED]
Sent: Monday, February 14, 2005 7:36 AM
Subject: Re: [vchkpw] hashing directories
On Sunday 13 February 2005 9:38 pm, James Whitt wrote:
> My question is on the removal of empty hashing directories or at least
> their reuse. While running through our test server which we are
> setting up to replace our old system, I noticed that when domains are
> removed, they aren't being replaced when new domains are being
> created. To get to the point, we now have basically 0 - N directories
> with no domains in them, and they are completely empty, yet when we
> create more domains, a new directory will be created when the last one
> is filled (so if P gets filled, then Q is created even though 0 - N
> are sitting with no domains in it). Is there an easy way to have it
> reuse directories that are not hitting the quota anymore instead of
> potentially having a lot of empty directories?
> James Whitt
If you remove the ~vpopmail/domains/.dir-control file, then the
directory hashing will start over at the begining.