Just a question : Does an 'mv' convert CRLF to CR ? I don't remember that :/
Just a suggestion : Except if the copy/transfert program used to pass mail files from the windows system to the linux system have options to convert crlf to cr, = I think if Rob want to fully convert windows maibox content to unix = maildirs, he need to use some dos2unix command (or d2u ? don't remember exactly = the tool name on linux) in the proposed script, no ? :) Francis >-----Message d'origine----- >De : [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] la part de Rob Arends >Envoy=E9 : dimanche 7 septembre 2008 14:32 >=C0 : xmail@xmailserver.org >Objet : [xmail] Re: 1.26-pre03 > > >Wow, that was easier than expected. > >Thanks. > >PS. Is IMAP4 built in to xMail, still on the agenda?=20 >If so is there a timeframe? > > >Rob :-) >=20 >_________________________________________________ >It might look like I'm doing nothing, but on a cellular level,=20 >I'm quite >busy. > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On >Behalf Of Davide=20 >Libenzi >Sent: Saturday, September 06, 2008 2:22 PM >To: xmail@xmailserver.org >Subject: [xmail] Re: 1.26-pre03 > >On Sat, 6 Sep 2008, Rob Arends wrote: > >> Davide,=20 >>=20 >> If I wanted to use the default unix storage format - is it=20 >possible to >> convert the existing windows format mail boxes? >>=20 >> I could write little bit of Perl if the conversion was=20 >relatively simple. > >Yep: > > for_each_domain > for_each_mailbox > mkdir Maildir > mkdir Maildir/new > mkdir Maildir/cur > mkdir Maildir/tmp > mv mailbox/* Maildir/new > rm -rf mailbox > > >- Davide > > >- >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] > > >- >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] > - 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]