atom feed8 messages in net.sourceforge.lists.courier-users[courier-users] How to convert from U...
FromSent OnAttachments
Robert M. MeyerOct 17, 2002 8:43 am 
Juri HaberlandOct 17, 2002 9:26 am 
Christian HammersOct 17, 2002 9:57 am 
Robert M. MeyerOct 17, 2002 10:10 am 
Gordon MessmerOct 17, 2002 10:53 am.sh
Robert M. MeyerOct 17, 2002 12:07 pm 
Juri HaberlandOct 17, 2002 1:24 pm 
Juri HaberlandOct 17, 2002 1:27 pm 
Subject:[courier-users] How to convert from UW-IMAP w/maildir patches to Courier
From:Robert M. Meyer (rme@installs.com)
Date:Oct 17, 2002 8:43:43 am
List:net.sourceforge.lists.courier-users

I installed UW-IMAP with the maildir patches on my system but there are several bizarre problems. I intend to convert to Courier (tested it on a development server) but I have to convert all of my users from one maildir format hierarchy to the Courier hierarchy.

The format of the current directories is:

INBOX Folder1---- |---sub1--- | |---subsub1 | |---sub2

So the paths would be $HOME/Folder1, $HOME/Folder1/sub1, $HOME/Folder1/sub1/subsub1, $HOME/Folder1/sub2... ad. nausium

Since Courier likes this folder tree to look like: $HOME/Maildir/.Folder1, $HOME/Maildir/.Folder1.sub1, $HOME/Maildir/.Folder1.sub1.subsub1, $HOME/.Folder1.sub2, etc., I need a routine to recursively fix this mess. Has anyone done this programmatically before? I have a 7 gigabyte mail spool at this point with 178 users and LOTS of folders. I obviously don't want to try to do this manually. This is a production system but I have a machine to test on. I need to do the whole conversion process over the course of one evening...

Any help would be greatly appreciated... I might even buy you lunch if you're ever in Buffalo, NY :-)

Cheers!

Bob