<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>göktuğ&apos;s blog</title>
  <link>https://cadadr.dreamwidth.org/</link>
  <description>göktuğ&apos;s blog - Dreamwidth Studios</description>
  <lastBuildDate>Sat, 12 Dec 2020 13:58:08 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>cadadr</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/17008934/3329801</url>
    <title>göktuğ&apos;s blog</title>
    <link>https://cadadr.dreamwidth.org/</link>
    <width>74</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>https://cadadr.dreamwidth.org/828.html</guid>
  <pubDate>Sat, 12 Dec 2020 13:58:08 GMT</pubDate>
  <title>My email setup with Emacs, Rmail, msmtp/mpop, mairix, and then some more</title>
  <link>https://cadadr.dreamwidth.org/828.html</link>
  <description>&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=&quot;https://gnu.org/s/emacs&quot;&gt;GNU Emacs&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=&quot;https://www.gnu.org/software/emacs/manual/html_node/emacs/Rmail.html&quot;&gt;
     Rmail&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=&quot;https://marlam.de/msmtp/&quot;&gt;msmtp&lt;/a&gt; and 
     &lt;a href=&quot;https://marlam.de/mpop/&quot;&gt;mpop&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Procmail&quot;&gt;procmail&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=&quot;http://www.rpcurnow.force9.co.uk/mairix/&quot;&gt;mairix&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=&quot;https://www.passwordstore.org/&quot;&gt;pass(1)&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=&quot;https://gnupg.org/&quot;&gt;gnupg&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=&quot;https://www.python.org&quot;&gt;Python 3&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href=&quot;https://k9mail.app/&quot;&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=&quot;https://en.wikipedia.org/wiki/Movemail&quot;&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=&quot;http://www.mutt.org/&quot;&gt;mutt&lt;/a&gt; email client with this setup with no modifications or fragile repetitions.  I&apos;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&apos;s get to talking about what, why and how.

&lt;span class=&quot;cut-wrapper&quot;&gt;&lt;span style=&quot;display: none;&quot; id=&quot;span-cuttag___1&quot; class=&quot;cuttag&quot;&gt;&lt;/span&gt;&lt;b class=&quot;cut-open&quot;&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;cut-text&quot;&gt;&lt;a href=&quot;https://cadadr.dreamwidth.org/828.html#cutid1&quot;&gt;Read more...&lt;/a&gt;&lt;/b&gt;&lt;b class=&quot;cut-close&quot;&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style=&quot;display: none;&quot; id=&quot;div-cuttag___1&quot; aria-live=&quot;assertive&quot;&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=&quot;https://www.dreamwidth.org/tools/commentcount?user=cadadr&amp;ditemid=828&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://cadadr.dreamwidth.org/828.html</comments>
  <category>emacs</category>
  <category>tutorial</category>
  <category>email</category>
  <lj:mood>accomplished</lj:mood>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
</channel>
</rss>
