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