aboutsummaryrefslogtreecommitdiff
path: root/static/Neomutt.html
diff options
context:
space:
mode:
authorPhilip Wittamore <philip@wittamore.com>2026-07-12 11:08:50 +0200
committerPhilip Wittamore <philip@wittamore.com>2026-07-12 11:08:50 +0200
commit420ceb49b53a8fa9d8ba8443e42e50cd7bd7cea9 (patch)
tree3009f0564d75e3f7d1ca38507e7ebb92deaded07 /static/Neomutt.html
update
Diffstat (limited to 'static/Neomutt.html')
-rwxr-xr-xstatic/Neomutt.html95
1 files changed, 95 insertions, 0 deletions
diff --git a/static/Neomutt.html b/static/Neomutt.html
new file mode 100755
index 0000000..c5138b3
--- /dev/null
+++ b/static/Neomutt.html
@@ -0,0 +1,95 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" >
+ <link rel="stylesheet" href="/style.css" />
+ <link rel="icon" type="image/x-icon" href="/favicon.ico">
+ <title>Bloggings</title>
+ </head>
+ <body>
+ <header>
+ <h1>Bloggings</h1>
+ <a href="/static/index.php">Back</a>
+ </header>
+ <main>
+ <article>
+<h2>Neomutt</h2>
+<h5>2021-03-20</h5>
+<p>Neomutt is an updated version of Mutt, a text based email client.</p>
+<p><a href="https://neomutt.org/" target="_blank">Site de Neomutt</a></p>
+<img src="/images/blog/neomutt-screenshot.png">
+
+<h4>Configuration files</h4>
+<ul>
+<li class="articlelink"><a href="/txt/neomuttrc.txt">neomuttrc</a></li>
+<li class="articlelink"><a href="/txt/account_philip.txt">account</a></li>
+<li class="articlelink"><a href="/txt/venelles.txt">theme</a></li>
+<li class="articlelink"><a href="/txt/mailcap.txt">mailcap</a></li>
+</ul>
+
+<ul>
+<li class="articlelink"><a href="/txt/display_filter.txt">Display filter</a></li>
+<li class="articlelink"><a href="/txt/get-mailboxes.txt">List mailboxes</a></li>
+<li class="articlelink"><a href="/txt/translate.txt">Translate emails</a></li>
+<li class="articlelink"><a href="/txt/mutt-trim.txt">Smarten up emails before replying</a></li>
+<li class="articlelink"><a href="/txt/print_unicode.txt">Printing emails in unicode</a></li>
+</ul>
+
+<h4>External applications</h4>
+
+<ul>
+<li class="articlelink"><a href="https://github.com/baruchel/txt2pdf">txt2pdf</a> Convert text to PDF with Unicode</li>
+<li class="articlelink"><a href="https://isync.sourceforge.io/">mbsync</a> I use mbsync to download emails</li>
+<li class="articlelink"><a href="https://marlam.de/msmtp/">msmtp</a> I use msmtp to send emails</li>
+<li class="articlelink"><a href="https://sr.ht/~bptato/chawan/">Chawan</a> I use Chawan in mailcap to convert html emails</li>
+<li class="articlelink"><a href="https://gnupg.org/">GPG</a> signature and encryption</li>
+<li class="articlelink"><a href="https://www.geeksforgeeks.org/deepl-command-line-language-translator-tool-for-linux/">DeepL-cli</a> for translating</li>
+<li class="articlelink"><a href="https://github.com/soimort/translate-shell">Translate Shell</a> for translating</li>
+<li class="articlelink"><a href="https://github.com/firecat53/urlscan">Urlscan</a> manage links in emails</li>
+<li class="articlelink"><a href="https://notmuchmail.org/">Notmuch</a> Notmuch email system for searching (I don't use it)</li>
+<li class="articlelink"><a href="https://github.com/lefcha/imapfilter">Imapfilter</a> tool for filtering mail</li>
+</ul>
+
+<h4>Personal Notes</h4>
+
+<p>To enable verification of the GPG signature from the keyservers when
+reading an e-mail, make sure that the ~/.gnupg/gpg.conf file contains these lines:</p>
+<code>keyserver hkps://hkps.pool.sks-keyservers.net
+keyserver-options auto-key-retrieve
+</code>
+
+<p>I use msmtp to send e-mails from my Arch linux laptop. In msmtprc,
+</p>
+<code>tls_trust_file /etc/ssl/certs/ca-certificates.crt</code>
+<p>doesn't work for me, instead I use</p>
+<code>tls_fingerprint</code></pre>
+<p>To obtain the fingerprint :</p>
+<code>msmtp --serverinfo --tls --tls-certcheck=off --host=host.domain.tld
+ --port=587 | egrep -o "([0-9A-Za-z]{2}:){31}[0-9A-Za-z]{2}"
+</code>
+<p>I have a cron job that updates the fingerprint regularily.</p>
+<code>#!/bin/bash
+# update tls_fingerprint entry in ~/.msmtprc
+
+cd $HOME
+
+# get the server fingerprint
+KEY=$(msmtp --serverinfo --tls --tls-certcheck=off --host=mail.domain.tld --port=587 | grep -E -o "([0-9A-Za-z]{2}:){31}[0-9A-Za-z]{2}")
+
+# replace tls_fingerprint line in .msmtprc
+sed -i "s/^tls_fingerprint.*/tls_fingerprint $KEY/g" .msmtprc
+</code>
+
+<p>
+I use Chawan (cha) in my mailcap to convert html mail to text, otherwise xdg-desktop for the default applications
+(see mailcap above)
+</p>
+ <p>&nbsp;</p>
+ </article>
+ </main>
+ <footer>
+ <p>ยง</p>
+ </footer>
+ </body>
+</html>