On Wed, 7 Apr 2004, Misty Stanley-Jones wrote:

> Hi all,
>
> I have found lots of scripts to convert mbox to maildir, and they all
> seem to work.  However, when I transfer the newly generateed maildirs
> to my test machine, I only ever see the Inbox.  If I create folders
> inside my Inbox, they are visible, but I don't know where their
> Maildirs are.  Here is how I told my script to convert them:
> /var/spool/mail/<user> -> /home/<user>/Maildir(cur,tmp,new)
> /home/<user>/mbox1 -> /home/<user>/Maildir/mbox1(cur,tmp,new)
> /home/<user>/mbox2 -> /home/<user>/Maildir/mbox2(cur,tmp,new)

Well, you are very close.
What you want is:

/home/<user>/Maildir/  <- This is "INBOX"
/home/<user>/Maildir/.mbox1/  <- This is "INBOX.mbox1"
/home/<user>/Maildir/.mbox1.2004/  <- This is "INBOX.mbox1.2004"
/home/<user>/Maildir/.mbox2/   <- This is "INBOX.mbox2"

Basically, courier uses Maildir/(tmp,new,cur) for INBOX, and
Maildir/.stuff/(tmp,new,cur)  for INBOX.stuff

So, in the above case, you could just as easily:

cd /home/<user>/Maildir
mv mbox1 .mbox1
mv mbox2 .mbox2
etc...



--
Ensign Walnut approaches Dr. Crusher with caution...

Jon Nelson <[EMAIL PROTECTED]>
C and Python Code Gardener


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to