Go to your Thunderbird Tools option> click add-ons> search for "ImportExportTools" once found, install it. Now restart TB. Then open Tools and drop down to ImportExportTools. Now you can export to any specific folder you wish.
Now, once exported to your specified folder you can move from Win 7 to Ubuntu. Again open the tools option and under ImportExportTools> Import the folder your previously exported. option here "select a directory where searching the mbox files to import (also in subdirectories)".
TB uses basically the same structure in Windows as it does in Ubuntu. So as an example the file would be. /home/USERNAME/.thunderbird/lmqobi46.default/Mail/Local Folders
Read Local Email With Thunderbird
Watch Vido
Step no 1.
sudo apt-get install postfix -y
If installed
sudo dpkg-reconfigure postfix
configure it for local email, Choose the default settings & use localhost
as hostname
Step no 2.
sudo nano /etc/aliases
And replace root with your user name, My user name is " one "
postmaster: root
logcheck: one
Then run sudo newaliases
so that the configuration is updated.
Step no 3.
you need to create a .forward file containing your username and localhost: e.g. one@localhost so that root's mail will be forwarded to you. To do this, enter these commands:
sudo nano /root/.forward
And add the user-name@localhost e.g. one@localhost in the file and save it.
Step no 4.
sudo adduser $USER mail
It is necessary to add your user to the mail group so that Thunderbird could access the mail files
Step no 5.
logout and login for the changes to take effect
Step no 6.
Now for the Thunderbird configuration. Go to edit > account settings > account actions > add other account > select Unix Mailspool and in the next screen put your username in the first box and place yourusername@localhost in the second box.
Server Settings > Browse
Browse > Select /var/mail folder
Outgoing Server , Port 25
Thunderbird will close automatically & then Write an email to root@localhost
Get Mail
Best Answer
I think the easiest way to answer this is to point you to the knowledge base article from Mozilla on moving your profile from one computer to another.
Moving your Thunderbird profile folder
It gives you the steps to follow as well as a link for moving from windows to linux that you should read through as well.
Before attempting any move I would back up your Thunderbird profile from Windows as well.