Cool, Thanks, that was what I asked in the first place, apart from creating dirs, all I need do is to move the files into mailbox/new (I originally said mailbox/cur) so thanks for the correction.
Thanks Davide, a really great product. Rob :-) ________________________________________________________ Censorship can't eliminate evil; it can only kill freedom. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Davide Libenzi > Sent: Friday, 28 March 2003 11:14 AM > To: XMail mailing list > Subject: [xmail] Re: Converting a W2k Mailbox installation to a MailDir > installation. > > > There're no RFCs : > > stop_xmail(); > for_each_user_dir() { > create_dir("Maildir"); > create_dir("Maildir/new"); > create_dir("Maildir/cur"); > create_dir("Maildir/tmp"); > move_files("mailbox/*", "Maildir/new"); > remove_dir("mailbox"); > } > start_xmail(); > > > - Davide > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Rob Arends > Sent: Friday, 28 March 2003 10:54 AM > To: [EMAIL PROTECTED] > Subject: [xmail] Re: Converting a W2k Mailbox installation to a MailDir > installation. > > Thanks, > > From your response, I assume that the file formats are different, not just > the directory layout. > Do you have the rfc numbers for the two formats handy ?? > > Thanks Rob :-) > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Davide Libenzi > Sent: Thursday, 27 March 2003 5:15 AM > To: XMail mailing list > Subject: [xmail] Re: Converting a W2k Mailbox installation to a MailDir > installation. > > Nope, you need some scripting magic to do that. > > - Davide > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 26 March 2003 1:54 PM > To: [EMAIL PROTECTED] > Subject: [xmail] Converting a W2k Mailbox installation to a MailDir > installation. > > Hi All, > > To convert a W2k Mailbox installation to a MailDir installation. > > If I were to add a -MM to the command line, would the existing > emails in the > Mailbox be preserved, or would I need to move the mails to maildir\cur > > Ta Rob :-) > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
