2020-01-11 22:04:45 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
|
|
|
<head>
|
2020-05-26 08:40:15 +02:00
|
|
|
<!-- 2020-05-26 mar. 08:40 -->
|
2020-01-11 22:04:45 +01:00
|
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
|
|
<title>Mail Configuration</title>
|
|
|
|
<meta name="generator" content="Org mode" />
|
|
|
|
<meta name="author" content="Dehaeze Thomas" />
|
2020-01-11 22:22:46 +01:00
|
|
|
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
|
|
|
|
<script type="text/javascript" src="./js/jquery.min.js"></script>
|
|
|
|
<script type="text/javascript" src="./js/bootstrap.min.js"></script>
|
|
|
|
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
|
|
|
|
<script type="text/javascript" src="./js/readtheorg.js"></script>
|
2020-01-11 22:04:45 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="org-div-home-and-up">
|
|
|
|
<a accesskey="h" href="./index.html"> UP </a>
|
|
|
|
|
|
|
|
|
<a accesskey="H" href="./index.html"> HOME </a>
|
|
|
|
</div><div id="content">
|
|
|
|
<h1 class="title">Mail Configuration</h1>
|
|
|
|
<div id="table-of-contents">
|
|
|
|
<h2>Table of Contents</h2>
|
|
|
|
<div id="text-table-of-contents">
|
|
|
|
<ul>
|
|
|
|
<li><a href="#org2ca5a33">Synchronize Mailboxes - Mbsync</a>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#org3afb8bb">Global Defaults</a></li>
|
2020-05-26 08:40:15 +02:00
|
|
|
<li><a href="#orgbda4030">Gmail Account</a></li>
|
|
|
|
<li><a href="#org57deb6d">ESRF Account</a></li>
|
2020-01-28 21:32:38 +01:00
|
|
|
<li><a href="#org759800a">ULG Student Account</a></li>
|
|
|
|
<li><a href="#orgb0ed5cf">ULG Personal Account</a></li>
|
2020-01-11 22:04:45 +01:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#org672ae70">Send Mails - Msmtp</a>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#org9620340">Defaults</a></li>
|
2020-05-26 08:40:15 +02:00
|
|
|
<li><a href="#org2778afa">Gmail Account</a></li>
|
|
|
|
<li><a href="#orgcef72ee">ESRF Account</a></li>
|
2020-01-12 17:28:30 +01:00
|
|
|
<li><a href="#org0bb0cef">ULG Account</a></li>
|
2020-01-28 21:32:38 +01:00
|
|
|
<li><a href="#org06e99f4">ULIEGE Account</a></li>
|
2020-01-11 22:04:45 +01:00
|
|
|
<li><a href="#org7b20d0c">Default Account</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2020-03-22 23:04:07 +01:00
|
|
|
<li><a href="#org8e85c4d">Mail Indexer - Mu</a></li>
|
2020-01-11 22:04:45 +01:00
|
|
|
<li><a href="#orgc7467fd">Mail Client - NeoMutt</a>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#org8133ca9">Bindings</a>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#org12a205c">Unding all the key bindings</a></li>
|
|
|
|
<li><a href="#org33de0ba">Quit Neomutt</a></li>
|
2020-05-26 08:40:15 +02:00
|
|
|
<li><a href="#org6d1494c">Generic</a></li>
|
2020-01-11 22:04:45 +01:00
|
|
|
<li><a href="#org39630e2">Index and Pager</a></li>
|
|
|
|
<li><a href="#orgc73598b">Limit</a></li>
|
|
|
|
<li><a href="#orge5e6fdf">Search</a></li>
|
2020-05-26 08:40:15 +02:00
|
|
|
<li><a href="#org2a4b061">Attachments</a></li>
|
2020-01-12 17:28:30 +01:00
|
|
|
<li><a href="#org6b5b778">Compose</a>
|
2020-01-11 22:04:45 +01:00
|
|
|
<ul>
|
|
|
|
<li><a href="#org7848e3c">Attach with Ranger Script</a></li>
|
2020-03-22 23:04:07 +01:00
|
|
|
<li><a href="#org147e13d">Send HTML mails using Markdown</a></li>
|
2020-01-11 22:04:45 +01:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#orga459fea">Browser</a></li>
|
2020-05-26 08:40:15 +02:00
|
|
|
<li><a href="#orgf5e04db">Generic</a></li>
|
2020-01-11 22:04:45 +01:00
|
|
|
<li><a href="#org81e57df">Copy and move mails</a></li>
|
2020-05-26 08:40:15 +02:00
|
|
|
<li><a href="#org4e69538">Sidebar</a></li>
|
2020-01-11 22:04:45 +01:00
|
|
|
<li><a href="#orgcbcfabe">Reload Configuration</a></li>
|
|
|
|
<li><a href="#org62625e7">urlview - Open URL in emails</a></li>
|
|
|
|
<li><a href="#org2c7bcf7">Searching using Mu</a></li>
|
|
|
|
<li><a href="#org0979e59">Link to Orgmode</a>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#orgb30bf6d">Link mail to orgmode - Script</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#org89ca168">Colors</a>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#org4a8185b">Basic colors</a></li>
|
|
|
|
<li><a href="#org376f35d">Index</a></li>
|
2020-05-26 08:40:15 +02:00
|
|
|
<li><a href="#org454024d">Sidebar</a></li>
|
2020-01-11 22:04:45 +01:00
|
|
|
<li><a href="#orge423775">Message headers</a></li>
|
2020-05-26 08:40:15 +02:00
|
|
|
<li><a href="#orgf379bbc">Attachments</a></li>
|
2020-01-11 22:04:45 +01:00
|
|
|
<li><a href="#orgb4d93d5">Body</a></li>
|
|
|
|
<li><a href="#org07b1c9d">PGP</a></li>
|
|
|
|
<li><a href="#org4f061d9">Urls</a></li>
|
|
|
|
<li><a href="#org8b521b7">Emails</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#org4840585">Contacts with Mu</a></li>
|
|
|
|
<li><a href="#orgdb26e44">Paths</a></li>
|
|
|
|
<li><a href="#orgd324abe">Print</a></li>
|
|
|
|
<li><a href="#orgf6c14ac">Accounts</a>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#orgbd57e22">Gmail</a>
|
|
|
|
<ul>
|
2020-05-26 08:40:15 +02:00
|
|
|
<li><a href="#org647fde0">Configuration</a></li>
|
|
|
|
<li><a href="#orge0c1cfa">Signature</a></li>
|
2020-01-11 22:04:45 +01:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#orgc13752f">ESRF</a>
|
|
|
|
<ul>
|
2020-05-26 08:40:15 +02:00
|
|
|
<li><a href="#org07bf348">Configuration</a></li>
|
|
|
|
<li><a href="#orgf1f121b">Signature</a></li>
|
2020-01-11 22:04:45 +01:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#orgd5fd652">ULG</a>
|
|
|
|
<ul>
|
2020-05-26 08:40:15 +02:00
|
|
|
<li><a href="#orgc347679">Configuration</a></li>
|
|
|
|
<li><a href="#org8b11a57">Signature</a></li>
|
2020-01-28 21:32:38 +01:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#orgc6c55ac">ULIEGE</a>
|
|
|
|
<ul>
|
2020-05-26 08:40:15 +02:00
|
|
|
<li><a href="#org6c3bd8b">Configuration</a></li>
|
|
|
|
<li><a href="#org03da1a3">Signature</a></li>
|
2020-01-11 22:04:45 +01:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#orgc27a179">Basic Options</a></li>
|
|
|
|
<li><a href="#org27d7b40">View Options</a>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#org0c24ff2">Status Bar</a></li>
|
|
|
|
<li><a href="#org8b55982">Index View Options</a></li>
|
|
|
|
<li><a href="#orgb38054e">Pager View Options</a></li>
|
|
|
|
<li><a href="#org70d58be">Compose View Options</a></li>
|
|
|
|
<li><a href="#orge1d1147">Headers</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2020-05-26 08:40:15 +02:00
|
|
|
<li><a href="#orge686f6a">Sidebar</a>
|
2020-01-11 22:04:45 +01:00
|
|
|
<ul>
|
|
|
|
<li><a href="#org953ed4c">General Config</a></li>
|
|
|
|
<li><a href="#org61e4389">Mailboxes to show in the sidebar.</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2020-05-26 08:40:15 +02:00
|
|
|
<li><a href="#org337438a">Attachments</a>
|
2020-01-11 22:04:45 +01:00
|
|
|
<ul>
|
|
|
|
<li><a href="#org39c5999">Attachment View Options</a></li>
|
|
|
|
<li><a href="#org7a51e1d">Open Attachment</a></li>
|
|
|
|
<li><a href="#org2107001">Attach multiple files at once</a></li>
|
|
|
|
<li><a href="#org5faf10e">Forgotten Attachment</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#orga483a0d">Scripts and other config files</a>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#orge567f97">Sync Mail script</a></li>
|
|
|
|
<li><a href="#org7f01f4d">Openfile Scripts</a></li>
|
|
|
|
<li><a href="#orgcc8c95f">urlview Config</a></li>
|
|
|
|
<li><a href="#org55699b6">Mailcap</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org2ca5a33" class="outline-2">
|
|
|
|
<h2 id="org2ca5a33">Synchronize Mailboxes - Mbsync</h2>
|
|
|
|
<div class="outline-text-2" id="text-org2ca5a33">
|
|
|
|
<p>
|
|
|
|
<a href="http://isync.sourceforge.net/">http://isync.sourceforge.net/</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org3afb8bb" class="outline-3">
|
|
|
|
<h3 id="org3afb8bb">Global Defaults</h3>
|
|
|
|
<div class="outline-text-3" id="text-org3afb8bb">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf"># Automatically create missing mailboxes, both locally and on the server
|
2020-01-11 22:04:45 +01:00
|
|
|
Create Both
|
2020-05-26 08:40:15 +02:00
|
|
|
# Save the synchronization state files in the relevant directory
|
2020-01-11 22:04:45 +01:00
|
|
|
SyncState *
|
2020-05-26 08:40:15 +02:00
|
|
|
# Permanently remove all messages [on the Master/Slave] marked for deletion.
|
2020-01-11 22:04:45 +01:00
|
|
|
Expunge Both
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-orgbda4030" class="outline-3">
|
|
|
|
<h3 id="orgbda4030">Gmail Account</h3>
|
|
|
|
<div class="outline-text-3" id="text-orgbda4030">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">IMAPAccount gmail
|
|
|
|
Host imap.gmail.com
|
|
|
|
User dehaeze.thomas@gmail.com
|
2020-05-26 08:40:15 +02:00
|
|
|
PassCmd "pass email/dehaeze.thomas@gmail.com"
|
2020-01-11 22:04:45 +01:00
|
|
|
SSLType IMAPS
|
|
|
|
AuthMechs LOGIN
|
|
|
|
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">IMAPStore gmail-remote
|
|
|
|
Account gmail
|
|
|
|
|
|
|
|
MaildirStore gmail-local
|
|
|
|
Path ~/.mail/gmail/
|
|
|
|
Inbox ~/.mail/gmail/Inbox
|
|
|
|
|
|
|
|
Channel gmail-Home
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :gmail-remote:"INBOX"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :gmail-local:Inbox
|
|
|
|
|
|
|
|
Channel gmail-Drafts
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :gmail-remote:"[Gmail]/Drafts"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :gmail-local:Drafts
|
|
|
|
|
|
|
|
Channel gmail-Sent
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :gmail-remote:"[Gmail]/Sent Mail"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :gmail-local:Sent
|
|
|
|
|
|
|
|
Channel gmail-Trash
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :gmail-remote:"[Gmail]/Trash"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :gmail-local:Trash
|
|
|
|
|
|
|
|
Channel gmail-All
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :gmail-remote:"[Gmail]/All Mail"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :gmail-local:Archive
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf"># Catch-all for everything else: note that the `Patterns` have to exclude both
|
|
|
|
# the remote and local names for all the folders we want to exclude (except
|
|
|
|
# "INBOX", which is special-cased, it would seem).
|
2020-01-11 22:04:45 +01:00
|
|
|
Channel gmail
|
|
|
|
Master :gmail-remote:
|
|
|
|
Slave :gmail-local:
|
2020-05-26 08:40:15 +02:00
|
|
|
# Exclude everything under the internal [Gmail] folder, except the interesting folders
|
2020-01-11 22:04:45 +01:00
|
|
|
Patterns *
|
|
|
|
Patterns !INBOX
|
|
|
|
Patterns ![Gmail]*
|
|
|
|
Patterns !Archive
|
|
|
|
Patterns !Drafts
|
|
|
|
Patterns !Sent Mail
|
|
|
|
Patterns !Trash
|
|
|
|
Patterns !Spam
|
|
|
|
Patterns !Starred
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf"># For doing a quick sync of just the INBOX with `mbsync gmail-download`.
|
2020-01-11 22:04:45 +01:00
|
|
|
Channel gmail-download
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :gmail-remote:"INBOX"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :gmail-local:Inbox
|
|
|
|
Create Slave
|
|
|
|
Expunge Slave
|
|
|
|
Sync Pull
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-org57deb6d" class="outline-3">
|
|
|
|
<h3 id="org57deb6d">ESRF Account</h3>
|
|
|
|
<div class="outline-text-3" id="text-org57deb6d">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">IMAPAccount esrf
|
|
|
|
Host imaps.esrf.fr
|
|
|
|
User dehaeze
|
2020-05-26 08:40:15 +02:00
|
|
|
PassCmd "pass email/thomas.dehaeze@esrf.fr"
|
2020-01-11 22:04:45 +01:00
|
|
|
SSLType IMAPS
|
|
|
|
AuthMechs LOGIN
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">IMAPStore esrf-remote
|
|
|
|
Account esrf
|
|
|
|
|
|
|
|
MaildirStore esrf-local
|
|
|
|
Path ~/.mail/esrf/
|
|
|
|
Inbox ~/.mail/esrf/Inbox
|
|
|
|
|
|
|
|
Channel esrf-Home
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :esrf-remote:"Inbox"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :esrf-local:Inbox
|
|
|
|
|
|
|
|
Channel esrf-Drafts
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :esrf-remote:"Drafts"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :esrf-local:Drafts
|
|
|
|
|
|
|
|
Channel esrf-Archive
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :esrf-remote:"Archive"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :esrf-local:Archive
|
|
|
|
|
|
|
|
Channel esrf-Sent
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :esrf-remote:"Sent"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :esrf-local:Sent
|
|
|
|
|
|
|
|
Channel esrf-Trash
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :esrf-remote:"Trash"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :esrf-local:Trash
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">Channel esrf
|
|
|
|
Master :esrf-remote:
|
|
|
|
Slave :esrf-local:
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
For doing a quick sync of just the INBOX with `mbsync esrf-download`.
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">Channel esrf-download
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :esrf-remote:"INBOX"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :esrf-local:Inbox
|
|
|
|
Create Slave
|
|
|
|
Expunge Slave
|
|
|
|
Sync Pull
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-01-28 21:32:38 +01:00
|
|
|
<div id="outline-container-org759800a" class="outline-3">
|
|
|
|
<h3 id="org759800a">ULG Student Account</h3>
|
|
|
|
<div class="outline-text-3" id="text-org759800a">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">IMAPAccount ulg
|
|
|
|
Host mail.ulg.ac.be
|
|
|
|
User thomas.dehaeze@doct.uliege.be
|
2020-05-26 08:40:15 +02:00
|
|
|
PassCmd "pass email/thomas.dehaeze@doct.uliege.be"
|
2020-01-11 22:04:45 +01:00
|
|
|
SSLType IMAPS
|
|
|
|
AuthMechs LOGIN
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">IMAPStore ulg-remote
|
|
|
|
Account ulg
|
|
|
|
|
|
|
|
MaildirStore ulg-local
|
|
|
|
Path ~/.mail/ulg/
|
|
|
|
Inbox ~/.mail/ulg/Inbox
|
|
|
|
|
|
|
|
Channel ulg-Home
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :ulg-remote:"Inbox"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :ulg-local:Inbox
|
|
|
|
|
|
|
|
Channel ulg-Drafts
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :ulg-remote:"Drafts"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :ulg-local:Drafts
|
|
|
|
|
|
|
|
Channel ulg-Archive
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :ulg-remote:"Archive"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :ulg-local:Archive
|
|
|
|
|
|
|
|
Channel ulg-Sent
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :ulg-remote:"Sent"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :ulg-local:Sent
|
|
|
|
|
|
|
|
Channel ulg-Trash
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :ulg-remote:"Trash"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :ulg-local:Trash
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">Channel ulg
|
|
|
|
Master :ulg-remote:
|
|
|
|
Slave :ulg-local:
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
For doing a quick sync of just the INBOX with `mbsync ulg-download`.
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">Channel ulg-download
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :ulg-remote:"Inbox"
|
2020-01-11 22:04:45 +01:00
|
|
|
Slave :ulg-local:Inbox
|
|
|
|
Create Slave
|
|
|
|
Expunge Slave
|
|
|
|
Sync Pull
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-01-28 21:32:38 +01:00
|
|
|
|
|
|
|
<div id="outline-container-orgb0ed5cf" class="outline-3">
|
|
|
|
<h3 id="orgb0ed5cf">ULG Personal Account</h3>
|
|
|
|
<div class="outline-text-3" id="text-orgb0ed5cf">
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">IMAPAccount uliege
|
|
|
|
Host mail.ulg.ac.be
|
|
|
|
User tdehaeze@uliege.be
|
2020-05-26 08:40:15 +02:00
|
|
|
PassCmd "pass email/tdehaeze@uliege.be"
|
2020-01-28 21:32:38 +01:00
|
|
|
SSLType IMAPS
|
|
|
|
AuthMechs LOGIN
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">IMAPStore uliege-remote
|
|
|
|
Account uliege
|
|
|
|
|
|
|
|
MaildirStore uliege-local
|
|
|
|
Path ~/.mail/uliege/
|
|
|
|
Inbox ~/.mail/uliege/Inbox
|
|
|
|
|
|
|
|
Channel uliege-Home
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :uliege-remote:"Inbox"
|
2020-01-28 21:32:38 +01:00
|
|
|
Slave :uliege-local:Inbox
|
|
|
|
|
|
|
|
Channel uliege-Drafts
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :uliege-remote:"Drafts"
|
2020-01-28 21:32:38 +01:00
|
|
|
Slave :uliege-local:Drafts
|
|
|
|
|
|
|
|
Channel uliege-Archive
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :uliege-remote:"Archive"
|
2020-01-28 21:32:38 +01:00
|
|
|
Slave :uliege-local:Archive
|
|
|
|
|
|
|
|
Channel uliege-Sent
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :uliege-remote:"Sent"
|
2020-01-28 21:32:38 +01:00
|
|
|
Slave :uliege-local:Sent
|
|
|
|
|
|
|
|
Channel uliege-Trash
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :uliege-remote:"Trash"
|
2020-01-28 21:32:38 +01:00
|
|
|
Slave :uliege-local:Trash
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">Channel uliege
|
|
|
|
Master :uliege-remote:
|
|
|
|
Slave :uliege-local:
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
For doing a quick sync of just the INBOX with `mbsync uliege-download`.
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">Channel uliege-download
|
2020-05-26 08:40:15 +02:00
|
|
|
Master :uliege-remote:"Inbox"
|
2020-01-28 21:32:38 +01:00
|
|
|
Slave :uliege-local:Inbox
|
|
|
|
Create Slave
|
|
|
|
Expunge Slave
|
|
|
|
Sync Pull
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-01-11 22:04:45 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org672ae70" class="outline-2">
|
|
|
|
<h2 id="org672ae70">Send Mails - Msmtp</h2>
|
|
|
|
<div class="outline-text-2" id="text-org672ae70">
|
|
|
|
<p>
|
|
|
|
<a href="https://marlam.de/msmtp/">https://marlam.de/msmtp/</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org9620340" class="outline-3">
|
|
|
|
<h3 id="org9620340">Defaults</h3>
|
|
|
|
<div class="outline-text-3" id="text-org9620340">
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">defaults
|
|
|
|
auth on
|
|
|
|
tls on
|
|
|
|
tls_certcheck off
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-org2778afa" class="outline-3">
|
|
|
|
<h3 id="org2778afa">Gmail Account</h3>
|
|
|
|
<div class="outline-text-3" id="text-org2778afa">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-01-28 21:32:38 +01:00
|
|
|
<pre class="src src-conf">account gmail
|
2020-01-11 22:04:45 +01:00
|
|
|
host smtp.gmail.com
|
2020-05-26 08:40:15 +02:00
|
|
|
port 587
|
2020-01-11 22:04:45 +01:00
|
|
|
protocol smtp
|
|
|
|
from dehaeze.thomas@gmail.com
|
|
|
|
user dehaeze.thomas@gmail.com
|
2020-05-26 08:40:15 +02:00
|
|
|
passwordeval "pass email/dehaeze.thomas@gmail.com"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-orgcef72ee" class="outline-3">
|
|
|
|
<h3 id="orgcef72ee">ESRF Account</h3>
|
|
|
|
<div class="outline-text-3" id="text-orgcef72ee">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-01-28 21:32:38 +01:00
|
|
|
<pre class="src src-conf">account esrf
|
2020-01-11 22:04:45 +01:00
|
|
|
host smtps.esrf.fr
|
2020-05-26 08:40:15 +02:00
|
|
|
port 465
|
2020-01-11 22:04:45 +01:00
|
|
|
protocol smtp
|
|
|
|
from thomas.dehaeze@esrf.fr
|
|
|
|
user dehaeze
|
|
|
|
tls_starttls off
|
2020-05-26 08:40:15 +02:00
|
|
|
passwordeval "pass email/thomas.dehaeze@esrf.fr"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-01-12 17:28:30 +01:00
|
|
|
<div id="outline-container-org0bb0cef" class="outline-3">
|
|
|
|
<h3 id="org0bb0cef">ULG Account</h3>
|
|
|
|
<div class="outline-text-3" id="text-org0bb0cef">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-01-28 21:32:38 +01:00
|
|
|
<pre class="src src-conf">account ulg
|
2020-01-11 22:04:45 +01:00
|
|
|
host smtp.ulg.ac.be
|
2020-05-26 08:40:15 +02:00
|
|
|
port 587
|
2020-01-11 22:04:45 +01:00
|
|
|
protocol smtp
|
|
|
|
from thomas.dehaeze@doct.uliege.be
|
|
|
|
user s177313
|
|
|
|
tls_starttls on
|
2020-05-26 08:40:15 +02:00
|
|
|
passwordeval "pass email/thomas.dehaeze@doct.uliege.be"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-01-28 21:32:38 +01:00
|
|
|
<div id="outline-container-org06e99f4" class="outline-3">
|
|
|
|
<h3 id="org06e99f4">ULIEGE Account</h3>
|
|
|
|
<div class="outline-text-3" id="text-org06e99f4">
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">account uliege
|
|
|
|
host smtp.ulg.ac.be
|
2020-05-26 08:40:15 +02:00
|
|
|
port 587
|
2020-01-28 21:32:38 +01:00
|
|
|
protocol smtp
|
|
|
|
from tdehaeze@uliege.be
|
|
|
|
user u231244
|
|
|
|
tls_starttls on
|
2020-05-26 08:40:15 +02:00
|
|
|
passwordeval "pass email/tdehaeze@uliege.be"
|
2020-01-28 21:32:38 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-01-11 22:04:45 +01:00
|
|
|
<div id="outline-container-org7b20d0c" class="outline-3">
|
|
|
|
<h3 id="org7b20d0c">Default Account</h3>
|
|
|
|
<div class="outline-text-3" id="text-org7b20d0c">
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">account default : gmail
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org8e85c4d" class="outline-2">
|
2020-03-22 23:04:07 +01:00
|
|
|
<h2 id="org8e85c4d">Mail Indexer - Mu</h2>
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="outline-text-2" id="text-org8e85c4d">
|
|
|
|
<p>
|
2020-03-22 23:04:07 +01:00
|
|
|
<code>Mu</code> (<a href="https://github.com/djcb/mu">github</a>) it used as a “maildir indexer/searcher”.
|
|
|
|
Useful commands are described in the <a href="http://www.djcbsoftware.nl/code/mu/cheatsheet.html">Cheat-sheet</a>.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
For instance, to find mails with <code>pdf</code> attachments:
|
2020-01-11 22:04:45 +01:00
|
|
|
</p>
|
2020-03-22 23:04:07 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-bash">mu find 'mime:application/pdf'
|
2020-03-22 23:04:07 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
2020-01-11 22:04:45 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgc7467fd" class="outline-2">
|
|
|
|
<h2 id="orgc7467fd">Mail Client - NeoMutt</h2>
|
|
|
|
<div class="outline-text-2" id="text-orgc7467fd">
|
|
|
|
<p>
|
|
|
|
<a href="https://neomutt.org/">https://neomutt.org/</a>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Documentation:
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-bash">man neomutt
|
|
|
|
man neomuttrc
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org8133ca9" class="outline-3">
|
|
|
|
<h3 id="org8133ca9">Bindings</h3>
|
|
|
|
<div class="outline-text-3" id="text-org8133ca9">
|
|
|
|
</div>
|
|
|
|
<div id="outline-container-org12a205c" class="outline-4">
|
|
|
|
<h4 id="org12a205c">Unding all the key bindings</h4>
|
|
|
|
<div class="outline-text-4" id="text-org12a205c">
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bind generic,pager,editor,index a noop
|
|
|
|
bind generic,pager,editor,index b noop
|
|
|
|
bind generic,pager,editor,index c noop
|
|
|
|
bind generic,pager,editor,index d noop
|
|
|
|
bind generic,pager,editor,index e noop
|
|
|
|
bind generic,pager,editor,index f noop
|
|
|
|
bind generic,pager,editor,index g noop
|
|
|
|
bind generic,pager,editor,index h noop
|
|
|
|
bind generic,pager,editor,index i noop
|
|
|
|
bind generic,pager,editor,index j noop
|
|
|
|
bind generic,pager,editor,index k noop
|
|
|
|
bind generic,pager,editor,index l noop
|
|
|
|
bind generic,pager,editor,index m noop
|
|
|
|
bind generic,pager,editor,index n noop
|
|
|
|
bind generic,pager,editor,index o noop
|
|
|
|
bind generic,pager,editor,index p noop
|
|
|
|
bind generic,pager,editor,index q noop
|
|
|
|
bind generic,pager,editor,index r noop
|
|
|
|
bind generic,pager,editor,index s noop
|
|
|
|
bind generic,pager,editor,index t noop
|
|
|
|
bind generic,pager,editor,index u noop
|
|
|
|
bind generic,pager,editor,index v noop
|
|
|
|
bind generic,pager,editor,index w noop
|
|
|
|
bind generic,pager,editor,index x noop
|
|
|
|
bind generic,pager,editor,index y noop
|
|
|
|
bind generic,pager,editor,index z noop
|
|
|
|
bind generic,pager,editor,index A noop
|
|
|
|
bind generic,pager,editor,index B noop
|
|
|
|
bind generic,pager,editor,index C noop
|
|
|
|
bind generic,pager,editor,index D noop
|
|
|
|
bind generic,pager,editor,index E noop
|
|
|
|
bind generic,pager,editor,index F noop
|
|
|
|
bind generic,pager,editor,index G noop
|
|
|
|
bind generic,pager,editor,index H noop
|
|
|
|
bind generic,pager,editor,index I noop
|
|
|
|
bind generic,pager,editor,index J noop
|
|
|
|
bind generic,pager,editor,index K noop
|
|
|
|
bind generic,pager,editor,index L noop
|
|
|
|
bind generic,pager,editor,index M noop
|
|
|
|
bind generic,pager,editor,index N noop
|
|
|
|
bind generic,pager,editor,index O noop
|
|
|
|
bind generic,pager,editor,index P noop
|
|
|
|
bind generic,pager,editor,index Q noop
|
|
|
|
bind generic,pager,editor,index R noop
|
|
|
|
bind generic,pager,editor,index S noop
|
|
|
|
bind generic,pager,editor,index T noop
|
|
|
|
bind generic,pager,editor,index U noop
|
|
|
|
bind generic,pager,editor,index V noop
|
|
|
|
bind generic,pager,editor,index W noop
|
|
|
|
bind generic,pager,editor,index X noop
|
|
|
|
bind generic,pager,editor,index Y noop
|
|
|
|
bind generic,pager,editor,index Z noop
|
|
|
|
|
|
|
|
bind generic,pager,editor,index <Tab> noop
|
|
|
|
bind generic,pager,editor,index <Space> noop
|
|
|
|
bind generic,pager,editor,index <PageUp> noop
|
|
|
|
bind generic,pager,editor,index <PageDown> noop
|
|
|
|
bind generic,pager,editor,index <Home> noop
|
|
|
|
bind generic,pager,editor,index <End> noop
|
|
|
|
bind generic,pager,editor,index <Insert> noop
|
|
|
|
bind generic,pager,editor,index <Delete> noop
|
|
|
|
bind generic,pager,editor,index <Up> noop
|
|
|
|
bind generic,pager,editor,index <Down> noop
|
|
|
|
bind generic,pager,editor,index <Left> noop
|
|
|
|
bind generic,pager,editor,index <Right> noop
|
|
|
|
bind generic,pager,editor,index <Enter> noop
|
|
|
|
bind generic,pager,editor,index <Return> noop
|
|
|
|
|
|
|
|
bind generic,pager,editor,index | noop
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
bind generic,pager,editor,index 1 noop
|
|
|
|
bind generic,pager,editor,index 2 noop
|
|
|
|
bind generic,pager,editor,index 3 noop
|
|
|
|
bind generic,pager,editor,index 4 noop
|
|
|
|
bind generic,pager,editor,index 5 noop
|
|
|
|
bind generic,pager,editor,index 6 noop
|
|
|
|
bind generic,pager,editor,index 7 noop
|
|
|
|
bind generic,pager,editor,index 8 noop
|
|
|
|
bind generic,pager,editor,index 9 noop
|
|
|
|
bind generic,pager,editor,index 0 noop
|
2020-01-11 22:04:45 +01:00
|
|
|
bind generic,pager,editor,index ! noop
|
|
|
|
bind generic,pager,editor,index @ noop
|
|
|
|
bind generic,pager,editor,index $ noop
|
|
|
|
bind generic,pager,editor,index % noop
|
|
|
|
bind generic,pager,editor,index ^ noop
|
|
|
|
bind generic,pager,editor,index & noop
|
|
|
|
bind generic,pager,editor,index * noop
|
|
|
|
bind generic,pager,editor,index ( noop
|
|
|
|
bind generic,pager,editor,index ) noop
|
|
|
|
|
|
|
|
bind generic,pager,editor,index \Ca noop
|
|
|
|
bind generic,pager,editor,index \Cb noop
|
|
|
|
bind generic,pager,editor,index \Cc noop
|
|
|
|
bind generic,pager,editor,index \Cd noop
|
|
|
|
bind generic,pager,editor,index \Ce noop
|
|
|
|
bind generic,pager,editor,index \Cf noop
|
|
|
|
bind generic,pager,editor,index \Cg noop
|
|
|
|
bind generic,pager,editor,index \Ch noop
|
|
|
|
bind generic,pager,editor,index \Ci noop
|
|
|
|
bind generic,pager,editor,index \Cj noop
|
|
|
|
bind generic,pager,editor,index \Ck noop
|
|
|
|
bind generic,pager,editor,index \Cl noop
|
|
|
|
bind generic,pager,editor,index \Cm noop
|
|
|
|
bind generic,pager,editor,index \Cn noop
|
|
|
|
bind generic,pager,editor,index \Co noop
|
|
|
|
bind generic,pager,editor,index \Cp noop
|
|
|
|
bind generic,pager,editor,index \Cq noop
|
|
|
|
bind generic,pager,editor,index \Cr noop
|
|
|
|
bind generic,pager,editor,index \Cs noop
|
|
|
|
bind generic,pager,editor,index \Ct noop
|
|
|
|
bind generic,pager,editor,index \Cu noop
|
|
|
|
bind generic,pager,editor,index \Cv noop
|
|
|
|
bind generic,pager,editor,index \Cw noop
|
|
|
|
bind generic,pager,editor,index \Cx noop
|
|
|
|
bind generic,pager,editor,index \Cy noop
|
|
|
|
bind generic,pager,editor,index \Cz noop
|
|
|
|
bind generic,pager,editor,index \CA noop
|
|
|
|
bind generic,pager,editor,index \CB noop
|
|
|
|
bind generic,pager,editor,index \CC noop
|
|
|
|
bind generic,pager,editor,index \CD noop
|
|
|
|
bind generic,pager,editor,index \CE noop
|
|
|
|
bind generic,pager,editor,index \CF noop
|
|
|
|
bind generic,pager,editor,index \CG noop
|
|
|
|
bind generic,pager,editor,index \CH noop
|
|
|
|
bind generic,pager,editor,index \CI noop
|
|
|
|
bind generic,pager,editor,index \CJ noop
|
|
|
|
bind generic,pager,editor,index \CK noop
|
|
|
|
bind generic,pager,editor,index \CL noop
|
|
|
|
bind generic,pager,editor,index \CM noop
|
|
|
|
bind generic,pager,editor,index \CN noop
|
|
|
|
bind generic,pager,editor,index \CO noop
|
|
|
|
bind generic,pager,editor,index \CP noop
|
|
|
|
bind generic,pager,editor,index \CQ noop
|
|
|
|
bind generic,pager,editor,index \CR noop
|
|
|
|
bind generic,pager,editor,index \CS noop
|
|
|
|
bind generic,pager,editor,index \CT noop
|
|
|
|
bind generic,pager,editor,index \CU noop
|
|
|
|
bind generic,pager,editor,index \CV noop
|
|
|
|
bind generic,pager,editor,index \CW noop
|
|
|
|
bind generic,pager,editor,index \CX noop
|
|
|
|
bind generic,pager,editor,index \CY noop
|
|
|
|
bind generic,pager,editor,index \CZ noop
|
|
|
|
|
|
|
|
bind generic,pager,editor,index \C<Tab> noop
|
|
|
|
bind generic,pager,editor,index \C<Space> noop
|
|
|
|
bind generic,pager,editor,index \C<PageUp> noop
|
|
|
|
bind generic,pager,editor,index \C<PageDown> noop
|
|
|
|
bind generic,pager,editor,index \C<Home> noop
|
|
|
|
bind generic,pager,editor,index \C<End> noop
|
|
|
|
bind generic,pager,editor,index \C<Insert> noop
|
|
|
|
bind generic,pager,editor,index \C<Delete> noop
|
|
|
|
bind generic,pager,editor,index \C<Up> noop
|
|
|
|
bind generic,pager,editor,index \C<Down> noop
|
|
|
|
bind generic,pager,editor,index \C<Left> noop
|
|
|
|
bind generic,pager,editor,index \C<Right> noop
|
|
|
|
bind generic,pager,editor,index \C<Enter> noop
|
|
|
|
bind generic,pager,editor,index \C<Return> noop
|
|
|
|
|
|
|
|
bind generic,pager,editor,index \C1 noop
|
|
|
|
bind generic,pager,editor,index \C2 noop
|
|
|
|
bind generic,pager,editor,index \C3 noop
|
|
|
|
bind generic,pager,editor,index \C4 noop
|
|
|
|
bind generic,pager,editor,index \C5 noop
|
|
|
|
bind generic,pager,editor,index \C6 noop
|
|
|
|
bind generic,pager,editor,index \C7 noop
|
|
|
|
bind generic,pager,editor,index \C8 noop
|
|
|
|
bind generic,pager,editor,index \C9 noop
|
|
|
|
bind generic,pager,editor,index \C0 noop
|
|
|
|
bind generic,pager,editor,index \C! noop
|
|
|
|
bind generic,pager,editor,index \C$ noop
|
|
|
|
bind generic,pager,editor,index \C% noop
|
|
|
|
bind generic,pager,editor,index \C^ noop
|
|
|
|
bind generic,pager,editor,index \C& noop
|
|
|
|
bind generic,pager,editor,index \C* noop
|
|
|
|
bind generic,pager,editor,index \C( noop
|
|
|
|
bind generic,pager,editor,index \C) noop
|
|
|
|
|
|
|
|
bind generic,pager,editor,index <Esc>a noop
|
|
|
|
bind generic,pager,editor,index <Esc>b noop
|
|
|
|
bind generic,pager,editor,index <Esc>c noop
|
|
|
|
bind generic,pager,editor,index <Esc>d noop
|
|
|
|
bind generic,pager,editor,index <Esc>e noop
|
|
|
|
bind generic,pager,editor,index <Esc>f noop
|
|
|
|
bind generic,pager,editor,index <Esc>g noop
|
|
|
|
bind generic,pager,editor,index <Esc>h noop
|
|
|
|
bind generic,pager,editor,index <Esc>i noop
|
|
|
|
bind generic,pager,editor,index <Esc>j noop
|
|
|
|
bind generic,pager,editor,index <Esc>k noop
|
|
|
|
bind generic,pager,editor,index <Esc>l noop
|
|
|
|
bind generic,pager,editor,index <Esc>m noop
|
|
|
|
bind generic,pager,editor,index <Esc>n noop
|
|
|
|
bind generic,pager,editor,index <Esc>o noop
|
|
|
|
bind generic,pager,editor,index <Esc>p noop
|
|
|
|
bind generic,pager,editor,index <Esc>q noop
|
|
|
|
bind generic,pager,editor,index <Esc>r noop
|
|
|
|
bind generic,pager,editor,index <Esc>s noop
|
|
|
|
bind generic,pager,editor,index <Esc>t noop
|
|
|
|
bind generic,pager,editor,index <Esc>u noop
|
|
|
|
bind generic,pager,editor,index <Esc>v noop
|
|
|
|
bind generic,pager,editor,index <Esc>w noop
|
|
|
|
bind generic,pager,editor,index <Esc>x noop
|
|
|
|
bind generic,pager,editor,index <Esc>y noop
|
|
|
|
bind generic,pager,editor,index <Esc>z noop
|
|
|
|
bind generic,pager,editor,index <Esc>A noop
|
|
|
|
bind generic,pager,editor,index <Esc>B noop
|
|
|
|
bind generic,pager,editor,index <Esc>C noop
|
|
|
|
bind generic,pager,editor,index <Esc>D noop
|
|
|
|
bind generic,pager,editor,index <Esc>E noop
|
|
|
|
bind generic,pager,editor,index <Esc>F noop
|
|
|
|
bind generic,pager,editor,index <Esc>G noop
|
|
|
|
bind generic,pager,editor,index <Esc>H noop
|
|
|
|
bind generic,pager,editor,index <Esc>I noop
|
|
|
|
bind generic,pager,editor,index <Esc>J noop
|
|
|
|
bind generic,pager,editor,index <Esc>K noop
|
|
|
|
bind generic,pager,editor,index <Esc>L noop
|
|
|
|
bind generic,pager,editor,index <Esc>M noop
|
|
|
|
bind generic,pager,editor,index <Esc>N noop
|
|
|
|
bind generic,pager,editor,index <Esc>O noop
|
|
|
|
bind generic,pager,editor,index <Esc>P noop
|
|
|
|
bind generic,pager,editor,index <Esc>Q noop
|
|
|
|
bind generic,pager,editor,index <Esc>R noop
|
|
|
|
bind generic,pager,editor,index <Esc>S noop
|
|
|
|
bind generic,pager,editor,index <Esc>T noop
|
|
|
|
bind generic,pager,editor,index <Esc>U noop
|
|
|
|
bind generic,pager,editor,index <Esc>V noop
|
|
|
|
bind generic,pager,editor,index <Esc>W noop
|
|
|
|
bind generic,pager,editor,index <Esc>X noop
|
|
|
|
bind generic,pager,editor,index <Esc>Y noop
|
|
|
|
bind generic,pager,editor,index <Esc>Z noop
|
|
|
|
|
|
|
|
bind generic,pager,editor,index <Esc><Tab> noop
|
|
|
|
bind generic,pager,editor,index <Esc><Space> noop
|
|
|
|
bind generic,pager,editor,index <Esc><PageUp> noop
|
|
|
|
bind generic,pager,editor,index <Esc><PageDown> noop
|
|
|
|
bind generic,pager,editor,index <Esc><Home> noop
|
|
|
|
bind generic,pager,editor,index <Esc><End> noop
|
|
|
|
bind generic,pager,editor,index <Esc><Insert> noop
|
|
|
|
bind generic,pager,editor,index <Esc><Delete> noop
|
|
|
|
bind generic,pager,editor,index <Esc><Up> noop
|
|
|
|
bind generic,pager,editor,index <Esc><Down> noop
|
|
|
|
bind generic,pager,editor,index <Esc><Left> noop
|
|
|
|
bind generic,pager,editor,index <Esc><Right> noop
|
|
|
|
bind generic,pager,editor,index <Esc><Enter> noop
|
|
|
|
bind generic,pager,editor,index <Esc><Return> noop
|
|
|
|
|
|
|
|
bind generic,pager,editor,index <Esc>1 noop
|
|
|
|
bind generic,pager,editor,index <Esc>2 noop
|
|
|
|
bind generic,pager,editor,index <Esc>3 noop
|
|
|
|
bind generic,pager,editor,index <Esc>4 noop
|
|
|
|
bind generic,pager,editor,index <Esc>5 noop
|
|
|
|
bind generic,pager,editor,index <Esc>6 noop
|
|
|
|
bind generic,pager,editor,index <Esc>7 noop
|
|
|
|
bind generic,pager,editor,index <Esc>8 noop
|
|
|
|
bind generic,pager,editor,index <Esc>9 noop
|
|
|
|
bind generic,pager,editor,index <Esc>0 noop
|
|
|
|
bind generic,pager,editor,index <Esc>! noop
|
|
|
|
bind generic,pager,editor,index <Esc>@ noop
|
|
|
|
bind generic,pager,editor,index <Esc>$ noop
|
|
|
|
bind generic,pager,editor,index <Esc>% noop
|
|
|
|
bind generic,pager,editor,index <Esc>^ noop
|
|
|
|
bind generic,pager,editor,index <Esc>& noop
|
|
|
|
bind generic,pager,editor,index <Esc>* noop
|
|
|
|
bind generic,pager,editor,index <Esc>( noop
|
|
|
|
bind generic,pager,editor,index <Esc>) noop
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org33de0ba" class="outline-4">
|
|
|
|
<h4 id="org33de0ba">Quit Neomutt</h4>
|
|
|
|
<div class="outline-text-4" id="text-org33de0ba">
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bind index,pager,compose Q exit
|
2020-05-26 08:40:15 +02:00
|
|
|
macro index q "<shell-escape>if [ $TMUX ]; then tmux detach; fi<enter>"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-org6d1494c" class="outline-4">
|
|
|
|
<h4 id="org6d1494c">Generic</h4>
|
|
|
|
<div class="outline-text-4" id="text-org6d1494c">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bind generic Q exit
|
|
|
|
|
|
|
|
bind generic <Return> select-entry
|
|
|
|
bind generic l select-entry
|
|
|
|
|
|
|
|
bind generic,index k previous-entry
|
|
|
|
bind generic,index j next-entry
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
bind generic,index 0 first-entry
|
2020-01-11 22:04:45 +01:00
|
|
|
bind generic,index $ last-entry
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
bind generic,index \031 previous-entry # Mouse wheel
|
|
|
|
bind generic,index \005 next-entry # Mouse wheel
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
bind generic,index gg first-entry
|
|
|
|
bind generic,index G last-entry
|
|
|
|
|
|
|
|
bind generic,index,pager \Cu half-up
|
|
|
|
bind generic,index,pager \Cd half-down
|
|
|
|
|
|
|
|
bind generic,index,pager \Ce next-line
|
|
|
|
bind generic,index,pager \Cy previous-line
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org39630e2" class="outline-4">
|
|
|
|
<h4 id="org39630e2">Index and Pager</h4>
|
|
|
|
<div class="outline-text-4" id="text-org39630e2">
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bind pager k previous-line
|
|
|
|
bind pager j next-line
|
|
|
|
|
|
|
|
bind index <space> collapse-thread
|
|
|
|
|
|
|
|
bind index,pager K previous-entry
|
|
|
|
bind index,pager J next-entry
|
|
|
|
|
|
|
|
bind index l display-message
|
|
|
|
bind index <Return> display-message
|
|
|
|
bind pager l view-attachments
|
|
|
|
|
|
|
|
bind pager gg top
|
2020-05-26 08:40:15 +02:00
|
|
|
bind pager 0 top
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
bind pager G bottom
|
|
|
|
bind pager $ bottom
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
macro index h "<change-folder>?" "Go back to the list of mailboxes"
|
2020-01-11 22:04:45 +01:00
|
|
|
bind pager h exit
|
|
|
|
bind pager q exit
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
macro index c "<change-folder>?<toggle-mailboxes>" "change folder"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
bind index,pager u undelete-message
|
|
|
|
|
|
|
|
bind index,pager P print-message
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Compose a new email (not a reply) to the sender
|
2020-01-11 22:04:45 +01:00
|
|
|
bind index,pager @ compose-to-sender
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Marl All message as read
|
2020-01-11 22:04:45 +01:00
|
|
|
macro index \Cr \
|
2020-05-26 08:40:15 +02:00
|
|
|
"<tag-pattern>~N<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" \
|
|
|
|
"mark all new as read"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bind index za collapse-thread
|
2020-05-26 08:40:15 +02:00
|
|
|
bind index zA collapse-all # Missing :folddisable/foldenable
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Write/Reply/Forward mail
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bind index,pager p recall-message
|
|
|
|
bind index,pager m mail
|
2020-05-26 08:40:15 +02:00
|
|
|
bind index,pager M resend-message
|
2020-01-11 22:04:45 +01:00
|
|
|
bind index,pager r reply
|
|
|
|
bind index,pager R group-reply
|
|
|
|
bind index,pager b bounce-message
|
|
|
|
bind index,pager f forward-message
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Sync Mailbox
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bind index,pager s sync-mailbox
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Sync email
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">macro index,pager o "<shell-escape>$HOME/.config/neomutt/bin/get_new_mail.sh<enter>"
|
|
|
|
macro index,pager O "<shell-escape>$HOME/.config/neomutt/bin/get_new_mail.sh -a<enter>"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Make quick html view macro
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">macro index,pager H "<view-attachments><search>html<enter><view-mailcap><exit>"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Open mail with Vim
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">macro index,pager V "<view-attachments><search>plain<enter><view-mailcap><exit>"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf"># bind index,pager U toggle-new
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Labels
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bind index,pager y edit-label
|
|
|
|
bind index,pager Y modify-labels
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgc73598b" class="outline-4">
|
|
|
|
<h4 id="orgc73598b">Limit</h4>
|
|
|
|
<div class="outline-text-4" id="text-orgc73598b">
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bind index L limit
|
|
|
|
macro index a <limit>all<enter>
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orge5e6fdf" class="outline-4">
|
|
|
|
<h4 id="orge5e6fdf">Search</h4>
|
|
|
|
<div class="outline-text-4" id="text-orge5e6fdf">
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bind generic,index,pager / search
|
|
|
|
|
|
|
|
bind index,pager n search-next
|
|
|
|
bind index,pager N search-opposite
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-org2a4b061" class="outline-4">
|
|
|
|
<h4 id="org2a4b061">Attachments</h4>
|
|
|
|
<div class="outline-text-4" id="text-org2a4b061">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bind attach l view-attach
|
|
|
|
|
|
|
|
bind attach h exit
|
|
|
|
bind attach q exit
|
|
|
|
|
|
|
|
bind attach <return> view-mailcap
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
macro attach W <save-entry><kill-line>~/Downloads/<enter>y "Save entry"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
2020-01-12 17:28:30 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org6b5b778" class="outline-4">
|
|
|
|
<h4 id="org6b5b778">Compose</h4>
|
|
|
|
<div class="outline-text-4" id="text-org6b5b778">
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bind compose p postpone-message
|
|
|
|
|
|
|
|
bind compose R rename-attachment
|
|
|
|
|
|
|
|
bind compose a attach-file
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Open another instance of neomutt in readonly mode while composing
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">macro compose M "<shell-escape>$TERMINAL -e \"neomutt -R\"<enter>"
|
2020-01-12 17:28:30 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
<p>
|
|
|
|
Attach multiple files using ranger
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">macro compose A "<shell-escape>bash $HOME/.config/neomutt/bin/rangerpick<enter><enter-command>source /tmp/rangerpick<enter><shell-escape>bash $HOME/.config/neomutt/bin/rangerpick clean<enter>" "Attach with Ranger"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org7848e3c" class="outline-5">
|
|
|
|
<h5 id="org7848e3c">Attach with Ranger Script</h5>
|
|
|
|
<div class="outline-text-5" id="text-org7848e3c">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-bash">tmpfile=/tmp/rangerpick
|
|
|
|
if [ -z "$1" ]; then
|
|
|
|
ranger --choosefiles $tmpfile && sed -i 's/\s/\\ /g' $tmpfile && echo "$(awk 'BEGIN {printf "%s", "push "} {printf "%s", "<attach-file>"$0"<enter>"}' $tmpfile)" > $tmpfile
|
|
|
|
elif [ $1 == "clean" ]; then
|
|
|
|
ls $tmpfile
|
|
|
|
fi
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-01-12 17:28:30 +01:00
|
|
|
<div id="outline-container-org147e13d" class="outline-5">
|
2020-03-22 23:04:07 +01:00
|
|
|
<h5 id="org147e13d">Send HTML mails using Markdown</h5>
|
2020-01-12 17:28:30 +01:00
|
|
|
<div class="outline-text-5" id="text-org147e13d">
|
2020-01-11 22:04:45 +01:00
|
|
|
<p>
|
|
|
|
Write html emails using markdown
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf"># macro compose M "F pandoc -s -f markdown -t html \ny^T^Utext/html; charset=us-ascii\n"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orga459fea" class="outline-4">
|
|
|
|
<h4 id="orga459fea">Browser</h4>
|
|
|
|
<div class="outline-text-4" id="text-orga459fea">
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bind browser l select-entry
|
2020-05-26 08:40:15 +02:00
|
|
|
macro browser h "<top-page><select-entry>"
|
2020-01-12 17:28:30 +01:00
|
|
|
|
|
|
|
bind browser t tag-entry
|
|
|
|
|
2020-01-11 22:04:45 +01:00
|
|
|
bind browser q exit
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-orgf5e04db" class="outline-4">
|
|
|
|
<h4 id="orgf5e04db">Generic</h4>
|
|
|
|
<div class="outline-text-4" id="text-orgf5e04db">
|
2020-01-11 22:04:45 +01:00
|
|
|
<p>
|
|
|
|
Enter Command
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bind generic,index,pager : enter-command
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org81e57df" class="outline-4">
|
|
|
|
<h4 id="org81e57df">Copy and move mails</h4>
|
|
|
|
<div class="outline-text-4" id="text-org81e57df">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
|
|
|
|
macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-org4e69538" class="outline-4">
|
|
|
|
<h4 id="org4e69538">Sidebar</h4>
|
|
|
|
<div class="outline-text-4" id="text-org4e69538">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-03-19 10:42:30 +01:00
|
|
|
<pre class="src src-conf">bind index,pager \Cp sidebar-prev
|
|
|
|
bind index,pager \Cn sidebar-next
|
|
|
|
bind index,pager \Co sidebar-open
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
bind index,pager \Ch sidebar-toggle-visible
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgcbcfabe" class="outline-4">
|
|
|
|
<h4 id="orgcbcfabe">Reload Configuration</h4>
|
|
|
|
<div class="outline-text-4" id="text-orgcbcfabe">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">macro generic,index,pager,editor ,<Space> ":source ~/.config/neomutt/neomuttrc\n" "Reload mutt's configuration file"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org62625e7" class="outline-4">
|
|
|
|
<h4 id="org62625e7">urlview - Open URL in emails</h4>
|
|
|
|
<div class="outline-text-4" id="text-org62625e7">
|
|
|
|
<p>
|
|
|
|
Use <code>urlview</code> to extract urls from the mail.
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">macro attach,compose,index,pager \cw "\
|
|
|
|
:set my_tmp_pipe_decode=\$pipe_decode\n\
|
|
|
|
:set pipe_decode\n\
|
|
|
|
<pipe-message>urlview\n\
|
|
|
|
:set pipe_decode=\$my_tmp_pipe_decode\n\
|
|
|
|
:unset my_tmp_pipe_decode\n" \
|
|
|
|
'call urlview to extract URLs out of a message'
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org2c7bcf7" class="outline-4">
|
|
|
|
<h4 id="org2c7bcf7">Searching using Mu</h4>
|
|
|
|
<div class="outline-text-4" id="text-org2c7bcf7">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">macro index,pager \Cf "<shell-escape>mu find --clearlinks --format=links --linksdir=~/.mail/search " \
|
|
|
|
"mu find"
|
|
|
|
macro index,pager gf "<change-folder-readonly>~/.mail/search<enter>" \
|
|
|
|
"mu find results"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org0979e59" class="outline-4">
|
|
|
|
<h4 id="org0979e59">Link to Orgmode</h4>
|
|
|
|
<div class="outline-text-4" id="text-org0979e59">
|
2020-01-12 17:28:30 +01:00
|
|
|
<p>
|
|
|
|
<a href="https://www.donarmstrong.com/posts/org_mode_mutt_capture/">https://www.donarmstrong.com/posts/org_mode_mutt_capture/</a>
|
|
|
|
<a href="https://upsilon.cc/~zack/blog/posts/2010/02/integrating_Mutt_with_Org-mode/">https://upsilon.cc/~zack/blog/posts/2010/02/integrating_Mutt_with_Org-mode/</a>
|
|
|
|
</p>
|
|
|
|
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">macro index,pager S "<pipe-message>$HOME/.config/neomutt/bin/mutt-save-org-link.py\n"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgb30bf6d" class="outline-5">
|
|
|
|
<h5 id="orgb30bf6d">Link mail to orgmode - Script</h5>
|
|
|
|
<div class="outline-text-5" id="text-orgb30bf6d">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-python">import sys
|
|
|
|
import email
|
|
|
|
import subprocess
|
|
|
|
import urllib.parse
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Parse the email from standard input
|
|
|
|
message_bytes = sys.stdin.buffer.read()
|
|
|
|
message = email.message_from_bytes(message_bytes)
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Grab the relevant message headers
|
|
|
|
message_id = urllib.parse.quote(message['message-id'].strip()[1:-1])
|
|
|
|
subject = message['subject'].replace('[', '{').replace(']', '}').replace('\n', ' ')
|
|
|
|
subject = (subject[:75] + '..') if len(subject) > 75 else subject
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Ask emacsclient to save a link to the message
|
|
|
|
p = subprocess.Popen([
|
|
|
|
'emacsclient',
|
|
|
|
f'org-protocol://capture?template=pm&url={message_id}&title={subject}'
|
2020-01-11 22:04:45 +01:00
|
|
|
])
|
|
|
|
|
|
|
|
p.wait()
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org89ca168" class="outline-3">
|
|
|
|
<h3 id="org89ca168">Colors</h3>
|
|
|
|
<div class="outline-text-3" id="text-org89ca168">
|
|
|
|
</div>
|
|
|
|
<div id="outline-container-org4a8185b" class="outline-4">
|
|
|
|
<h4 id="org4a8185b">Basic colors</h4>
|
|
|
|
<div class="outline-text-4" id="text-org4a8185b">
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">color normal color021 color000
|
|
|
|
color error color021 color000
|
|
|
|
color tilde color021 color000
|
|
|
|
color message color021 color000
|
|
|
|
color markers color021 color000
|
|
|
|
color attachment color021 color000
|
|
|
|
color search color000 color003
|
|
|
|
color status color016 color000
|
|
|
|
color indicator color000 color021
|
|
|
|
color tree color021 color000
|
|
|
|
color progress color000 color021
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# basic monocolor screen
|
2020-01-11 22:04:45 +01:00
|
|
|
mono bold bold
|
|
|
|
mono underline underline
|
|
|
|
mono indicator reverse
|
|
|
|
mono error bold
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org376f35d" class="outline-4">
|
|
|
|
<h4 id="org376f35d">Index</h4>
|
|
|
|
<div class="outline-text-4" id="text-org376f35d">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">color index color021 color000 "~A" # All messages
|
|
|
|
color index brightcolor006 color000 "~N" # New messages
|
|
|
|
color index color020 color000 "~O" # Old messages
|
|
|
|
color index color020 color000 "~Q" # messages that have been replied to
|
|
|
|
color index color021 color000 "~R" # read messages
|
|
|
|
color index color006 color000 "~U" # unread messages
|
|
|
|
color index color021 color000 "~R~p!~F" # messages to me
|
|
|
|
color index brightcolor006 color000 "~N~p!~F" # new messages to me
|
|
|
|
color index brightcolor006 color000 "~U~p!~F" # unread messages to me
|
|
|
|
color index color005 color000 "~F" # flagged messages
|
|
|
|
color index color005 color000 "~F~p" # flagged messages to me
|
|
|
|
color index brightcolor006 color000 "~N~F" # new flagged messages
|
|
|
|
color index brightcolor006 color000 "~N~F~p" # new flagged messages to me
|
|
|
|
color index brightcolor006 color000 "~U~F~p" # new flagged messages to me
|
|
|
|
color index brightcolor000 color001 "~D" # deleted messages
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
color index brightcolor021 color019 "~v~(!~N)" # collapsed thread with no unread
|
|
|
|
color index brightcolor006 color019 "~v~(~N)" # collapsed thread with some unread
|
|
|
|
color index brightcolor006 color019 "~N~v~(~N)" # collapsed thread with unread parent
|
|
|
|
color index brightcolor005 color019 "~v~(~F)!~N" # collapsed thread with flagged, no unread
|
|
|
|
color index brightcolor006 color019 "~v~(~F~N)" # collapsed thread with some unread & flagged
|
|
|
|
color index brightcolor006 color019 "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
|
|
|
|
color index brightcolor005 color019 "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
|
|
|
|
color index brightcolor000 color001 "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-org454024d" class="outline-4">
|
|
|
|
<h4 id="org454024d">Sidebar</h4>
|
|
|
|
<div class="outline-text-4" id="text-org454024d">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">color sidebar_indicator color000 color021 # Mailbox is open
|
|
|
|
color sidebar_highlight color000 color003 # Mailbox is highlighted
|
|
|
|
color sidebar_new brightcolor006 color000 # Mailbox contains new mail
|
|
|
|
color sidebar_ordinary color021 color000 # Mailbox contains new mail
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orge423775" class="outline-4">
|
|
|
|
<h4 id="orge423775">Message headers</h4>
|
|
|
|
<div class="outline-text-4" id="text-orge423775">
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">color hdrdefault color006 color000
|
2020-05-26 08:40:15 +02:00
|
|
|
color header brightcolor006 color000 "^(From)"
|
|
|
|
color header brightcolor004 color000 "^(Subject)"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-orgf379bbc" class="outline-4">
|
|
|
|
<h4 id="orgf379bbc">Attachments</h4>
|
|
|
|
<div class="outline-text-4" id="text-orgf379bbc">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf"># Color if the attachment is autoviewed
|
|
|
|
color attach_headers brightgreen default "Autoview"
|
|
|
|
# Color only the brackets around the headers
|
|
|
|
color attach_headers brightyellow default "^\\[--"
|
|
|
|
color attach_headers brightyellow default "--]$"
|
|
|
|
# Color the mime type and the size
|
|
|
|
color attach_headers green default "Type: [a-z]+/[a-z0-9\-]+"
|
|
|
|
color attach_headers green default "Size: [0-9\.]+[KM]"
|
|
|
|
# Color GPGME signature checks
|
|
|
|
color attach_headers brightgreen default "Good signature from.*"
|
|
|
|
color attach_headers brightred default "Bad signature from.*"
|
|
|
|
color attach_headers brightred default "BAD signature from.*"
|
|
|
|
color attach_headers brightred default "Note: This key has expired!"
|
|
|
|
color attach_headers brightmagenta default "Problem signature from.*"
|
|
|
|
color attach_headers brightmagenta default "WARNING: This key is not certified with a trusted signature!"
|
|
|
|
color attach_headers brightmagenta default " There is no indication that the signature belongs to the owner."
|
|
|
|
color attach_headers brightmagenta default "can't handle these multiple signatures"
|
|
|
|
color attach_headers brightmagenta default "signature verification suppressed"
|
|
|
|
color attach_headers brightmagenta default "invalid node with packet of type"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="outline-container-orgb4d93d5" class="outline-4">
|
|
|
|
<h4 id="orgb4d93d5">Body</h4>
|
|
|
|
<div class="outline-text-4" id="text-orgb4d93d5">
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">color quoted color002 color000
|
|
|
|
color quoted1 color003 color000
|
|
|
|
color quoted2 color004 color000
|
|
|
|
color quoted3 color005 color000
|
|
|
|
color quoted4 color006 color000
|
|
|
|
|
|
|
|
color signature color021 color000
|
|
|
|
color bold brightcolor021 color000
|
|
|
|
color underline brightcolor021 color000
|
|
|
|
color normal color021 color000
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org07b1c9d" class="outline-4">
|
|
|
|
<h4 id="org07b1c9d">PGP</h4>
|
|
|
|
<div class="outline-text-4" id="text-org07b1c9d">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">color body color001 color000 "(BAD signature)"
|
|
|
|
color body color002 color000 "(Good signature)"
|
|
|
|
color body color002 color000 "^gpg: Good signature .*"
|
|
|
|
color body color002 color000 "^gpg: "
|
|
|
|
color body color002 color000 "^gpg: BAD signature from.*"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org4f061d9" class="outline-4">
|
|
|
|
<h4 id="org4f061d9">Urls</h4>
|
|
|
|
<div class="outline-text-4" id="text-org4f061d9">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">color body color006 color000 "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org8b521b7" class="outline-4">
|
|
|
|
<h4 id="org8b521b7">Emails</h4>
|
|
|
|
<div class="outline-text-4" id="text-org8b521b7">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">color body color006 color000 "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org4840585" class="outline-3">
|
|
|
|
<h3 id="org4840585">Contacts with Mu</h3>
|
|
|
|
<div class="outline-text-3" id="text-org4840585">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set query_command="mu cfind '%s' -o mutt-ab"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
bind editor <Tab> complete-query
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgdb26e44" class="outline-3">
|
|
|
|
<h3 id="orgdb26e44">Paths</h3>
|
|
|
|
<div class="outline-text-3" id="text-orgdb26e44">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set folder = ~/.mail # mail location
|
|
|
|
set alias_file = ~/.config/neomutt/alias # where to store aliases
|
|
|
|
set header_cache = ~/.config/neomutt/cache/headers # where to store headers
|
|
|
|
set message_cachedir = ~/.config/neomutt/cache/bodies # where to store bodies
|
|
|
|
set certificate_file = ~/.config/neomutt/certificates # where to store certs
|
|
|
|
set mailcap_path = ~/.config/neomutt/mailcap # entries for filetypes
|
|
|
|
set tmpdir = ~/.config/neomutt/temp # where to keep temp files
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgd324abe" class="outline-3">
|
|
|
|
<h3 id="orgd324abe">Print</h3>
|
|
|
|
<div class="outline-text-3" id="text-orgd324abe">
|
|
|
|
<p>
|
|
|
|
<a href="https://unix.stackexchange.com/questions/20456/pretty-print-mails-from-mutt">https://unix.stackexchange.com/questions/20456/pretty-print-mails-from-mutt</a>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf"># set print_command="/usr/bin/muttprint %s -p ctb110c1u"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgf6c14ac" class="outline-3">
|
|
|
|
<h3 id="orgf6c14ac">Accounts</h3>
|
|
|
|
<div class="outline-text-3" id="text-orgf6c14ac">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set spoolfile = "+gmail/Inbox" # Default inbox
|
|
|
|
set realname = "Dehaeze Thomas"
|
|
|
|
set from = "dehaeze.thomas@gmail.com"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
folder-hook gmail/* source ~/.config/neomutt/accounts/gmail
|
|
|
|
folder-hook esrf/* source ~/.config/neomutt/accounts/esrf
|
|
|
|
folder-hook ulg/* source ~/.config/neomutt/accounts/ulg
|
2020-01-28 21:32:38 +01:00
|
|
|
folder-hook uliege/* source ~/.config/neomutt/accounts/uliege
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
macro index,pager gl "<change-folder>+uliege/Inbox<enter>" "go to inbox"
|
|
|
|
macro index,pager gu "<change-folder>+ulg/Inbox<enter>" "go to inbox"
|
|
|
|
macro index,pager ge "<change-folder>+esrf/Inbox<enter>" "go to inbox"
|
|
|
|
macro index,pager gm "<change-folder>+gmail/Inbox<enter>" "go to inbox"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgbd57e22" class="outline-4">
|
|
|
|
<h4 id="orgbd57e22">Gmail</h4>
|
|
|
|
<div class="outline-text-4" id="text-orgbd57e22">
|
|
|
|
</div>
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-org647fde0" class="outline-5">
|
|
|
|
<h5 id="org647fde0">Configuration</h5>
|
|
|
|
<div class="outline-text-5" id="text-org647fde0">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set from = "dehaeze.thomas@gmail.com"
|
|
|
|
set sendmail = "msmtp -a gmail"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Other special folders.
|
|
|
|
set mbox = "+gmail/Archive"
|
|
|
|
unset record # Don't copy send message to Sent folder: Gmail does that for us
|
|
|
|
set postponed = "+gmail/Drafts"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
set signature = "~/.config/neomutt/accounts/gmail.signature"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
macro index,pager d \
|
2020-05-26 08:40:15 +02:00
|
|
|
"<save-message>+gmail/Archive<enter>" \
|
|
|
|
"Move message to the Archive"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
macro index,pager D \
|
2020-05-26 08:40:15 +02:00
|
|
|
"<save-message>+gmail/Trash<enter>" \
|
|
|
|
"Move message to the Trash"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-orge0c1cfa" class="outline-5">
|
|
|
|
<h5 id="orge0c1cfa">Signature</h5>
|
|
|
|
<div class="outline-text-5" id="text-orge0c1cfa">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">Thomas Dehaeze
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
<p>
|
2020-01-28 21:32:38 +01:00
|
|
|
This empty code block is used to add a new line after signature
|
2020-01-11 22:04:45 +01:00
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgc13752f" class="outline-4">
|
|
|
|
<h4 id="orgc13752f">ESRF</h4>
|
|
|
|
<div class="outline-text-4" id="text-orgc13752f">
|
|
|
|
</div>
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-org07bf348" class="outline-5">
|
|
|
|
<h5 id="org07bf348">Configuration</h5>
|
|
|
|
<div class="outline-text-5" id="text-org07bf348">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set from = "thomas.dehaeze@esrf.fr"
|
|
|
|
set sendmail = "msmtp -a esrf"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Other special folders.
|
|
|
|
set mbox = "+esrf/Archive"
|
|
|
|
set record = "+esrf/Sent"
|
|
|
|
set postponed = "+esrf/Drafts"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
set signature = "~/.config/neomutt/accounts/esrf.signature"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
macro index,pager d \
|
2020-05-26 08:40:15 +02:00
|
|
|
"<save-message>+esrf/Archive<enter>" \
|
|
|
|
"Move message to the Archive"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
macro index,pager D \
|
2020-05-26 08:40:15 +02:00
|
|
|
"<save-message>+esrf/Trash<enter>" \
|
|
|
|
"Move message to the Trash"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-orgf1f121b" class="outline-5">
|
|
|
|
<h5 id="orgf1f121b">Signature</h5>
|
|
|
|
<div class="outline-text-5" id="text-orgf1f121b">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">Thomas Dehaeze
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
<p>
|
2020-01-28 21:32:38 +01:00
|
|
|
This empty code block is used to add a new line after signature
|
2020-01-11 22:04:45 +01:00
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgd5fd652" class="outline-4">
|
|
|
|
<h4 id="orgd5fd652">ULG</h4>
|
|
|
|
<div class="outline-text-4" id="text-orgd5fd652">
|
|
|
|
</div>
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-orgc347679" class="outline-5">
|
|
|
|
<h5 id="orgc347679">Configuration</h5>
|
|
|
|
<div class="outline-text-5" id="text-orgc347679">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set from = "thomas.dehaeze@doct.uliege.be"
|
|
|
|
set sendmail = "msmtp -a ulg"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Other special folders.
|
|
|
|
set mbox = "+ulg/Archive"
|
|
|
|
set record = "+ulg/Sent"
|
|
|
|
set postponed = "+ulg/Drafts"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
set signature = "~/.config/neomutt/accounts/ulg.signature"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
macro index,pager d \
|
2020-05-26 08:40:15 +02:00
|
|
|
"<save-message>+ulg/Archive<enter>" \
|
|
|
|
"Move message to the Archive"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
macro index,pager D \
|
2020-05-26 08:40:15 +02:00
|
|
|
"<save-message>+ulg/Trash<enter>" \
|
|
|
|
"Move message to the Trash"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-org8b11a57" class="outline-5">
|
|
|
|
<h5 id="org8b11a57">Signature</h5>
|
|
|
|
<div class="outline-text-5" id="text-org8b11a57">
|
2020-01-28 21:32:38 +01:00
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">Thomas Dehaeze
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
<p>
|
|
|
|
This empty code block is used to add a new line after signature
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgc6c55ac" class="outline-4">
|
|
|
|
<h4 id="orgc6c55ac">ULIEGE</h4>
|
|
|
|
<div class="outline-text-4" id="text-orgc6c55ac">
|
|
|
|
</div>
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-org6c3bd8b" class="outline-5">
|
|
|
|
<h5 id="org6c3bd8b">Configuration</h5>
|
|
|
|
<div class="outline-text-5" id="text-org6c3bd8b">
|
2020-01-28 21:32:38 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set from = "tdehaeze@uliege.be"
|
|
|
|
set sendmail = "msmtp -a uliege"
|
2020-01-28 21:32:38 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Other special folders.
|
|
|
|
set mbox = "+uliege/Archive"
|
|
|
|
set record = "+uliege/Sent"
|
|
|
|
set postponed = "+uliege/Drafts"
|
2020-01-28 21:32:38 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
set signature = "~/.config/neomutt/accounts/uliege.signature"
|
2020-01-28 21:32:38 +01:00
|
|
|
|
|
|
|
macro index,pager d \
|
2020-05-26 08:40:15 +02:00
|
|
|
"<save-message>+uliege/Archive<enter>" \
|
|
|
|
"Move message to the Archive"
|
2020-01-28 21:32:38 +01:00
|
|
|
|
|
|
|
macro index,pager D \
|
2020-05-26 08:40:15 +02:00
|
|
|
"<save-message>+uliege/Trash<enter>" \
|
|
|
|
"Move message to the Trash"
|
2020-01-28 21:32:38 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-org03da1a3" class="outline-5">
|
|
|
|
<h5 id="org03da1a3">Signature</h5>
|
|
|
|
<div class="outline-text-5" id="text-org03da1a3">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">Thomas Dehaeze
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
<p>
|
2020-01-28 21:32:38 +01:00
|
|
|
This empty code block is used to add a new line after signature
|
2020-01-11 22:04:45 +01:00
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgc27a179" class="outline-3">
|
|
|
|
<h3 id="orgc27a179">Basic Options</h3>
|
|
|
|
<div class="outline-text-3" id="text-orgc27a179">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set wait_key = no # shut up, mutt
|
|
|
|
set mbox_type = Maildir # mailbox type
|
|
|
|
set help = no # No top bar
|
|
|
|
set timeout = 3 # idle time before scanning
|
|
|
|
set sleep_time = 0 # how long NeoMutt may wait after an error message
|
|
|
|
set mail_check = 0 # minimum time between scans
|
|
|
|
set delete # don't ask, just do
|
|
|
|
unset confirmappend # don't ask, just do!
|
|
|
|
set quit # don't ask, just do!!
|
|
|
|
set mark_old = no # read/new is good enough for me
|
|
|
|
set beep_new # bell on new mails
|
|
|
|
# set pipe_decode # strip headers and eval mimes when piping
|
|
|
|
set thorough_search # strip headers and eval mimes before searching
|
|
|
|
set send_charset="us-ascii:utf-8:iso-8859-1"
|
|
|
|
set sendmail_wait = 0 # no please don't silently fail, email is important
|
|
|
|
set use_from # respect the From: address the editor sends back
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Use Vim to compose email, with a few default options.
|
|
|
|
set editor = "nvim -c '/\\n--' -c ':noh' -c 'startinsert' -c ':Goyo'"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org27d7b40" class="outline-3">
|
|
|
|
<h3 id="org27d7b40">View Options</h3>
|
|
|
|
<div class="outline-text-3" id="text-org27d7b40">
|
|
|
|
</div>
|
|
|
|
<div id="outline-container-org0c24ff2" class="outline-4">
|
|
|
|
<h4 id="org0c24ff2">Status Bar</h4>
|
|
|
|
<div class="outline-text-4" id="text-org0c24ff2">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set status_on_top = no
|
|
|
|
set status_chars = " *%A"
|
|
|
|
set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org8b55982" class="outline-4">
|
|
|
|
<h4 id="org8b55982">Index View Options</h4>
|
|
|
|
<div class="outline-text-4" id="text-org8b55982">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set date_format = "%d/%m/%y %H:%M"
|
|
|
|
set index_format = "[%Z] %D %-20.20F %s"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
set sort = threads # like gmail
|
|
|
|
set sort_aux = reverse-last-date-received # like gmail
|
|
|
|
set uncollapse_jump # don't collapse on an unread message
|
|
|
|
set sort_re # thread based on regex
|
|
|
|
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
|
|
|
|
set folder_format = "%2C %t %N %8s %f"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgb38054e" class="outline-4">
|
|
|
|
<h4 id="orgb38054e">Pager View Options</h4>
|
|
|
|
<div class="outline-text-4" id="text-orgb38054e">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set pager_index_lines = 10 # number of index lines to show
|
|
|
|
set pager_context = 3 # number of context lines to show
|
|
|
|
set pager_stop # don't go to next message automatically
|
|
|
|
set menu_scroll # scroll in menus
|
|
|
|
set tilde # show tildes like in vim
|
|
|
|
set markers = no # no ugly plus signs
|
|
|
|
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
auto_view text/html # view html automatically
|
|
|
|
alternative_order text/plain text/enriched text/html # save html for last
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org70d58be" class="outline-4">
|
|
|
|
<h4 id="org70d58be">Compose View Options</h4>
|
|
|
|
<div class="outline-text-4" id="text-org70d58be">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set envelope_from # which from?
|
|
|
|
set sig_dashes # dashes before sig
|
|
|
|
set sig_on_top # the signature is just below the response
|
|
|
|
set edit_headers # show headers when composing
|
|
|
|
set fast_reply # skip to compose when replying
|
|
|
|
set askcc # ask for CC:
|
|
|
|
set fcc_attach # save attachments with the body
|
|
|
|
set mime_forward = yes # forward attachments as part of body
|
|
|
|
set forward_format = "Fwd: %s" # format of subject when forwarding
|
|
|
|
set forward_decode # decode when forwarding
|
|
|
|
set attribution = "On %d, %n wrote:" # format of quoting header
|
|
|
|
set reply_to # reply to Reply to: field
|
|
|
|
set reverse_name # reply as whomever it was to
|
|
|
|
set include # include message in replies
|
|
|
|
set forward_quote # include message in forwards
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orge1d1147" class="outline-4">
|
|
|
|
<h4 id="orge1d1147">Headers</h4>
|
|
|
|
<div class="outline-text-4" id="text-orge1d1147">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">ignore * # ignore all headers
|
|
|
|
unignore from: to: cc: date: subject: # show only these
|
2020-01-11 22:04:45 +01:00
|
|
|
unhdr_order *
|
2020-05-26 08:40:15 +02:00
|
|
|
hdr_order from: to: cc: date: subject: # and in this order
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-orge686f6a" class="outline-3">
|
|
|
|
<h3 id="orge686f6a">Sidebar</h3>
|
|
|
|
<div class="outline-text-3" id="text-orge686f6a">
|
2020-01-11 22:04:45 +01:00
|
|
|
</div>
|
|
|
|
<div id="outline-container-org953ed4c" class="outline-4">
|
|
|
|
<h4 id="org953ed4c">General Config</h4>
|
|
|
|
<div class="outline-text-4" id="text-org953ed4c">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf"># Should the Sidebar be shown?
|
|
|
|
set sidebar_visible = yes
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# How wide should the Sidebar be in screen columns?
|
|
|
|
# Note: Some characters, e.g. Chinese, take up two columns each.
|
|
|
|
set sidebar_width = 20
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Should the mailbox paths be abbreviated?
|
|
|
|
set sidebar_short_path = yes
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# When abbreviating mailbox path names, use any of these characters as path
|
|
|
|
# separators. Only the part after the last separators will be shown.
|
|
|
|
# For file folders '/' is good. For IMAP folders, often '.' is useful.
|
|
|
|
set sidebar_delim_chars = '/.'
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# If the mailbox path is abbreviated, should it be indented?
|
|
|
|
set sidebar_folder_indent = yes
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Indent mailbox paths with this string.
|
|
|
|
set sidebar_indent_string = ' '
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Make the Sidebar only display mailboxes that contain new, or flagged,
|
|
|
|
# mail.
|
|
|
|
set sidebar_new_mail_only = no
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Any mailboxes that are whitelisted will always be visible, even if the
|
|
|
|
# sidebar_new_mail_only option is enabled.
|
|
|
|
# sidebar_whitelist '/home/user/mailbox1'
|
|
|
|
# sidebar_whitelist '/home/user/mailbox2'
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# When searching for mailboxes containing new mail, should the search wrap
|
|
|
|
# around when it reaches the end of the list?
|
|
|
|
set sidebar_next_new_wrap = no
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Show the Sidebar on the right-hand side of the screen
|
|
|
|
set sidebar_on_right = no
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# The character to use as the divider between the Sidebar and the other Mutt
|
|
|
|
# panels.
|
|
|
|
# Note: Only the first character of this string is used.
|
|
|
|
set sidebar_divider_char = '│'
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Enable extended buffy mode to calculate total, new, and flagged
|
|
|
|
# message counts for each mailbox.
|
2020-01-11 22:04:45 +01:00
|
|
|
set mail_check_stats
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Display the Sidebar mailboxes using this format string.
|
|
|
|
# set sidebar_format = '%B %?N?(%N)?%* %S'
|
|
|
|
set sidebar_format = '%B %* %?N?[%N]?'
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
# Sort the mailboxes in the Sidebar using this method:
|
|
|
|
# count - total number of messages
|
|
|
|
# flagged - number of flagged messages
|
|
|
|
# new - number of new messages
|
|
|
|
# path - mailbox path
|
|
|
|
# unsorted - do not sort the mailboxes
|
|
|
|
set sidebar_sort_method = 'unsorted'
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org61e4389" class="outline-4">
|
|
|
|
<h4 id="org61e4389">Mailboxes to show in the sidebar.</h4>
|
|
|
|
<div class="outline-text-4" id="text-org61e4389">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">named-mailboxes " Search" =search
|
|
|
|
named-mailboxes " GMAIL" =empty/gmail
|
|
|
|
named-mailboxes " Inbox" =gmail/Inbox
|
|
|
|
named-mailboxes " Sent" =gmail/Sent
|
|
|
|
named-mailboxes " Drafts" =gmail/Drafts
|
|
|
|
named-mailboxes " ﮊ Archive" =gmail/Archive
|
|
|
|
named-mailboxes " Trash" =gmail/Trash
|
|
|
|
named-mailboxes " ESRF" =empty/esrf
|
|
|
|
named-mailboxes " Inbox" =esrf/Inbox
|
|
|
|
named-mailboxes " Sent" =esrf/Sent
|
|
|
|
named-mailboxes " Drafts" =esrf/Drafts
|
|
|
|
named-mailboxes " ﮊ Archive" =esrf/Archive
|
|
|
|
named-mailboxes " Trash" =esrf/Trash
|
|
|
|
named-mailboxes " ULG" =empty/ulg
|
|
|
|
named-mailboxes " Inbox" =ulg/Inbox
|
|
|
|
named-mailboxes " Sent" =ulg/Sent
|
|
|
|
named-mailboxes " Drafts" =ulg/Drafts
|
|
|
|
named-mailboxes " ﮊ Archive" =ulg/Archive
|
|
|
|
named-mailboxes " Trash" =ulg/Trash
|
|
|
|
named-mailboxes " ULIEGE" =empty/uliege
|
|
|
|
named-mailboxes " Inbox" =uliege/Inbox
|
|
|
|
named-mailboxes " Sent" =uliege/Sent
|
|
|
|
named-mailboxes " Drafts" =uliege/Drafts
|
|
|
|
named-mailboxes " ﮊ Archive" =uliege/Archive
|
|
|
|
named-mailboxes " Trash" =uliege/Trash
|
2020-03-19 10:42:30 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-03-19 10:42:30 +01:00
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">unset move
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
<div id="outline-container-org337438a" class="outline-3">
|
|
|
|
<h3 id="org337438a">Attachments</h3>
|
|
|
|
<div class="outline-text-3" id="text-org337438a">
|
2020-01-11 22:04:45 +01:00
|
|
|
</div>
|
|
|
|
<div id="outline-container-org39c5999" class="outline-4">
|
|
|
|
<h4 id="org39c5999">Attachment View Options</h4>
|
|
|
|
<div class="outline-text-4" id="text-org39c5999">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set attach_format = "[%D %t] %2n [%-7.7m/%10.10M] %.40d %> [%s] "
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org7a51e1d" class="outline-4">
|
|
|
|
<h4 id="org7a51e1d">Open Attachment</h4>
|
|
|
|
<div class="outline-text-4" id="text-org7a51e1d">
|
|
|
|
<p>
|
|
|
|
Program to open is defined in the <code>mailcap</code> file.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
A script <code>openfile.sh</code> is used to open files with the default application using <code>xdg-open</code>.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org2107001" class="outline-4">
|
|
|
|
<h4 id="org2107001">Attach multiple files at once</h4>
|
|
|
|
<div class="outline-text-4" id="text-org2107001">
|
|
|
|
<p>
|
2020-01-12 17:28:30 +01:00
|
|
|
First, tag the files you want to send using <code>t</code>, then <code>;</code> to apply the action on
|
|
|
|
all tagged files and finally <code><enter></code> to add them all.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Of ranger can be used with the <code>A</code> keybinding.
|
2020-01-11 22:04:45 +01:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org5faf10e" class="outline-4">
|
|
|
|
<h4 id="org5faf10e">Forgotten Attachment</h4>
|
|
|
|
<div class="outline-text-4" id="text-org5faf10e">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set abort_noattach = ask-yes
|
|
|
|
set abort_noattach_regex = "\\<(attach(|ed|ments?)|(attaché|attachés|attache|attachons|joint|jointe|joints|jointes|joins|joignons))\\>"
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orga483a0d" class="outline-3">
|
|
|
|
<h3 id="orga483a0d">Scripts and other config files</h3>
|
|
|
|
<div class="outline-text-3" id="text-orga483a0d">
|
|
|
|
</div>
|
|
|
|
<div id="outline-container-orge567f97" class="outline-4">
|
|
|
|
<h4 id="orge567f97">Sync Mail script</h4>
|
|
|
|
<div class="outline-text-4" id="text-orge567f97">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-bash">if [ $TMUX ]; then
|
|
|
|
tmux split -v -l 1 checkmail $1 && tmux select-pane -U
|
|
|
|
else
|
|
|
|
checkmail $1
|
|
|
|
fi
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org7f01f4d" class="outline-4">
|
|
|
|
<h4 id="org7f01f4d">Openfile Scripts</h4>
|
|
|
|
<div class="outline-text-4" id="text-org7f01f4d">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-bash">base=$(basename "$1")
|
|
|
|
ext="${base##*.}"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
file=$(mktemp -u --suffix=".$ext")
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
rm -f "$file"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
cp "$1" "$file"
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
setsid xdg-open "$file" >/dev/null 2>&1 &
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgcc8c95f" class="outline-4">
|
|
|
|
<h4 id="orgcc8c95f">urlview Config</h4>
|
|
|
|
<div class="outline-text-4" id="text-orgcc8c95f">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
|
2020-01-11 22:04:45 +01:00
|
|
|
|
|
|
|
COMMAND nohup qutebrowser %s </dev/null &>/dev/null &
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-org55699b6" class="outline-4">
|
|
|
|
<h4 id="org55699b6">Mailcap</h4>
|
|
|
|
<div class="outline-text-4" id="text-org55699b6">
|
|
|
|
<p>
|
|
|
|
Generic
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">text/plain; nvim %s
|
2020-05-26 08:40:15 +02:00
|
|
|
video/*; setsid mpv --quiet %s &
|
|
|
|
image/*; sxiv -a -b %s &
|
|
|
|
application/pdf; zathura %s &
|
2020-01-11 22:04:45 +01:00
|
|
|
audio/*; /usr/bin/xdg-open %s; copiousoutput
|
2020-05-26 08:40:15 +02:00
|
|
|
text/html; export DISPLAY=:0 && setsid qutebrowser %s; nametemplate=%s.html
|
2020-01-11 22:04:45 +01:00
|
|
|
text/html; w3m -I %{charset} -T text/html; copiousoutput;
|
|
|
|
text/calendar; khal import --batch -a home %s && khal printics %s; copiousoutput;
|
|
|
|
application/ics; khal import --batch -a home %s && khal printics %s; copiousoutput;
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Libreoffice
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">application/docx; libreoffice %s --nologo &; copiousoutput;
|
|
|
|
application/doc; libreoffice --nologo %s &; copiousoutput;
|
|
|
|
|
2020-05-26 08:40:15 +02:00
|
|
|
application/vnd.oasis.opendocument.database; libreoffice --nologo --base '%s'; copiousoutput
|
|
|
|
application/vnd.oasis.opendocument.chart; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/vnd.oasis.opendocument.spreadsheet; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/vnd.oasis.opendocument.spreadsheet-template; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/vnd.oasis.opendocument.graphics; libreoffice --nologo --draw '%s'; copiousoutput
|
|
|
|
application/vnd.oasis.opendocument.graphics-template; libreoffice --nologo --draw '%s'; copiousoutput
|
|
|
|
application/vnd.oasis.opendocument.presentation; libreoffice --nologo --impress '%s'; copiousoutput
|
|
|
|
application/vnd.oasis.opendocument.presentation-template; libreoffice --nologo --impress '%s'; copiousoutput
|
|
|
|
application/vnd.oasis.opendocument.formula; libreoffice --nologo --math '%s'; copiousoutput
|
|
|
|
application/vnd.oasis.opendocument.text; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/vnd.oasis.opendocument.text-master; libreoffice --nologo -global '%s'; copiousoutput
|
|
|
|
application/vnd.oasis.opendocument.text-template; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/vnd.oasis.opendocument.text-web; libreoffice --nologo -web '%s'; copiousoutput
|
|
|
|
application/vnd.sun.xml.base; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/vnd.sun.xml.calc; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/vnd.sun.xml.calc.template; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/vnd.sun.xml.draw; libreoffice --nologo --draw '%s'; copiousoutput
|
|
|
|
application/vnd.sun.xml.draw.template; libreoffice --nologo --draw '%s'; copiousoutput
|
|
|
|
application/vnd.stardivision.calc; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/vnd.stardivision.chart; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/vnd.stardivision.draw; libreoffice --nologo --draw '%s'; copiousoutput
|
|
|
|
application/vnd.stardivision.impress; libreoffice --nologo --impress '%s'; copiousoutput
|
|
|
|
application/vnd.stardivision.math; libreoffice --nologo --math '%s'; copiousoutput
|
|
|
|
application/vnd.stardivision.writer-global; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/vnd.stardivision.writer; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/vnd.sun.xml.impress; libreoffice --nologo --impress '%s'; copiousoutput
|
|
|
|
application/vnd.sun.xml.impress.template; libreoffice --nologo --impress '%s'; copiousoutput
|
|
|
|
application/vnd.sun.xml.math; libreoffice --nologo --math '%s'; copiousoutput
|
|
|
|
application/vnd.sun.xml.writer; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/vnd.sun.xml.writer.global; libreoffice --nologo -global '%s'; copiousoutput
|
|
|
|
application/vnd.sun.xml.writer.template; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
text/csv; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
text/spreadsheet; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/x-quattropro; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/x-dbf; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/vnd.ms-excel.sheet.macroEnabled.12; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/vnd.ms-excel.template.macroEnabled.12; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/vnd.openxmlformats-officedocument.spreadsheetml.template; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/vnd.lotus-1-2-3; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/vnd.ms-excel; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/msexcel; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/x-dbase; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
text/x-csv; libreoffice --nologo --calc '%s'; copiousoutput
|
|
|
|
application/vnd.ms-powerpoint.presentation.macroEnabled.12; libreoffice --nologo --impress '%s'; copiousoutput
|
|
|
|
application/vnd.ms-powerpoint.slideshow.macroEnabled.12; libreoffice --nologo --impress '%s'; copiousoutput
|
|
|
|
application/vnd.ms-powerpoint.template.macroEnabled.12; libreoffice --nologo --impress '%s'; copiousoutput
|
|
|
|
application/vnd.openxmlformats-officedocument.presentationml.presentation; libreoffice --nologo --impress '%s'; copiousoutput
|
|
|
|
application/vnd.openxmlformats-officedocument.presentationml.slideshow; libreoffice --nologo --impress '%s'; copiousoutput
|
|
|
|
application/vnd.openxmlformats-officedocument.presentationml.template; libreoffice --nologo --impress '%s'; copiousoutput
|
|
|
|
application/vnd.ms-powerpoint; libreoffice --nologo --impress '%s'; copiousoutput
|
|
|
|
application/mspowerpoint; libreoffice --nologo --impress '%s'; copiousoutput
|
|
|
|
text/mathml; libreoffice --nologo --math '%s'; copiousoutput
|
|
|
|
application/rtf; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/x-t602; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/vnd.wordperfect; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/vnd.ms-word.document.macroEnabled.12; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/vnd.ms-word.template.macroEnabled.12; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/vnd.openxmlformats-officedocument.wordprocessingml.template; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/vnd.ms-works; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/msword; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
application/wordperfect; libreoffice --nologo --writer '%s'; copiousoutput
|
|
|
|
text/rtf; libreoffice --nologo --writer '%s'; copiousoutput
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="postamble" class="status">
|
|
|
|
<p class="author">Author: Dehaeze Thomas</p>
|
2020-05-26 08:40:15 +02:00
|
|
|
<p class="date">Created: 2020-05-26 mar. 08:40</p>
|
2020-01-11 22:04:45 +01:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|