On Mon, 2009-01-12 at 08:22 -0600, Matt Brookings wrote:
> Okay.  I can definitely see how this would work.  It is a reasonable
> solution, and I'd be very interested to see a completed patch against
> the CVS head.
> 

I have completed the patch.

How do I use CVS? I know very little of CVS. But any pointers would
help. I anyway would want to learn using cvs as it would benefit me in
using it for my own projects.

Meanwhile I have submitted the patch on sourceforge. Patch ID: 2507177
https://sourceforge.net/tracker2/?func=detail&aid=2507177&group_id=85937&atid=577800


The patch fill create a new file backfill.c, modify make_user_dir() and
vdeluser() functions in vpopmail.c. It also modifies Makefile.am to
compile backfill() function.

Apart from providing backfill(), the patch also provides an
authentication module for courier-imap (which I am maintaining). The
executable authindi needs to be copied to courier-imap's authlib
directory.

> It would be interesting to see a more efficient method where duplicates,
> as in your example, the hash directory 2, could be listed a single time.

I get the point. Will work on this but would take some more time. This
would be easier to do in MySQL though.

> Remember that this feature does not yet exist, and that there are probably
> many systems with backfilling needs that go back years.  Potentially this
> patch could hit a system with four levels of hashing simply because there's
> been a lot of additions and deletions.  If the backfill patch doesn't take
> this into consideration, we may need to consider writing some sort of
> utility to analyze and "clean", a system that is "overhashed".

If someone could work on a script which does ls on the domain
directories and creates this file, the script would then fulfill the
needs of some of us who needs backfilling. I can do this script probably
this Saturday. Let me know if this is also needed.
Dave,
Your dircheck.sh script could shorten the development time for me. I
just will have to subtract your numbers from 100.

Regards Manvendra 
from www.indimail.org


!DSPAM:496e00c232671814015369!

Reply via email to