<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dw="https://www.dreamwidth.org">
  <id>tag:dreamwidth.org,2018-01-05:3329801</id>
  <title>göktuğ's blog</title>
  <subtitle>cadadr</subtitle>
  <author>
    <name>cadadr</name>
  </author>
  <link rel="alternate" type="text/html" href="https://cadadr.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://cadadr.dreamwidth.org/data/atom"/>
  <updated>2024-02-15T02:47:21Z</updated>
  <dw:journal username="cadadr" type="personal"/>
  <entry>
    <id>tag:dreamwidth.org,2018-01-05:3329801:828</id>
    <link rel="alternate" type="text/html" href="https://cadadr.dreamwidth.org/828.html"/>
    <link rel="self" type="text/xml" href="https://cadadr.dreamwidth.org/data/atom/?itemid=828"/>
    <title>My email setup with Emacs, Rmail, msmtp/mpop, mairix, and then some more</title>
    <published>2020-12-12T13:58:08Z</published>
    <updated>2024-02-15T02:47:21Z</updated>
    <category term="email"/>
    <category term="emacs"/>
    <category term="tutorial"/>
    <dw:mood>accomplished</dw:mood>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">&lt;h1&gt;Introduction&lt;/h1&gt;

&lt;p&gt;A lot of &amp;quot;my email setup&amp;quot; posts start with telling how the author deals with thousands or millions of messages with probably tens or hundreds of interactions each day.

&lt;p&gt;This blog post instead is about how I deal with a humane level of email messaging, with a local-first approach, using a smallish variety of software, which you can just set up and forget about.  

&lt;p&gt;Let me start with a list of software, then go on with describe the setup.

  &lt;ul&gt;
   &lt;li&gt;&lt;a href="https://gnu.org/s/emacs"&gt;GNU Emacs&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="https://www.gnu.org/software/emacs/manual/html_node/emacs/Rmail.html"&gt;
     Rmail&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="https://marlam.de/msmtp/"&gt;msmtp&lt;/a&gt; and 
     &lt;a href="https://marlam.de/mpop/"&gt;mpop&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="https://en.wikipedia.org/wiki/Procmail"&gt;procmail&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="http://www.rpcurnow.force9.co.uk/mairix/"&gt;mairix&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="https://www.passwordstore.org/"&gt;pass(1)&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="https://gnupg.org/"&gt;gnupg&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="https://www.python.org"&gt;Python 3&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="https://k9mail.app/"&gt;K-9 Mail&lt;/a&gt; app for Android&lt;/li&gt;
  &lt;/ul&gt;

&lt;p&gt;Of this list, the following can easily be factored out if you want: Python 3, mairix, pass, procmail, gnupg, and K-9 Mail.  Furthermore, it should actually be possible to replicate this whole setup with only ever using GNU Emacs and Rmail (which comes with Emacs itself), if your system has &lt;a href="https://en.wikipedia.org/wiki/Movemail"&gt;movemail&lt;/a&gt; handy, or if your Emacs includes it (which was common up until recently, but is a workflow deprecated by Emacs developers).  Then, you might ask, why do &lt;em&gt;you&lt;/em&gt; bother?  The answer is simple: if I use external programs to fetch and send mail, then I can use multiple email clients with the same setup. E.g., I sometimes use the &lt;a href="http://www.mutt.org/"&gt;mutt&lt;/a&gt; email client with this setup with no modifications or fragile repetitions.  I'll in fact talk a bit about how you can use mutt and another tool to just totally factor Emacs out of this setup while retaining a similar workflow.

&lt;p&gt;With that unrefined intro done, let's get to talking about what, why and how.

&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___1" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://cadadr.dreamwidth.org/828.html#cutid1"&gt;Read more...&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___1" aria-live="assertive"&gt;&lt;/div&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=cadadr&amp;ditemid=828" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
