quota and sieve directory

Ken Murchison ken at oceana.com
Wed Sep 4 07:51:07 EDT 2002


Quoting Brasseur Valéry <Valery.Brasseur at atosorigin.com>:

> > -----Original Message-----
> > From: Ken Murchison [mailto:ken at oceana.com]
> > Sent: Tuesday, September 03, 2002 7:18 PM
> > To: Brasseur Valéry
> > Cc: info-cyrus at lists.andrew.cmu.edu
> > Subject: RE: quota and sieve directory
> > 
> > 
> > Quoting Brasseur Valéry <Valery.Brasseur at atosorigin.com>:
> > 
> > > > -----Original Message-----
> > > > From: Ken Murchison [mailto:ken at oceana.com]
> > > > Sent: Tuesday, September 03, 2002 2:29 PM
> > > > To: Brasseur Valéry
> > > > Cc: info-cyrus at lists.andrew.cmu.edu
> > > > Subject: Re: quota and sieve directory
> > > > 
> > > > 
> > > > Quoting Brasseur Valéry <Valery.Brasseur at atosorigin.com>:
> > > > 
> > > > > I was wandering why quota and sieve directory where not 
> > > > hash like mailbox
> > > > > when you use "fulldirhash" ?
> > > > 
> > > > It _should_ be done for any of the 2.1 releases.
> > > well yes ! I beg your pardon ! 
> > > 
> > > I was thinking that mailbox was 2 level hash and was only 
> > seeing one level
> > > for sieve and quota !
> > > 
> > > so my next question is : why only one level with only alpha letter ?
> > > why not more level or more entries ?
> > 
> > How is the mailbox hashed at 2 levels?
> It was my first understanding of "fulldirhash" at first look !
> now, after a better in-depth look I have seen that there was only one level
> !
> 
> So did you think that a small code change could to "2 level" hashing ?


You'd need to change all of the places in the code where a directory path is 
created.  Look for DOMAINDIR in the 2.2 code, and this would point them out.

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp




More information about the Info-cyrus mailing list