Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
08-16-2016, 11:32 AM
|
#1
|
Member
Registered: Apr 2016
Posts: 562
Rep: 
|
How to archive emails to a folder on my computer?
I am using Linux Mint ver. 17.3.
I have an online Hotmail account, now called Outlook. It has thousands of emails in it.
How can I move or back-up all these emails, and everything else on my email account, to a folder on my computer? I would like to have the option of deleting all the online emails once they have been downloaded. And more importantly, be able to search through and look at these emails offline.
A few minutes ago I set up Thunderbird to access my email account. I have also gone into the Hotmail account settings to allow the use of POP.
But I cannot see how to archive the emails. In reading online about this, I get a vague impression that you may have to archive emails one by one. But as I have thousands of emails I cannot do them individually.
So how can I do the above please? Will Thunderbird do it? Should I use some other software instead?
Thanks.
p.s. I thought this would be a five minute job and expected I would see a button on Thunderbird that said "Archive emails", but now it looks as if it will be a five-day job.
|
|
|
08-16-2016, 03:06 PM
|
#2
|
Senior Member
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,247
Rep: 
|
In Thunderbird (in Windows at least, I've never done this in linux) you can usually simply copy the profile folder that contains all the e-mail and that should suffice.
You could also try to export your e-mail. I don't think thunderbird has a built-in export option, but you can install an add-on:
http://its.isber.ucsb.edu/guides/exp...il-thunderbird (that's probably for windows, but it should be the same in Linux)
By the way, you have to reconfigure your Thunderbird to use POP, instead of the default IMAP. It's not enough to simply change the option in your online account - you also need to do it in thunderbird. Then you can choose for how long emails should be kept on the server.
Last edited by vincix; 08-16-2016 at 03:09 PM.
|
|
|
08-16-2016, 03:16 PM
|
#3
|
Senior Member
Registered: Mar 2012
Posts: 1,882
|
Thunderbird has a "Local Folders" store in addition to the IMAP cache for your Hotmail account.
Just copy (or move) the mails to your "Local Folders".
|
|
1 members found this post helpful.
|
08-16-2016, 03:40 PM
|
#4
|
Member
Registered: May 2011
Location: Texas
Distribution: debian, ubuntu, centos stream
Posts: 849
|
Quote:
Originally Posted by descendant_command
Thunderbird has a "Local Folders" store in addition to the IMAP cache for your Hotmail account.
Just copy (or move) the mails to your "Local Folders".
|

|
|
|
10-07-2016, 05:43 AM
|
#5
|
Member
Registered: Apr 2016
Posts: 562
Original Poster
Rep: 
|
Sorry I'm still as confused as ever. The emails are held online somewhere, not on my computer, so being told to copy the email folder does not make sense.
To be clear, my question is - How can I back up (i.e. copy) to my hard disk all the several thousand emails which are all online and held by what used to be called Hotmail but is now called Outlook? Note that I have never used Thunderbird, I only installed it because I thought it would do this for me, but it does not appear to have any means of doing it.
Which is odd because when I installed Thunderbird a few years ago for the same purpose, but only used it once, it did all this for me with no problems.
So, to repeat, please can anyone tell me how to copy (i.e. back up) several thousand emails from my online Hotmail/Outlook account to my hard disk?
Thanks
|
|
|
10-07-2016, 05:46 AM
|
#6
|
Senior Member
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
|
You can use getmail.
Code:
apt-get install getmail4
getmail will download and store the emails locally, in your chose of storage format: mbox or maildir.
Help on configuring getmail: http://pyropus.ca/software/getmail/configuration.html
Outlook settings: https://support.office.com/en-us/art...1-87b80fa94970
Last edited by goumba; 10-07-2016 at 05:47 AM.
|
|
|
10-07-2016, 06:15 AM
|
#7
|
Senior Member
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
|
/home/user/.thunderbird contains all emails (and profile info) for thunderbird and can simply be copied and used with future instances of thunderbird.
Copy it to somewhere safe. And copy it to future /home/user/ to be able to continue to use it with future thunderbird installations.
|
|
|
10-07-2016, 01:48 PM
|
#8
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by grumpyskeptic
Sorry I'm still as confused as ever. The emails are held online somewhere, not on my computer, so being told to copy the email folder does not make sense.
|
oh yes it does make sense.
you must understand how IMAP works - or just just try it?
|
|
|
10-13-2016, 12:31 PM
|
#9
|
Senior Member
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
|
Quote:
Originally Posted by grumpyskeptic
Sorry I'm still as confused as ever. The emails are held online somewhere, not on my computer, so being told to copy the email folder does not make sense.
To be clear, my question is - How can I back up (i.e. copy) to my hard disk all the several thousand emails which are all online and held by what used to be called Hotmail but is now called Outlook? Note that I have never used Thunderbird, I only installed it because I thought it would do this for me, but it does not appear to have any means of doing it.
Which is odd because when I installed Thunderbird a few years ago for the same purpose, but only used it once, it did all this for me with no problems.
So, to repeat, please can anyone tell me how to copy (i.e. back up) several thousand emails from my online Hotmail/Outlook account to my hard disk?
Thanks
|
Ahh... You need to install Thunderbird and setup the account properly in thunderbird, using pop3 or imap settings which you get from your email provider (typically pop3.emailservice.com). Once you have access to your online account through thunderbird it will download all your emails and provide an automatic archive (which you can copy to any other thunderbird version and computer).
|
|
|
10-15-2016, 06:04 AM
|
#10
|
Senior Member
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
|
I still think the OP will get the best results, and perhaps the easiest method, by using getmail. This method of using Thunderbird adds needless complication and extra step of copying the emails. As a bonus (s)he can add a cron job using getmail, choose the location him(her)self without too much hassle, etc.
|
|
|
10-15-2016, 07:05 AM
|
#11
|
Senior Member
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,959
|
If you use getmail you obtain a format that is not easily recoverable.
Or at least I did. 
|
|
|
10-16-2016, 03:19 AM
|
#12
|
Senior Member
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
|
Quote:
Originally Posted by JeremyBoden
If you use getmail you obtain a format that is not easily recoverable.
Or at least I did. 
|
What do you mean by "not recoverable"? getmail saves to either the standard UNIX mbox format (which, IIRC is the default), or to a MailDir.
|
|
|
10-16-2016, 04:26 AM
|
#13
|
Senior Member
Registered: Mar 2012
Posts: 1,882
|
So, once you have your archive with getmail, how do you read/forward/reply to the messages?
|
|
1 members found this post helpful.
|
10-16-2016, 01:35 PM
|
#14
|
Senior Member
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,247
Rep: 
|
Quote:
Originally Posted by descendant_command
So, once you have your archive with getmail, how do you read/forward/reply to the messages?
|
You simply open the mailbox into the mail client. What kind of question is this?
|
|
|
10-16-2016, 01:59 PM
|
#15
|
Senior Member
Registered: Mar 2012
Posts: 1,882
|
Quote:
Originally Posted by vincix
You simply open the mailbox into the mail client.
|
How?
What servername do you enter into the client when asked, when setting up a new account?
What user/pass?
Quote:
What kind of question is this?
|
The kind the OP would ask if they follow the getmail suggestion and then not find the mail in Tbird or any usable form.
|
|
|
All times are GMT -5. The time now is 10:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|