<?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>email &#8211; Benjamin Caccia</title>
	<atom:link href="https://bcacciaaudio.com/tag/email/feed/" rel="self" type="application/rss+xml" />
	<link>https://bcacciaaudio.com</link>
	<description>Sound design, audio, and Linux tutorials</description>
	<lastBuildDate>Wed, 10 Oct 2018 13:45:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://bcacciaaudio.com/wp-content/uploads/2014/07/cropped-Music-audio-wave-2-icon1-1-32x32.png</url>
	<title>email &#8211; Benjamin Caccia</title>
	<link>https://bcacciaaudio.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Alpine Mail setup with Gmail</title>
		<link>https://bcacciaaudio.com/2018/10/09/alpine-mail-setup-with-gmail/</link>
		
		<dc:creator><![CDATA[Ben]]></dc:creator>
		<pubDate>Tue, 09 Oct 2018 14:13:17 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[linux]]></category>
		<guid isPermaLink="false">https://bcacciaaudio.com/?p=598</guid>

					<description><![CDATA[Why would you use a command line mail client when the GMail web client is [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="https://bcacciaaudio.com/wp-content/uploads/2018/10/AlpineMailClient.png" alt="Alpine Mail Main Screen" /></p>
<p>Why would you use a command line mail client when the GMail web client is accessible from anywhere and has a myriad of useful features?</p>
<p><span id="more-598"></span></p>
<ul>
<li>You have an older computer and the javascript heavy web client takes too long to load. </li>
<li>You work primarily in a CLI environment, use a terminal multiplexer, and would like to be able to read your email without spinning up a browser instance.</li>
</ul>
<p>For my particular use case, the first bullet point is the reason why I wanted to try setting up Alpine. Loading GMail on my older under powered laptop was taking far too long. Below is the process I used to configure everything.</p>
<h2>Downsides</h2>
<p>There are some convenient features that you&#8217;ll be missing from the web client such as:</p>
<ul>
<li>Access to and autocomplete of email addresses in your Google Contacts. (although there is discussion of an <a href="https://superuser.com/questions/55124/how-can-i-use-my-gmail-contacts-within-alpine-pine">inelegant work around</a>)</li>
<li>Rich text email reading/composition.</li>
</ul>
<h2>Installing</h2>
<p>I&#8217;m setting this up on Kubuntu 18.04 LTS. The first step is to install Alpine using the following command:</p>
<p><code>sudo apt install alpine</code></p>
<h2>Server setup</h2>
<h4>IMAP Setup</h4>
<p>Launch Alpine. Navigate to <strong>Main>Setup>collectionLists>Add</strong> and add in the following settings:</p>
<p><code>Nickname : Gmail (or whatever you would like to name the folder)</code><br />
<code>Server : imap.gmail.com/ssl/user=youruserid@gmail.com (ex: youremail@gmail.com)</code><br />
<code>Path :</code><br />
<code>View :</code></p>
<p>Press enter. When prompted, enter your password.</p>
<p>If you are using Gmail 2FA, your login password will not be accepted. You will need to create a specialized <a href="https://support.google.com/accounts/answer/185833?hl=en">Google App password</a> in the Gmail Privacy and Security settings and enter that in instead.</p>
<h4>SMTP Setup</h4>
<p>Navigate to <strong>Setup > Config</strong> and enter in the following information for SMTP Server:</p>
<p><code>smtp.gmail.com:587/tls/user=youruserid@gmail.com (ex: youremail@gmail.com)</code></p>
<h2>Folder setup</h2>
<p>Navigate to Setup > Config and check off the following items:</p>
<ul>
<li>Compensate for deficient IMAP servers</li>
<li>Combined Folder Display</li>
<li>Enable incoming folders collection</li>
<li>Enable incoming folders checking</li>
</ul>
<h2>Deleting mail</h2>
<p>To properly delete email in Alpine so that it shows up in the Trash folder on Gmail, do the following:</p>
<ol>
<li>Select the message and press <strong>Shift + S</strong> to mark it to be saved. </li>
<li>Press <strong>Ctrl + T</strong> to show the folder menu. </li>
<li>Select <strong>[Gmail]/Trash</strong> as the folder. </li>
<li>Confirm your choice and save. </li>
</ol>
<h2>Tips</h2>
<ul>
<li>By default, Alpine checks for new mail every 150 seconds. You can change this in the Config screen by changing the <strong>Mail Check Interval</strong> value. Press <strong>Ctrl + L</strong> to force updating/checking of a folder.</li>
</ul>
<h2>Reference pages</h2>
<ul>
<li>Initial server setup: <a href="https://www.cs.virginia.edu/~csadmin/wiki/index.php/Setting_up_Pine_%28Alpine%29_for_IMAP_Gmail">https://www.cs.virginia.edu/~csadmin/wiki/index.php/Setting_up_Pine_(Alpine)&#95;for&#95;IMAP_Gmail</a></li>
<li>Explanation of Gmail non standard folder behavior: <a href="https://superuser.com/questions/454263/deleting-gmail-messages-from-alpine">https://superuser.com/questions/454263/deleting-gmail-messages-from-alpine</a></li>
<li>Settings that should be enabled for folder views: <a href="https://accc.uic.edu/answer/how-do-i-use-pine-alpine-googleapps">https://accc.uic.edu/answer/how-do-i-use-pine-alpine-googleapps</a></li>
</ul>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
