<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>backup email Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/backup-email/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 21 Jun 2018 20:42:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to Backup Emails using IMAP Grab on Linux</title>
		<link>https://www.osradar.com/how-to-backup-emails-using-imap-grab-on-linux/</link>
					<comments>https://www.osradar.com/how-to-backup-emails-using-imap-grab-on-linux/#comments</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Mon, 07 May 2018 13:53:42 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[backup email]]></category>
		<category><![CDATA[backup email linux]]></category>
		<category><![CDATA[how to backup email]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=2937</guid>

					<description><![CDATA[<p>Email is in our everyday life. It’s the ultimate system that changed the way of our communication for good. We now send emails for almost endless reasons. That’s why it’s also necessary to take backups of your email in case you face the need of an old email. Opening the web browser, log into your [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-backup-emails-using-imap-grab-on-linux/">How to Backup Emails using IMAP Grab on Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Email is in our everyday life. It’s the ultimate system that changed the way of our communication for good. We now send emails for almost endless reasons. That’s why it’s also necessary to take backups of your email in case you face the need of an old email. Opening the web browser, log into your email account surely takes time. You can use Thunderbird, but the profile is prone to get lost if you need to setup your OS. <a href="https://www.osradar.com/how-to-backup-thunderbird-profile-linux/">Learn how to backup Thunderbird profile</a>.</p>
<p>For those on Linux, there’s a really awesome way to back up your complete email without following all those complicated GUI. Trust me, in this scenario, the CLI is hundred times friendlier than the GUI tools.</p>
<h2>IMAP Grab</h2>
<p>We’ll be using a tool named IMAP Grab. It’s available on any version of Linux distribution, but it doesn’t come up pre-installed. We’ll be downloading it from the GitHub.</p>
<ul>
<li>
<h3>Prerequisites</h3>
</li>
</ul>
<p>We’ll be needing some apps and packages beforehand to run the tool perfectly. At first, check out your installed Python version.</p>
<pre>python --version</pre>
<p><img loading="lazy" class="size-full wp-image-2938 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/05/python-version-check.png" alt="" width="1182" height="153" srcset="https://www.osradar.com/wp-content/uploads/2018/05/python-version-check.png 1182w, https://www.osradar.com/wp-content/uploads/2018/05/python-version-check-300x39.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/python-version-check-768x99.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/python-version-check-1024x133.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/python-version-check-696x90.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/python-version-check-1068x138.png 1068w" sizes="(max-width: 1182px) 100vw, 1182px" /></p>
<p>If the result returns Python v2.3.3 or higher, you’re good to go. Otherwise, update your software.</p>
<p>Now, we’ll be needing another dependency called “getmail”. Let’s install it right away!</p>
<ul>
<li>Ubuntu</li>
</ul>
<pre>sudo apt install getmail</pre>
<p><img loading="lazy" class="size-full wp-image-2939 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/05/install-dependency-getmail.png" alt="" width="1183" height="496" srcset="https://www.osradar.com/wp-content/uploads/2018/05/install-dependency-getmail.png 1183w, https://www.osradar.com/wp-content/uploads/2018/05/install-dependency-getmail-300x126.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/install-dependency-getmail-768x322.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/install-dependency-getmail-1024x429.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/install-dependency-getmail-696x292.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/install-dependency-getmail-1068x448.png 1068w, https://www.osradar.com/wp-content/uploads/2018/05/install-dependency-getmail-1002x420.png 1002w" sizes="(max-width: 1183px) 100vw, 1183px" /></p>
<ul>
<li>OpenSUSE</li>
</ul>
<pre>sudo zypper install getmail</pre>
<ul>
<li>Fedora</li>
</ul>
<pre>sudo dnf install getmail</pre>
<ul>
<li>Arch Linux</li>
</ul>
<pre>sudo pacman -S getmail</pre>
<ul>
<li>
<h3>Downloading IMAP Grab</h3>
</li>
</ul>
<p>This part requires installing Git client on your system. <a href="https://www.osradar.com/how-to-install-git/">Learn how to install Git on Linux</a>.</p>
<p>Run these commands in the terminal –</p>
<pre>git clone https://github.com/ralbear/IMAPbackup.git
cd IMAPbackup</pre>
<ul>
<li>
<h3>Using IMAP Grab</h3>
</li>
</ul>
<p>Before we start using IMAP Grab for backing up our email, we have to configure the system first. Run this command –</p>
<pre>python imapgrab.py imapgrab.py -l -s imap.test.com -u testuser@test.com -p emailpassword</pre>
<p>Replace with your own email &amp; password. Change &#8220;imap.test.com&#8221; with the IMAP server address your email service uses. For example, Gmail uses &#8220;imap.gmail.com&#8221; Now, the result will show you all the available mailboxes to download.</p>
<p><img loading="lazy" class="size-full wp-image-2941 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/05/email-list-imap-grab.png" alt="" width="847" height="419" srcset="https://www.osradar.com/wp-content/uploads/2018/05/email-list-imap-grab.png 847w, https://www.osradar.com/wp-content/uploads/2018/05/email-list-imap-grab-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/email-list-imap-grab-768x380.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/email-list-imap-grab-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/05/email-list-imap-grab-696x344.png 696w" sizes="(max-width: 847px) 100vw, 847px" /></p>
<p>Now, run these commands for backing up your entire email. Note that we’ll be creating a dedicated folder for the downloading.</p>
<pre>mkdir ~/email-backups
python imapgrab.py -d -v -M -f ~/email-backups -s imap.test.com -u test@test.com -p emailpassword -m "_ALL_"</pre>
<p>Done! Your email is backed up!</p>
<p>If you want to turn the entire backup into one single file, run this command –</p>
<pre>tar -jcvf email-backup.tar.bz2 email-backups</pre>
<p>If you didn’t know, you can easily encrypt the compressed file. <a href="https://www.osradar.com/how-to-encrypt-files-on-linux/">Learn how to encrypt files on Linux</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-backup-emails-using-imap-grab-on-linux/">How to Backup Emails using IMAP Grab on Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-backup-emails-using-imap-grab-on-linux/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
