mbox to maildir help
10302006 1656 GMT-6
I just set up ubuntu 6.06LTS. I wanted to move away from my mbox mail setup as several crashes have left me unsettled. I have a desktop system and download my mail, viewing with Evolution. I found this script mb2md to convert mbox to maildirs, but Im not very sure of what Im doing, even after reading the documentation. As I understand it: Code:
mb2md -s /home/user/.evolution/mail/local -R -d /home/user/Maildir I want to convert my Inbox, Sent mail, and all my sub-folders as well. wade |
Take a look at this: http://qmail.glasswings.com.au/top.html#maildir
When i moved from iMail (yuk) to postfix + courier imap i had this issue as well (though for a few thousand people). I used that script i do not recall writing though it clearly is written by me (alas it has been 2 years). Looking at it, it appears to be total overkill for what you want to do, but verifies that your syntax is correct (though i did not use the -R). Maybe it helps: Quote:
|
10302006 1908 GMT-6
I have made some backup directories of my mail and I have been experimenting. I ran this command Code:
mb2md -s /current_file_location -d /new_file_destination -R Code:
/new_file_destination/ What Im getting at is, Im not sure I understand what Im supposed to be seeing. It seems that under some of this folders there are /cur with items it them and under others, there isnt. I had folders that I used to store mail in when I used Thunderbird and then later in Evolution. Is this creating a /cur /new and /tmp under each and every folder? wade |
yes it is.
maildir uses those three folders, mail that is new gets moved (downloaded) to new and is then moved to cur. You may also find that if you did this on a server that you'd have a stack of hidden folders in there depending on what services you offer, like say an address book and a spam folder. Sadly i use $exchange in a vmware session to do my mail on this system so i can not show you what it looks like on here. From (cloudy) memory this is due to how IMAP stores it's messages ... Anyone else got more info? |
10302006 2012 GMT-6
Ok. So let me ask this then. One of the folders I had set up in Evolution was titled business and some subfolders under that. Code:
/Business That is how it looks now in the /fixmail folder. After I run the mb2md I end up with Code:
/maildir Also, every folder under has _sbd on the end of it. Like.Business_sbd, .Business_sbd.Awareness Life, Business_sbd.Beryl and so on. Im just wondering what that _sbd is and can it be stripped off? wade |
After running a lot of little tests I have noticed that if I delete these files
Code:
/folder I think this mb2md is creating the correct folder structure ... based on that I have nothing else to go on I have to believe it is. |
All times are GMT -5. The time now is 12:51 AM. |