LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-16-2016, 11:32 AM   #1
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 472

Rep: Reputation: Disabled
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.
 
Old 08-16-2016, 03:06 PM   #2
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Rep: Reputation: 103Reputation: 103
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.
 
Old 08-16-2016, 03:16 PM   #3
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
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.
Old 08-16-2016, 03:40 PM   #4
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by descendant_command View Post
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".
 
Old 10-07-2016, 05:43 AM   #5
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 472

Original Poster
Rep: Reputation: Disabled
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
 
Old 10-07-2016, 05:46 AM   #6
goumba
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
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
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.
 
Old 10-07-2016, 06:15 AM   #7
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,830
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
/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.
 
Old 10-07-2016, 01:48 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by grumpyskeptic View Post
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?
 
Old 10-13-2016, 12:31 PM   #9
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,830
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Quote:
Originally Posted by grumpyskeptic View Post
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).
 
Old 10-15-2016, 06:04 AM   #10
goumba
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
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
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.
 
Old 10-15-2016, 07:05 AM   #11
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
If you use getmail you obtain a format that is not easily recoverable.
Or at least I did.
 
Old 10-16-2016, 03:19 AM   #12
goumba
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
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by JeremyBoden View Post
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.
 
Old 10-16-2016, 04:26 AM   #13
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
So, once you have your archive with getmail, how do you read/forward/reply to the messages?
 
1 members found this post helpful.
Old 10-16-2016, 01:35 PM   #14
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Rep: Reputation: 103Reputation: 103
Quote:
Originally Posted by descendant_command View Post
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?
 
Old 10-16-2016, 01:59 PM   #15
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
Originally Posted by vincix View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Extracting the contents of a folder in a CPIO archive to another folder Refractor Linux - Software 4 07-10-2012 05:12 PM
Procmail archive emails Ammad Linux - Server 1 06-16-2009 04:13 PM
Can I use Courier (IMAP) to archive emails? neocookie Linux - Server 2 10-02-2007 07:32 AM
software to archive emails ? sunpascal Linux - Software 1 04-16-2006 05:58 PM
How to backup/archive evolution emails? subaruwrx Linux - Software 4 10-25-2004 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration