2208 lines
105 KiB
HTML
2208 lines
105 KiB
HTML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<?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-01-11 sam. 21:59 -->
|
||
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
|
<title>Mail Configuration</title>
|
||
|
<meta name="generator" content="Org mode" />
|
||
|
<meta name="author" content="Dehaeze Thomas" />
|
||
|
<style type="text/css">
|
||
|
<!--/*--><![CDATA[/*><!--*/
|
||
|
.title { text-align: center;
|
||
|
margin-bottom: .2em; }
|
||
|
.subtitle { text-align: center;
|
||
|
font-size: medium;
|
||
|
font-weight: bold;
|
||
|
margin-top:0; }
|
||
|
.todo { font-family: monospace; color: red; }
|
||
|
.done { font-family: monospace; color: green; }
|
||
|
.priority { font-family: monospace; color: orange; }
|
||
|
.tag { background-color: #eee; font-family: monospace;
|
||
|
padding: 2px; font-size: 80%; font-weight: normal; }
|
||
|
.timestamp { color: #bebebe; }
|
||
|
.timestamp-kwd { color: #5f9ea0; }
|
||
|
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
|
||
|
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
|
||
|
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
|
||
|
.underline { text-decoration: underline; }
|
||
|
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
|
||
|
p.verse { margin-left: 3%; }
|
||
|
pre {
|
||
|
border: 1px solid #ccc;
|
||
|
box-shadow: 3px 3px 3px #eee;
|
||
|
padding: 8pt;
|
||
|
font-family: monospace;
|
||
|
overflow: auto;
|
||
|
margin: 1.2em;
|
||
|
}
|
||
|
pre.src {
|
||
|
position: relative;
|
||
|
overflow: visible;
|
||
|
padding-top: 1.2em;
|
||
|
}
|
||
|
pre.src:before {
|
||
|
display: none;
|
||
|
position: absolute;
|
||
|
background-color: white;
|
||
|
top: -10px;
|
||
|
right: 10px;
|
||
|
padding: 3px;
|
||
|
border: 1px solid black;
|
||
|
}
|
||
|
pre.src:hover:before { display: inline;}
|
||
|
/* Languages per Org manual */
|
||
|
pre.src-asymptote:before { content: 'Asymptote'; }
|
||
|
pre.src-awk:before { content: 'Awk'; }
|
||
|
pre.src-C:before { content: 'C'; }
|
||
|
/* pre.src-C++ doesn't work in CSS */
|
||
|
pre.src-clojure:before { content: 'Clojure'; }
|
||
|
pre.src-css:before { content: 'CSS'; }
|
||
|
pre.src-D:before { content: 'D'; }
|
||
|
pre.src-ditaa:before { content: 'ditaa'; }
|
||
|
pre.src-dot:before { content: 'Graphviz'; }
|
||
|
pre.src-calc:before { content: 'Emacs Calc'; }
|
||
|
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
|
||
|
pre.src-fortran:before { content: 'Fortran'; }
|
||
|
pre.src-gnuplot:before { content: 'gnuplot'; }
|
||
|
pre.src-haskell:before { content: 'Haskell'; }
|
||
|
pre.src-hledger:before { content: 'hledger'; }
|
||
|
pre.src-java:before { content: 'Java'; }
|
||
|
pre.src-js:before { content: 'Javascript'; }
|
||
|
pre.src-latex:before { content: 'LaTeX'; }
|
||
|
pre.src-ledger:before { content: 'Ledger'; }
|
||
|
pre.src-lisp:before { content: 'Lisp'; }
|
||
|
pre.src-lilypond:before { content: 'Lilypond'; }
|
||
|
pre.src-lua:before { content: 'Lua'; }
|
||
|
pre.src-matlab:before { content: 'MATLAB'; }
|
||
|
pre.src-mscgen:before { content: 'Mscgen'; }
|
||
|
pre.src-ocaml:before { content: 'Objective Caml'; }
|
||
|
pre.src-octave:before { content: 'Octave'; }
|
||
|
pre.src-org:before { content: 'Org mode'; }
|
||
|
pre.src-oz:before { content: 'OZ'; }
|
||
|
pre.src-plantuml:before { content: 'Plantuml'; }
|
||
|
pre.src-processing:before { content: 'Processing.js'; }
|
||
|
pre.src-python:before { content: 'Python'; }
|
||
|
pre.src-R:before { content: 'R'; }
|
||
|
pre.src-ruby:before { content: 'Ruby'; }
|
||
|
pre.src-sass:before { content: 'Sass'; }
|
||
|
pre.src-scheme:before { content: 'Scheme'; }
|
||
|
pre.src-screen:before { content: 'Gnu Screen'; }
|
||
|
pre.src-sed:before { content: 'Sed'; }
|
||
|
pre.src-sh:before { content: 'shell'; }
|
||
|
pre.src-sql:before { content: 'SQL'; }
|
||
|
pre.src-sqlite:before { content: 'SQLite'; }
|
||
|
/* additional languages in org.el's org-babel-load-languages alist */
|
||
|
pre.src-forth:before { content: 'Forth'; }
|
||
|
pre.src-io:before { content: 'IO'; }
|
||
|
pre.src-J:before { content: 'J'; }
|
||
|
pre.src-makefile:before { content: 'Makefile'; }
|
||
|
pre.src-maxima:before { content: 'Maxima'; }
|
||
|
pre.src-perl:before { content: 'Perl'; }
|
||
|
pre.src-picolisp:before { content: 'Pico Lisp'; }
|
||
|
pre.src-scala:before { content: 'Scala'; }
|
||
|
pre.src-shell:before { content: 'Shell Script'; }
|
||
|
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
|
||
|
/* additional language identifiers per "defun org-babel-execute"
|
||
|
in ob-*.el */
|
||
|
pre.src-cpp:before { content: 'C++'; }
|
||
|
pre.src-abc:before { content: 'ABC'; }
|
||
|
pre.src-coq:before { content: 'Coq'; }
|
||
|
pre.src-groovy:before { content: 'Groovy'; }
|
||
|
/* additional language identifiers from org-babel-shell-names in
|
||
|
ob-shell.el: ob-shell is the only babel language using a lambda to put
|
||
|
the execution function name together. */
|
||
|
pre.src-bash:before { content: 'bash'; }
|
||
|
pre.src-csh:before { content: 'csh'; }
|
||
|
pre.src-ash:before { content: 'ash'; }
|
||
|
pre.src-dash:before { content: 'dash'; }
|
||
|
pre.src-ksh:before { content: 'ksh'; }
|
||
|
pre.src-mksh:before { content: 'mksh'; }
|
||
|
pre.src-posh:before { content: 'posh'; }
|
||
|
/* Additional Emacs modes also supported by the LaTeX listings package */
|
||
|
pre.src-ada:before { content: 'Ada'; }
|
||
|
pre.src-asm:before { content: 'Assembler'; }
|
||
|
pre.src-caml:before { content: 'Caml'; }
|
||
|
pre.src-delphi:before { content: 'Delphi'; }
|
||
|
pre.src-html:before { content: 'HTML'; }
|
||
|
pre.src-idl:before { content: 'IDL'; }
|
||
|
pre.src-mercury:before { content: 'Mercury'; }
|
||
|
pre.src-metapost:before { content: 'MetaPost'; }
|
||
|
pre.src-modula-2:before { content: 'Modula-2'; }
|
||
|
pre.src-pascal:before { content: 'Pascal'; }
|
||
|
pre.src-ps:before { content: 'PostScript'; }
|
||
|
pre.src-prolog:before { content: 'Prolog'; }
|
||
|
pre.src-simula:before { content: 'Simula'; }
|
||
|
pre.src-tcl:before { content: 'tcl'; }
|
||
|
pre.src-tex:before { content: 'TeX'; }
|
||
|
pre.src-plain-tex:before { content: 'Plain TeX'; }
|
||
|
pre.src-verilog:before { content: 'Verilog'; }
|
||
|
pre.src-vhdl:before { content: 'VHDL'; }
|
||
|
pre.src-xml:before { content: 'XML'; }
|
||
|
pre.src-nxml:before { content: 'XML'; }
|
||
|
/* add a generic configuration mode; LaTeX export needs an additional
|
||
|
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
|
||
|
pre.src-conf:before { content: 'Configuration File'; }
|
||
|
|
||
|
table { border-collapse:collapse; }
|
||
|
caption.t-above { caption-side: top; }
|
||
|
caption.t-bottom { caption-side: bottom; }
|
||
|
td, th { vertical-align:top; }
|
||
|
th.org-right { text-align: center; }
|
||
|
th.org-left { text-align: center; }
|
||
|
th.org-center { text-align: center; }
|
||
|
td.org-right { text-align: right; }
|
||
|
td.org-left { text-align: left; }
|
||
|
td.org-center { text-align: center; }
|
||
|
dt { font-weight: bold; }
|
||
|
.footpara { display: inline; }
|
||
|
.footdef { margin-bottom: 1em; }
|
||
|
.figure { padding: 1em; }
|
||
|
.figure p { text-align: center; }
|
||
|
.equation-container {
|
||
|
display: table;
|
||
|
text-align: center;
|
||
|
width: 100%;
|
||
|
}
|
||
|
.equation {
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
.equation-label {
|
||
|
display: table-cell;
|
||
|
text-align: right;
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
.inlinetask {
|
||
|
padding: 10px;
|
||
|
border: 2px solid gray;
|
||
|
margin: 10px;
|
||
|
background: #ffffcc;
|
||
|
}
|
||
|
#org-div-home-and-up
|
||
|
{ text-align: right; font-size: 70%; white-space: nowrap; }
|
||
|
textarea { overflow-x: auto; }
|
||
|
.linenr { font-size: smaller }
|
||
|
.code-highlighted { background-color: #ffff00; }
|
||
|
.org-info-js_info-navigation { border-style: none; }
|
||
|
#org-info-js_console-label
|
||
|
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
|
||
|
.org-info-js_search-highlight
|
||
|
{ background-color: #ffff00; color: #000000; font-weight: bold; }
|
||
|
.org-svg { width: 90%; }
|
||
|
/*]]>*/-->
|
||
|
</style>
|
||
|
<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>
|
||
|
<script type="text/javascript">
|
||
|
/*
|
||
|
@licstart The following is the entire license notice for the
|
||
|
JavaScript code in this tag.
|
||
|
|
||
|
Copyright (C) 2012-2020 Free Software Foundation, Inc.
|
||
|
|
||
|
The JavaScript code in this tag is free software: you can
|
||
|
redistribute it and/or modify it under the terms of the GNU
|
||
|
General Public License (GNU GPL) as published by the Free Software
|
||
|
Foundation, either version 3 of the License, or (at your option)
|
||
|
any later version. The code is distributed WITHOUT ANY WARRANTY;
|
||
|
without even the implied warranty of MERCHANTABILITY or FITNESS
|
||
|
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
|
||
|
|
||
|
As additional permission under GNU GPL version 3 section 7, you
|
||
|
may distribute non-source (e.g., minimized or compacted) forms of
|
||
|
that code without the copy of the GNU GPL normally required by
|
||
|
section 4, provided you include this license notice and a URL
|
||
|
through which recipients can access the Corresponding Source.
|
||
|
|
||
|
|
||
|
@licend The above is the entire license notice
|
||
|
for the JavaScript code in this tag.
|
||
|
*/
|
||
|
<!--/*--><![CDATA[/*><!--*/
|
||
|
function CodeHighlightOn(elem, id)
|
||
|
{
|
||
|
var target = document.getElementById(id);
|
||
|
if(null != target) {
|
||
|
elem.cacheClassElem = elem.className;
|
||
|
elem.cacheClassTarget = target.className;
|
||
|
target.className = "code-highlighted";
|
||
|
elem.className = "code-highlighted";
|
||
|
}
|
||
|
}
|
||
|
function CodeHighlightOff(elem, id)
|
||
|
{
|
||
|
var target = document.getElementById(id);
|
||
|
if(elem.cacheClassElem)
|
||
|
elem.className = elem.cacheClassElem;
|
||
|
if(elem.cacheClassTarget)
|
||
|
target.className = elem.cacheClassTarget;
|
||
|
}
|
||
|
/*]]>*///-->
|
||
|
</script>
|
||
|
</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>
|
||
|
<li><a href="#org739cd09">Gmail Account</a></li>
|
||
|
<li><a href="#org900b206">ESRF Account</a></li>
|
||
|
<li><a href="#org3cf98e6">ULG Account</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li><a href="#org672ae70">Send Mails - Msmtp</a>
|
||
|
<ul>
|
||
|
<li><a href="#org9620340">Defaults</a></li>
|
||
|
<li><a href="#orgb75ef6e">Gmail Account</a></li>
|
||
|
<li><a href="#orgea8d054">ESRF Account</a></li>
|
||
|
<li><a href="#orgfc819bb">ULG Account</a></li>
|
||
|
<li><a href="#org7b20d0c">Default Account</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li><a href="#org8e85c4d"><span class="todo TODO">TODO</span> Mail Indexer - Mu</a>
|
||
|
<ul>
|
||
|
<li><a href="#orgd1bb167">Cheatsheet</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<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>
|
||
|
<li><a href="#orga8ec782">Generic</a></li>
|
||
|
<li><a href="#org39630e2">Index and Pager</a></li>
|
||
|
<li><a href="#orgc73598b">Limit</a></li>
|
||
|
<li><a href="#orge5e6fdf">Search</a></li>
|
||
|
<li><a href="#orgc1b78b4">Attachments</a>
|
||
|
<ul>
|
||
|
<li><a href="#org7848e3c">Attach with Ranger Script</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li><a href="#org6b5b778"><span class="todo TODO">TODO</span> Compose</a></li>
|
||
|
<li><a href="#orga459fea">Browser</a></li>
|
||
|
<li><a href="#org1f202eb">Generic</a></li>
|
||
|
<li><a href="#org81e57df">Copy and move mails</a></li>
|
||
|
<li><a href="#orga42fffc">Sidebar</a></li>
|
||
|
<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>
|
||
|
<li><a href="#orgadf2650">Sidebar</a></li>
|
||
|
<li><a href="#orge423775">Message headers</a></li>
|
||
|
<li><a href="#org1023bb0">Attachments</a></li>
|
||
|
<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>
|
||
|
<li><a href="#orgca2bf9a">Configuration</a></li>
|
||
|
<li><a href="#orgebf36fb">Signature</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li><a href="#orgc13752f">ESRF</a>
|
||
|
<ul>
|
||
|
<li><a href="#org90dc618">Configuration</a></li>
|
||
|
<li><a href="#org09529ba">Signature</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li><a href="#orgd5fd652">ULG</a>
|
||
|
<ul>
|
||
|
<li><a href="#orgace0e68">Configuration</a></li>
|
||
|
<li><a href="#org9461e2d">Signature</a></li>
|
||
|
</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>
|
||
|
<li><a href="#org7a1ad11">Sidebar</a>
|
||
|
<ul>
|
||
|
<li><a href="#org953ed4c">General Config</a></li>
|
||
|
<li><a href="#org61e4389">Mailboxes to show in the sidebar.</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li><a href="#orgbcdcaae">Attachments</a>
|
||
|
<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">
|
||
|
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Automatically create missing mailboxes, both locally and on the server</span>
|
||
|
Create Both
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Save the synchronization state files in the relevant directory</span>
|
||
|
SyncState *
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Permanently remove all messages [on the Master/Slave] marked for deletion.</span>
|
||
|
Expunge Both
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-org739cd09" class="outline-3">
|
||
|
<h3 id="org739cd09">Gmail Account</h3>
|
||
|
<div class="outline-text-3" id="text-org739cd09">
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf">IMAPAccount gmail
|
||
|
Host imap.gmail.com
|
||
|
User dehaeze.thomas@gmail.com
|
||
|
PassCmd <span class="org-string">"pass email/dehaeze.thomas@gmail.com"</span>
|
||
|
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
|
||
|
Master :gmail-remote:<span class="org-string">"INBOX"</span>
|
||
|
Slave :gmail-local:Inbox
|
||
|
|
||
|
Channel gmail-Drafts
|
||
|
Master :gmail-remote:<span class="org-string">"[Gmail]/Drafts"</span>
|
||
|
Slave :gmail-local:Drafts
|
||
|
|
||
|
Channel gmail-Sent
|
||
|
Master :gmail-remote:<span class="org-string">"[Gmail]/Sent Mail"</span>
|
||
|
Slave :gmail-local:Sent
|
||
|
|
||
|
Channel gmail-Trash
|
||
|
Master :gmail-remote:<span class="org-string">"[Gmail]/Trash"</span>
|
||
|
Slave :gmail-local:Trash
|
||
|
|
||
|
Channel gmail-All
|
||
|
Master :gmail-remote:<span class="org-string">"[Gmail]/All Mail"</span>
|
||
|
Slave :gmail-local:Archive
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Catch-all for everything else: note that the `Patterns` have to exclude both</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">the remote and local names for all the folders we want to exclude (except</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">"INBOX", which is special-cased, it would seem).</span>
|
||
|
Channel gmail
|
||
|
Master :gmail-remote:
|
||
|
Slave :gmail-local:
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Exclude everything under the internal [Gmail] folder, except the interesting folders</span>
|
||
|
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">
|
||
|
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">For doing a quick sync of just the INBOX with `mbsync gmail-download`.</span>
|
||
|
Channel gmail-download
|
||
|
Master :gmail-remote:<span class="org-string">"INBOX"</span>
|
||
|
Slave :gmail-local:Inbox
|
||
|
Create Slave
|
||
|
Expunge Slave
|
||
|
Sync Pull
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-org900b206" class="outline-3">
|
||
|
<h3 id="org900b206">ESRF Account</h3>
|
||
|
<div class="outline-text-3" id="text-org900b206">
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf">IMAPAccount esrf
|
||
|
Host imaps.esrf.fr
|
||
|
User dehaeze
|
||
|
PassCmd <span class="org-string">"pass email/thomas.dehaeze@esrf.fr"</span>
|
||
|
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
|
||
|
Master :esrf-remote:<span class="org-string">"Inbox"</span>
|
||
|
Slave :esrf-local:Inbox
|
||
|
|
||
|
Channel esrf-Drafts
|
||
|
Master :esrf-remote:<span class="org-string">"Drafts"</span>
|
||
|
Slave :esrf-local:Drafts
|
||
|
|
||
|
Channel esrf-Archive
|
||
|
Master :esrf-remote:<span class="org-string">"Archive"</span>
|
||
|
Slave :esrf-local:Archive
|
||
|
|
||
|
Channel esrf-Sent
|
||
|
Master :esrf-remote:<span class="org-string">"Sent"</span>
|
||
|
Slave :esrf-local:Sent
|
||
|
|
||
|
Channel esrf-Trash
|
||
|
Master :esrf-remote:<span class="org-string">"Trash"</span>
|
||
|
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
|
||
|
Master :esrf-remote:<span class="org-string">"INBOX"</span>
|
||
|
Slave :esrf-local:Inbox
|
||
|
Create Slave
|
||
|
Expunge Slave
|
||
|
Sync Pull
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-org3cf98e6" class="outline-3">
|
||
|
<h3 id="org3cf98e6">ULG Account</h3>
|
||
|
<div class="outline-text-3" id="text-org3cf98e6">
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf">IMAPAccount ulg
|
||
|
Host mail.ulg.ac.be
|
||
|
User thomas.dehaeze@doct.uliege.be
|
||
|
PassCmd <span class="org-string">"pass email/thomas.dehaeze@doct.uliege.be"</span>
|
||
|
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
|
||
|
Master :ulg-remote:<span class="org-string">"Inbox"</span>
|
||
|
Slave :ulg-local:Inbox
|
||
|
|
||
|
Channel ulg-Drafts
|
||
|
Master :ulg-remote:<span class="org-string">"Drafts"</span>
|
||
|
Slave :ulg-local:Drafts
|
||
|
|
||
|
Channel ulg-Archive
|
||
|
Master :ulg-remote:<span class="org-string">"Archive"</span>
|
||
|
Slave :ulg-local:Archive
|
||
|
|
||
|
Channel ulg-Sent
|
||
|
Master :ulg-remote:<span class="org-string">"Sent"</span>
|
||
|
Slave :ulg-local:Sent
|
||
|
|
||
|
Channel ulg-Trash
|
||
|
Master :ulg-remote:<span class="org-string">"Trash"</span>
|
||
|
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
|
||
|
Master :ulg-remote:<span class="org-string">"Inbox"</span>
|
||
|
Slave :ulg-local:Inbox
|
||
|
Create Slave
|
||
|
Expunge Slave
|
||
|
Sync Pull
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</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>
|
||
|
|
||
|
<div id="outline-container-orgb75ef6e" class="outline-3">
|
||
|
<h3 id="orgb75ef6e">Gmail Account</h3>
|
||
|
<div class="outline-text-3" id="text-orgb75ef6e">
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf">account gmail
|
||
|
host smtp.gmail.com
|
||
|
port <span class="org-highlight-numbers-number">587</span>
|
||
|
protocol smtp
|
||
|
from dehaeze.thomas@gmail.com
|
||
|
user dehaeze.thomas@gmail.com
|
||
|
passwordeval <span class="org-string">"pass email/dehaeze.thomas@gmail.com"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-orgea8d054" class="outline-3">
|
||
|
<h3 id="orgea8d054">ESRF Account</h3>
|
||
|
<div class="outline-text-3" id="text-orgea8d054">
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf">account esrf
|
||
|
host smtps.esrf.fr
|
||
|
port <span class="org-highlight-numbers-number">465</span>
|
||
|
protocol smtp
|
||
|
from thomas.dehaeze@esrf.fr
|
||
|
user dehaeze
|
||
|
tls_starttls off
|
||
|
passwordeval <span class="org-string">"pass email/thomas.dehaeze@esrf.fr"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-orgfc819bb" class="outline-3">
|
||
|
<h3 id="orgfc819bb">ULG Account</h3>
|
||
|
<div class="outline-text-3" id="text-orgfc819bb">
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf">account ulg
|
||
|
host smtp.ulg.ac.be
|
||
|
port <span class="org-highlight-numbers-number">587</span>
|
||
|
protocol smtp
|
||
|
from thomas.dehaeze@doct.uliege.be
|
||
|
user s177313
|
||
|
tls_starttls on
|
||
|
passwordeval <span class="org-string">"pass email/thomas.dehaeze@doct.uliege.be"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<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">
|
||
|
<h2 id="org8e85c4d"><span class="todo TODO">TODO</span> Mail Indexer - Mu</h2>
|
||
|
<div class="outline-text-2" id="text-org8e85c4d">
|
||
|
<p>
|
||
|
<a href="http://www.djcbsoftware.nl/code/mu/">http://www.djcbsoftware.nl/code/mu/</a>
|
||
|
</p>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-orgd1bb167" class="outline-3">
|
||
|
<h3 id="orgd1bb167">Cheatsheet</h3>
|
||
|
<div class="outline-text-3" id="text-orgd1bb167">
|
||
|
<p>
|
||
|
<a href="http://www.djcbsoftware.nl/code/mu/cheatsheet.html">http://www.djcbsoftware.nl/code/mu/cheatsheet.html</a>
|
||
|
</p>
|
||
|
</div>
|
||
|
</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
|
||
|
|
||
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">1</span> noop
|
||
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">2</span> noop
|
||
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">3</span> noop
|
||
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">4</span> noop
|
||
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">5</span> noop
|
||
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">6</span> noop
|
||
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">7</span> noop
|
||
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">8</span> noop
|
||
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">9</span> noop
|
||
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">0</span> 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 ) 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
|
||
|
macro index q <span class="org-string">"<shell-escape>if [ $TMUX ]; then tmux detach; fi<enter>"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-orga8ec782" class="outline-4">
|
||
|
<h4 id="orga8ec782">Generic</h4>
|
||
|
<div class="outline-text-4" id="text-orga8ec782">
|
||
|
<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
|
||
|
|
||
|
bind generic,index <span class="org-highlight-numbers-number">0</span> first-entry
|
||
|
bind generic,index $ last-entry
|
||
|
|
||
|
bind generic,index \<span class="org-highlight-numbers-number">031</span> previous-entry <span class="org-comment-delimiter"># </span><span class="org-comment">Mouse wheel</span>
|
||
|
bind generic,index \<span class="org-highlight-numbers-number">005</span> next-entry <span class="org-comment-delimiter"># </span><span class="org-comment">Mouse wheel</span>
|
||
|
|
||
|
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
|
||
|
bind pager <span class="org-highlight-numbers-number">0</span> top
|
||
|
|
||
|
bind pager G bottom
|
||
|
bind pager $ bottom
|
||
|
|
||
|
macro index h <span class="org-string">"<change-folder>?"</span> <span class="org-string">"Go back to the list of mailboxes"</span>
|
||
|
bind pager h exit
|
||
|
bind pager q exit
|
||
|
|
||
|
macro index c <span class="org-string">"<change-folder>?<toggle-mailboxes>"</span> <span class="org-string">"change folder"</span>
|
||
|
|
||
|
bind index,pager u undelete-message
|
||
|
|
||
|
bind index,pager P print-message
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Compose a new email (not a reply) to the sender</span>
|
||
|
bind index,pager @ compose-to-sender
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Marl All message as read</span>
|
||
|
macro index \Cr \
|
||
|
<span class="org-string">"<tag-pattern>~N<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>"</span> \
|
||
|
<span class="org-string">"mark all new as read"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf">bind index za collapse-thread
|
||
|
bind index zA collapse-all <span class="org-comment-delimiter"># </span><span class="org-comment">Missing :folddisable/foldenable</span>
|
||
|
</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
|
||
|
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">
|
||
|
<pre class="src src-conf">macro index,pager o <span class="org-string">"<shell-escape>$HOME/.config/neomutt/bin/get_new_mail.sh<enter>"</span>
|
||
|
macro index,pager O <span class="org-string">"<shell-escape>$HOME/.config/neomutt/bin/get_new_mail.sh -a<enter>"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>
|
||
|
Make quick html view macro
|
||
|
</p>
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf">macro index,pager H <span class="org-string">"<view-attachments><search>html<enter><view-mailcap><exit>"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>
|
||
|
Open mail with Vim
|
||
|
</p>
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf">macro index,pager V <span class="org-string">"<view-attachments><search>plain<enter><view-mailcap><exit>"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">bind index,pager U toggle-new</span>
|
||
|
</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>
|
||
|
|
||
|
<div id="outline-container-orgc1b78b4" class="outline-4">
|
||
|
<h4 id="orgc1b78b4">Attachments</h4>
|
||
|
<div class="outline-text-4" id="text-orgc1b78b4">
|
||
|
<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
|
||
|
|
||
|
macro attach W <save-entry><kill-line>~/Downloads/<enter>y <span class="org-string">"Save entry"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>
|
||
|
Attach multiple files using ranger
|
||
|
</p>
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf">macro compose A <span class="org-string">"<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>"</span> <span class="org-string">"Attach with Ranger"</span>
|
||
|
</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">
|
||
|
<pre class="src src-bash"><span class="org-variable-name">tmpfile</span>=/tmp/rangerpick
|
||
|
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||
|
ranger --choosefiles $<span class="org-variable-name">tmpfile</span> && sed -i <span class="org-string">'s/\s/\\ /g'</span> $<span class="org-variable-name">tmpfile</span> && <span class="org-type">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">awk</span><span class="org-string"><span class="org-sh-quoted-exec"> 'BEGIN {printf "%s", "push "} {printf "%s", "<attach-file>"</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">0</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">"<enter>"}' </span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">tmpfile</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">"</span> > $<span class="org-variable-name">tmpfile</span>
|
||
|
<span class="org-keyword">elif</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-highlight-numbers-number">1</span> == <span class="org-string">"clean"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||
|
<span class="org-type">ls</span> $<span class="org-variable-name">tmpfile</span>
|
||
|
<span class="org-keyword">fi</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-org6b5b778" class="outline-4">
|
||
|
<h4 id="org6b5b778"><span class="todo TODO">TODO</span> 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>
|
||
|
Write html emails using markdown
|
||
|
</p>
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">macro compose M "F pandoc -s -f markdown -t html \ny^T^Utext/html; charset=us-ascii\n"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
|
||
|
<p>
|
||
|
Open another instance of neomutt in readonly mode while composing
|
||
|
</p>
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf">macro compose M <span class="org-string">"<shell-escape>termite -e \"neomutt -R\"<enter>"</span>
|
||
|
</pre>
|
||
|
</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
|
||
|
|
||
|
macro browser h <span class="org-string">"<top-page><select-entry>"</span>
|
||
|
bind browser q exit
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-org1f202eb" class="outline-4">
|
||
|
<h4 id="org1f202eb">Generic</h4>
|
||
|
<div class="outline-text-4" id="text-org1f202eb">
|
||
|
<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">
|
||
|
<pre class="src src-conf">macro index C <span class="org-string">"<copy-message>?<toggle-mailboxes>"</span> <span class="org-string">"copy a message to a mailbox"</span>
|
||
|
macro index M <span class="org-string">"<save-message>?<toggle-mailboxes>"</span> <span class="org-string">"move a message to a mailbox"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-orga42fffc" class="outline-4">
|
||
|
<h4 id="orga42fffc">Sidebar</h4>
|
||
|
<div class="outline-text-4" id="text-orga42fffc">
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf">bind index,pager \Ck sidebar-prev
|
||
|
bind index,pager \Cj sidebar-next
|
||
|
bind index,pager \Cl sidebar-open
|
||
|
|
||
|
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">
|
||
|
<pre class="src src-conf">macro generic,index,pager,editor ,<Space> <span class="org-string">":source ~/.config/neomutt/neomuttrc\n"</span> <span class="org-string">"Reload mutt's configuration file"</span>
|
||
|
</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">
|
||
|
<pre class="src src-conf">macro attach,compose,index,pager \cw <span class="org-string">"\</span>
|
||
|
<span class="org-string"> :set my_tmp_pipe_decode=\$pipe_decode\n\</span>
|
||
|
<span class="org-string"> :set pipe_decode\n\</span>
|
||
|
<span class="org-string"> <pipe-message>urlview\n\</span>
|
||
|
<span class="org-string"> :set pipe_decode=\$my_tmp_pipe_decode\n\</span>
|
||
|
<span class="org-string"> :unset my_tmp_pipe_decode\n"</span> \
|
||
|
<span class="org-string">'call urlview to extract URLs out of a message'</span>
|
||
|
</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">
|
||
|
<pre class="src src-conf">macro index,pager \Cf <span class="org-string">"<shell-escape>mu find --clearlinks --format=links --linksdir=~/.mail/search "</span> \
|
||
|
<span class="org-string">"mu find"</span>
|
||
|
macro index,pager gf <span class="org-string">"<change-folder-readonly>~/.mail/search<enter>"</span> \
|
||
|
<span class="org-string">"mu find results"</span>
|
||
|
</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">
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf">macro index,pager S <span class="org-string">"<pipe-message>$HOME/scripts/mutt-save-org-link.py\n"</span>
|
||
|
</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">
|
||
|
<pre class="src src-python"><span class="org-keyword">import</span> sys
|
||
|
<span class="org-keyword">import</span> email
|
||
|
<span class="org-keyword">import</span> subprocess
|
||
|
<span class="org-keyword">import</span> urllib.parse
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Parse the email from standard input</span>
|
||
|
<span class="org-variable-name">message_bytes</span> = sys.stdin.<span class="org-builtin">buffer</span>.read()
|
||
|
<span class="org-variable-name">message</span> = email.message_from_bytes(message_bytes)
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Grab the relevant message headers</span>
|
||
|
<span class="org-variable-name">message_id</span> = urllib.parse.quote(message[<span class="org-string">'message-id'</span>].strip()[<span class="org-highlight-numbers-number">1</span>:-<span class="org-highlight-numbers-number">1</span>])
|
||
|
<span class="org-variable-name">subject</span> = message[<span class="org-string">'subject'</span>].replace(<span class="org-string">'['</span>, <span class="org-string">'{'</span>).replace(<span class="org-string">']'</span>, <span class="org-string">'}'</span>).replace(<span class="org-string">'\n'</span>, <span class="org-string">' '</span>)
|
||
|
<span class="org-variable-name">subject</span> = (subject[:<span class="org-highlight-numbers-number">75</span>] + <span class="org-string">'..'</span>) <span class="org-keyword">if</span> <span class="org-builtin">len</span>(subject) > <span class="org-highlight-numbers-number">75</span> <span class="org-keyword">else</span> subject
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Ask emacsclient to save a link to the message</span>
|
||
|
<span class="org-variable-name">p</span> = subprocess.Popen([
|
||
|
<span class="org-string">'emacsclient'</span>,
|
||
|
f<span class="org-string">'org-protocol://capture?template=pm&url={message_id}&title={subject}'</span>
|
||
|
])
|
||
|
|
||
|
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
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">basic monocolor screen</span>
|
||
|
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">
|
||
|
<pre class="src src-conf">color index color021 color000 <span class="org-string">"~A"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">All messages</span>
|
||
|
color index brightcolor006 color000 <span class="org-string">"~N"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">New messages</span>
|
||
|
color index color020 color000 <span class="org-string">"~O"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Old messages</span>
|
||
|
color index color020 color000 <span class="org-string">"~Q"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">messages that have been replied to</span>
|
||
|
color index color021 color000 <span class="org-string">"~R"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">read messages</span>
|
||
|
color index color006 color000 <span class="org-string">"~U"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">unread messages</span>
|
||
|
color index color021 color000 <span class="org-string">"~R~p!~F"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">messages to me</span>
|
||
|
color index brightcolor006 color000 <span class="org-string">"~N~p!~F"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">new messages to me</span>
|
||
|
color index brightcolor006 color000 <span class="org-string">"~U~p!~F"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">unread messages to me</span>
|
||
|
color index color005 color000 <span class="org-string">"~F"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">flagged messages</span>
|
||
|
color index color005 color000 <span class="org-string">"~F~p"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">flagged messages to me</span>
|
||
|
color index brightcolor006 color000 <span class="org-string">"~N~F"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">new flagged messages</span>
|
||
|
color index brightcolor006 color000 <span class="org-string">"~N~F~p"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">new flagged messages to me</span>
|
||
|
color index brightcolor006 color000 <span class="org-string">"~U~F~p"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">new flagged messages to me</span>
|
||
|
color index brightcolor000 color001 <span class="org-string">"~D"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">deleted messages</span>
|
||
|
|
||
|
color index brightcolor021 color019 <span class="org-string">"~v~(!~N)"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">collapsed thread with no unread</span>
|
||
|
color index brightcolor006 color019 <span class="org-string">"~v~(~N)"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">collapsed thread with some unread</span>
|
||
|
color index brightcolor006 color019 <span class="org-string">"~N~v~(~N)"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">collapsed thread with unread parent</span>
|
||
|
color index brightcolor005 color019 <span class="org-string">"~v~(~F)!~N"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">collapsed thread with flagged, no unread</span>
|
||
|
color index brightcolor006 color019 <span class="org-string">"~v~(~F~N)"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">collapsed thread with some unread & flagged</span>
|
||
|
color index brightcolor006 color019 <span class="org-string">"~N~v~(~F~N)"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">collapsed thread with unread parent & flagged</span>
|
||
|
color index brightcolor005 color019 <span class="org-string">"~N~v~(~F)"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">collapsed thread with unread parent, no unread inside, but some flagged</span>
|
||
|
color index brightcolor000 color001 <span class="org-string">"~v~(~D)"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">thread with deleted (doesn't differentiate between all or partial)</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-orgadf2650" class="outline-4">
|
||
|
<h4 id="orgadf2650">Sidebar</h4>
|
||
|
<div class="outline-text-4" id="text-orgadf2650">
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf">color sidebar_indicator color000 color021 <span class="org-comment-delimiter"># </span><span class="org-comment">Mailbox is open</span>
|
||
|
color sidebar_highlight color000 color003 <span class="org-comment-delimiter"># </span><span class="org-comment">Mailbox is highlighted</span>
|
||
|
color sidebar_new brightcolor006 color000 <span class="org-comment-delimiter"># </span><span class="org-comment">Mailbox contains new mail</span>
|
||
|
color sidebar_ordinary color021 color000 <span class="org-comment-delimiter"># </span><span class="org-comment">Mailbox contains new mail</span>
|
||
|
</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
|
||
|
color header brightcolor006 color000 <span class="org-string">"^(From)"</span>
|
||
|
color header brightcolor004 color000 <span class="org-string">"^(Subject)"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-org1023bb0" class="outline-4">
|
||
|
<h4 id="org1023bb0">Attachments</h4>
|
||
|
<div class="outline-text-4" id="text-org1023bb0">
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Color if the attachment is autoviewed</span>
|
||
|
color attach_headers brightgreen default <span class="org-string">"Autoview"</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Color only the brackets around the headers</span>
|
||
|
color attach_headers brightyellow default <span class="org-string">"^\\[--"</span>
|
||
|
color attach_headers brightyellow default <span class="org-string">"--]$"</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Color the mime type and the size</span>
|
||
|
color attach_headers green default <span class="org-string">"Type: [a-z]+/[a-z0-9\-]+"</span>
|
||
|
color attach_headers green default <span class="org-string">"Size: [0-9\.]+[KM]"</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Color GPGME signature checks</span>
|
||
|
color attach_headers brightgreen default <span class="org-string">"Good signature from.*"</span>
|
||
|
color attach_headers brightred default <span class="org-string">"Bad signature from.*"</span>
|
||
|
color attach_headers brightred default <span class="org-string">"BAD signature from.*"</span>
|
||
|
color attach_headers brightred default <span class="org-string">"Note: This key has expired!"</span>
|
||
|
color attach_headers brightmagenta default <span class="org-string">"Problem signature from.*"</span>
|
||
|
color attach_headers brightmagenta default <span class="org-string">"WARNING: This key is not certified with a trusted signature!"</span>
|
||
|
color attach_headers brightmagenta default <span class="org-string">" There is no indication that the signature belongs to the owner."</span>
|
||
|
color attach_headers brightmagenta default <span class="org-string">"can't handle these multiple signatures"</span>
|
||
|
color attach_headers brightmagenta default <span class="org-string">"signature verification suppressed"</span>
|
||
|
color attach_headers brightmagenta default <span class="org-string">"invalid node with packet of type"</span>
|
||
|
</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">
|
||
|
<pre class="src src-conf">color body color001 color000 <span class="org-string">"(BAD signature)"</span>
|
||
|
color body color002 color000 <span class="org-string">"(Good signature)"</span>
|
||
|
color body color002 color000 <span class="org-string">"^gpg: Good signature .*"</span>
|
||
|
color body color002 color000 <span class="org-string">"^gpg: "</span>
|
||
|
color body color002 color000 <span class="org-string">"^gpg: BAD signature from.*"</span>
|
||
|
</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">
|
||
|
<pre class="src src-conf">color body color006 color000 <span class="org-string">"([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<>\"]"</span>
|
||
|
</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">
|
||
|
<pre class="src src-conf">color body color006 color000 <span class="org-string">"((@(([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]\\])"</span>
|
||
|
</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">
|
||
|
<pre class="src src-conf"><span class="org-variable-name">set query_command</span>=<span class="org-string">"mu cfind '%s' -o mutt-ab"</span>
|
||
|
|
||
|
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">
|
||
|
<pre class="src src-conf"><span class="org-variable-name">set folder</span> = ~/.mail <span class="org-comment-delimiter"># </span><span class="org-comment">mail location</span>
|
||
|
<span class="org-variable-name">set alias_file</span> = ~/.config/neomutt/alias <span class="org-comment-delimiter"># </span><span class="org-comment">where to store aliases</span>
|
||
|
<span class="org-variable-name">set header_cache</span> = ~/.config/neomutt/cache/headers <span class="org-comment-delimiter"># </span><span class="org-comment">where to store headers</span>
|
||
|
<span class="org-variable-name">set message_cachedir</span> = ~/.config/neomutt/cache/bodies <span class="org-comment-delimiter"># </span><span class="org-comment">where to store bodies</span>
|
||
|
<span class="org-variable-name">set certificate_file</span> = ~/.config/neomutt/certificates <span class="org-comment-delimiter"># </span><span class="org-comment">where to store certs</span>
|
||
|
<span class="org-variable-name">set mailcap_path</span> = ~/.config/neomutt/mailcap <span class="org-comment-delimiter"># </span><span class="org-comment">entries for filetypes</span>
|
||
|
<span class="org-variable-name">set tmpdir</span> = ~/.config/neomutt/temp <span class="org-comment-delimiter"># </span><span class="org-comment">where to keep temp files</span>
|
||
|
</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">
|
||
|
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">set print_command="/usr/bin/muttprint %s -p ctb110c1u"</span>
|
||
|
</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">
|
||
|
<pre class="src src-conf"><span class="org-variable-name">set spoolfile</span> = <span class="org-string">"+gmail/Inbox"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Default inbox</span>
|
||
|
<span class="org-variable-name">set realname</span> = <span class="org-string">"Dehaeze Thomas"</span>
|
||
|
<span class="org-variable-name">set from</span> = <span class="org-string">"dehaeze.thomas@gmail.com"</span>
|
||
|
|
||
|
folder-hook gmail/* source ~/.config/neomutt/accounts/gmail
|
||
|
folder-hook esrf/* source ~/.config/neomutt/accounts/esrf
|
||
|
folder-hook ulg/* source ~/.config/neomutt/accounts/ulg
|
||
|
|
||
|
macro index,pager gu <span class="org-string">"<change-folder>+ulg/Inbox<enter>"</span> <span class="org-string">"go to inbox"</span>
|
||
|
macro index,pager ge <span class="org-string">"<change-folder>+esrf/Inbox<enter>"</span> <span class="org-string">"go to inbox"</span>
|
||
|
macro index,pager gm <span class="org-string">"<change-folder>+gmail/Inbox<enter>"</span> <span class="org-string">"go to inbox"</span>
|
||
|
</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>
|
||
|
<div id="outline-container-orgca2bf9a" class="outline-5">
|
||
|
<h5 id="orgca2bf9a">Configuration</h5>
|
||
|
<div class="outline-text-5" id="text-orgca2bf9a">
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"dehaeze.thomas@gmail.com"</span>
|
||
|
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a gmail"</span>
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Other special folders.</span>
|
||
|
<span class="org-variable-name">set mbox</span> = <span class="org-string">"+gmail/Archive"</span>
|
||
|
unset record <span class="org-comment-delimiter"># </span><span class="org-comment">Don't copy send message to Sent folder: Gmail does that for us</span>
|
||
|
<span class="org-variable-name">set postponed</span> = <span class="org-string">"+gmail/Drafts"</span>
|
||
|
|
||
|
<span class="org-variable-name">set signature</span> = <span class="org-string">"~/.config/neomutt/accounts/gmail.signature"</span>
|
||
|
|
||
|
macro index,pager d \
|
||
|
<span class="org-string">"<save-message>+gmail/Archive<enter>"</span> \
|
||
|
<span class="org-string">"Move message to the Archive"</span>
|
||
|
|
||
|
macro index,pager D \
|
||
|
<span class="org-string">"<save-message>+gmail/Trash<enter>"</span> \
|
||
|
<span class="org-string">"Move message to the Trash"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-orgebf36fb" class="outline-5">
|
||
|
<h5 id="orgebf36fb">Signature</h5>
|
||
|
<div class="outline-text-5" id="text-orgebf36fb">
|
||
|
<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 signatude
|
||
|
</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>
|
||
|
<div id="outline-container-org90dc618" class="outline-5">
|
||
|
<h5 id="org90dc618">Configuration</h5>
|
||
|
<div class="outline-text-5" id="text-org90dc618">
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"thomas.dehaeze@esrf.fr"</span>
|
||
|
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a esrf"</span>
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Other special folders.</span>
|
||
|
<span class="org-variable-name">set mbox</span> = <span class="org-string">"+esrf/Archive"</span>
|
||
|
<span class="org-variable-name">set record</span> = <span class="org-string">"+esrf/Sent"</span>
|
||
|
<span class="org-variable-name">set postponed</span> = <span class="org-string">"+esrf/Drafts"</span>
|
||
|
|
||
|
<span class="org-variable-name">set signature</span> = <span class="org-string">"~/.config/neomutt/accounts/esrf.signature"</span>
|
||
|
|
||
|
macro index,pager d \
|
||
|
<span class="org-string">"<save-message>+esrf/Archive<enter>"</span> \
|
||
|
<span class="org-string">"Move message to the Archive"</span>
|
||
|
|
||
|
macro index,pager D \
|
||
|
<span class="org-string">"<save-message>+esrf/Trash<enter>"</span> \
|
||
|
<span class="org-string">"Move message to the Trash"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-org09529ba" class="outline-5">
|
||
|
<h5 id="org09529ba">Signature</h5>
|
||
|
<div class="outline-text-5" id="text-org09529ba">
|
||
|
<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 signatude
|
||
|
</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>
|
||
|
<div id="outline-container-orgace0e68" class="outline-5">
|
||
|
<h5 id="orgace0e68">Configuration</h5>
|
||
|
<div class="outline-text-5" id="text-orgace0e68">
|
||
|
<div class="org-src-container">
|
||
|
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"thomas.dehaeze@doct.uliege.be"</span>
|
||
|
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"msmtp -a ulg"</span>
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Other special folders.</span>
|
||
|
<span class="org-variable-name">set mbox</span> = <span class="org-string">"+ulg/Archive"</span>
|
||
|
<span class="org-variable-name">set record</span> = <span class="org-string">"+ulg/Sent"</span>
|
||
|
<span class="org-variable-name">set postponed</span> = <span class="org-string">"+ulg/Drafts"</span>
|
||
|
|
||
|
<span class="org-variable-name">set signature</span> = <span class="org-string">"~/.config/neomutt/accounts/ulg.signature"</span>
|
||
|
|
||
|
macro index,pager d \
|
||
|
<span class="org-string">"<save-message>+ulg/Archive<enter>"</span> \
|
||
|
<span class="org-string">"Move message to the Archive"</span>
|
||
|
|
||
|
macro index,pager D \
|
||
|
<span class="org-string">"<save-message>+ulg/Trash<enter>"</span> \
|
||
|
<span class="org-string">"Move message to the Trash"</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-org9461e2d" class="outline-5">
|
||
|
<h5 id="org9461e2d">Signature</h5>
|
||
|
<div class="outline-text-5" id="text-org9461e2d">
|
||
|
<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 signatude
|
||
|
</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">
|
||
|
<pre class="src src-conf"><span class="org-variable-name">set wait_key</span> = no <span class="org-comment-delimiter"># </span><span class="org-comment">shut up, mutt</span>
|
||
|
<span class="org-variable-name">set mbox_type</span> = Maildir <span class="org-comment-delimiter"># </span><span class="org-comment">mailbox type</span>
|
||
|
<span class="org-variable-name">set help</span> = no <span class="org-comment-delimiter"># </span><span class="org-comment">No top bar</span>
|
||
|
<span class="org-variable-name">set timeout</span> = <span class="org-highlight-numbers-number">3</span> <span class="org-comment-delimiter"># </span><span class="org-comment">idle time before scanning</span>
|
||
|
<span class="org-variable-name">set sleep_time</span> = <span class="org-highlight-numbers-number">0</span> <span class="org-comment-delimiter"># </span><span class="org-comment">how long NeoMutt may wait after an error message</span>
|
||
|
<span class="org-variable-name">set mail_check</span> = <span class="org-highlight-numbers-number">0</span> <span class="org-comment-delimiter"># </span><span class="org-comment">minimum time between scans</span>
|
||
|
set delete <span class="org-comment-delimiter"># </span><span class="org-comment">don't ask, just do</span>
|
||
|
unset confirmappend <span class="org-comment-delimiter"># </span><span class="org-comment">don't ask, just do!</span>
|
||
|
set quit <span class="org-comment-delimiter"># </span><span class="org-comment">don't ask, just do!!</span>
|
||
|
<span class="org-variable-name">set mark_old</span> = no <span class="org-comment-delimiter"># </span><span class="org-comment">read/new is good enough for me</span>
|
||
|
set beep_new <span class="org-comment-delimiter"># </span><span class="org-comment">bell on new mails</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">set pipe_decode # strip headers and eval mimes when piping</span>
|
||
|
set thorough_search <span class="org-comment-delimiter"># </span><span class="org-comment">strip headers and eval mimes before searching</span>
|
||
|
<span class="org-variable-name">set send_charset</span>=<span class="org-string">"us-ascii:utf-8:iso-8859-1"</span>
|
||
|
set use_from <span class="org-comment-delimiter"># </span><span class="org-comment">respect the From: address the editor sends back</span>
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Use Vim to compose email, with a few default options.</span>
|
||
|
<span class="org-variable-name">set editor</span> = <span class="org-string">"nvim -c '/\\n--' -c ':noh' -c 'startinsert' -c ':Goyo'"</span>
|
||
|
</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">
|
||
|
<pre class="src src-conf"><span class="org-variable-name">set status_on_top</span> = no
|
||
|
<span class="org-variable-name">set status_chars</span> = <span class="org-string">" *%A"</span>
|
||
|
<span class="org-variable-name">set status_format</span> = <span class="org-string">"───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"</span>
|
||
|
</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">
|
||
|
<pre class="src src-conf"><span class="org-variable-name">set date_format</span> = <span class="org-string">"%d/%m/%y %H:%M"</span>
|
||
|
<span class="org-variable-name">set index_format</span> = <span class="org-string">"[%Z] %D %-20.20F %s"</span>
|
||
|
|
||
|
<span class="org-variable-name">set sort</span> = threads <span class="org-comment-delimiter"># </span><span class="org-comment">like gmail</span>
|
||
|
<span class="org-variable-name">set sort_aux</span> = reverse-last-date-received <span class="org-comment-delimiter"># </span><span class="org-comment">like gmail</span>
|
||
|
set uncollapse_jump <span class="org-comment-delimiter"># </span><span class="org-comment">don't collapse on an unread message</span>
|
||
|
set sort_re <span class="org-comment-delimiter"># </span><span class="org-comment">thread based on regex</span>
|
||
|
<span class="org-variable-name">set reply_regexp</span> = <span class="org-string">"^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"</span>
|
||
|
<span class="org-variable-name">set folder_format</span> = <span class="org-string">"%2C %t %N %8s %f"</span>
|
||
|
</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">
|
||
|
<pre class="src src-conf"><span class="org-variable-name">set pager_index_lines</span> = <span class="org-highlight-numbers-number">10</span> <span class="org-comment-delimiter"># </span><span class="org-comment">number of index lines to show</span>
|
||
|
<span class="org-variable-name">set pager_context</span> = <span class="org-highlight-numbers-number">3</span> <span class="org-comment-delimiter"># </span><span class="org-comment">number of context lines to show</span>
|
||
|
set pager_stop <span class="org-comment-delimiter"># </span><span class="org-comment">don't go to next message automatically</span>
|
||
|
set menu_scroll <span class="org-comment-delimiter"># </span><span class="org-comment">scroll in menus</span>
|
||
|
set tilde <span class="org-comment-delimiter"># </span><span class="org-comment">show tildes like in vim</span>
|
||
|
<span class="org-variable-name">set markers</span> = no <span class="org-comment-delimiter"># </span><span class="org-comment">no ugly plus signs</span>
|
||
|
<span class="org-variable-name">set quote_regexp</span> = <span class="org-string">"^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"</span>
|
||
|
|
||
|
auto_view text/html <span class="org-comment-delimiter"># </span><span class="org-comment">view html automatically</span>
|
||
|
alternative_order text/plain text/enriched text/html <span class="org-comment-delimiter"># </span><span class="org-comment">save html for last</span>
|
||
|
</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">
|
||
|
<pre class="src src-conf">set envelope_from <span class="org-comment-delimiter"># </span><span class="org-comment">which from?</span>
|
||
|
set sig_dashes <span class="org-comment-delimiter"># </span><span class="org-comment">dashes before sig</span>
|
||
|
set sig_on_top <span class="org-comment-delimiter"># </span><span class="org-comment">the signature is just below the response</span>
|
||
|
set edit_headers <span class="org-comment-delimiter"># </span><span class="org-comment">show headers when composing</span>
|
||
|
set fast_reply <span class="org-comment-delimiter"># </span><span class="org-comment">skip to compose when replying</span>
|
||
|
set askcc <span class="org-comment-delimiter"># </span><span class="org-comment">ask for CC:</span>
|
||
|
set fcc_attach <span class="org-comment-delimiter"># </span><span class="org-comment">save attachments with the body</span>
|
||
|
<span class="org-variable-name">set mime_forward</span> = yes <span class="org-comment-delimiter"># </span><span class="org-comment">forward attachments as part of body</span>
|
||
|
<span class="org-variable-name">set forward_format</span> = <span class="org-string">"Fwd: %s"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">format of subject when forwarding</span>
|
||
|
set forward_decode <span class="org-comment-delimiter"># </span><span class="org-comment">decode when forwarding</span>
|
||
|
<span class="org-variable-name">set attribution</span> = <span class="org-string">"On %d, %n wrote:"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">format of quoting header</span>
|
||
|
set reply_to <span class="org-comment-delimiter"># </span><span class="org-comment">reply to Reply to: field</span>
|
||
|
set reverse_name <span class="org-comment-delimiter"># </span><span class="org-comment">reply as whomever it was to</span>
|
||
|
set include <span class="org-comment-delimiter"># </span><span class="org-comment">include message in replies</span>
|
||
|
set forward_quote <span class="org-comment-delimiter"># </span><span class="org-comment">include message in forwards</span>
|
||
|
</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">
|
||
|
<pre class="src src-conf">ignore * <span class="org-comment-delimiter"># </span><span class="org-comment">ignore all headers</span>
|
||
|
unignore from: to: cc: date: subject: <span class="org-comment-delimiter"># </span><span class="org-comment">show only these</span>
|
||
|
unhdr_order *
|
||
|
hdr_order from: to: cc: date: subject: <span class="org-comment-delimiter"># </span><span class="org-comment">and in this order</span>
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-org7a1ad11" class="outline-3">
|
||
|
<h3 id="org7a1ad11">Sidebar</h3>
|
||
|
<div class="outline-text-3" id="text-org7a1ad11">
|
||
|
</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">
|
||
|
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Should the Sidebar be shown?</span>
|
||
|
<span class="org-variable-name">set sidebar_visible</span> = yes
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">How wide should the Sidebar be in screen columns?</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Note: Some characters, e.g. Chinese, take up two columns each.</span>
|
||
|
<span class="org-variable-name">set sidebar_width</span> = <span class="org-highlight-numbers-number">20</span>
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Should the mailbox paths be abbreviated?</span>
|
||
|
<span class="org-variable-name">set sidebar_short_path</span> = yes
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">When abbreviating mailbox path names, use any of these characters as path</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">separators. Only the part after the last separators will be shown.</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">For file folders '/' is good. For IMAP folders, often '.' is useful.</span>
|
||
|
<span class="org-variable-name">set sidebar_delim_chars</span> = <span class="org-string">'/.'</span>
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">If the mailbox path is abbreviated, should it be indented?</span>
|
||
|
<span class="org-variable-name">set sidebar_folder_indent</span> = yes
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Indent mailbox paths with this string.</span>
|
||
|
<span class="org-variable-name">set sidebar_indent_string</span> = <span class="org-string">' '</span>
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Make the Sidebar only display mailboxes that contain new, or flagged,</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">mail.</span>
|
||
|
<span class="org-variable-name">set sidebar_new_mail_only</span> = no
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Any mailboxes that are whitelisted will always be visible, even if the</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">sidebar_new_mail_only option is enabled.</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">sidebar_whitelist '/home/user/mailbox1'</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">sidebar_whitelist '/home/user/mailbox2'</span>
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">When searching for mailboxes containing new mail, should the search wrap</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">around when it reaches the end of the list?</span>
|
||
|
<span class="org-variable-name">set sidebar_next_new_wrap</span> = no
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Show the Sidebar on the right-hand side of the screen</span>
|
||
|
<span class="org-variable-name">set sidebar_on_right</span> = no
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">The character to use as the divider between the Sidebar and the other Mutt</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">panels.</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Note: Only the first character of this string is used.</span>
|
||
|
<span class="org-variable-name">set sidebar_divider_char</span> = <span class="org-string">'│'</span>
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable extended buffy mode to calculate total, new, and flagged</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">message counts for each mailbox.</span>
|
||
|
set mail_check_stats
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Display the Sidebar mailboxes using this format string.</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">set sidebar_format = '%B %?N?(%N)?%* %S'</span>
|
||
|
<span class="org-variable-name">set sidebar_format</span> = <span class="org-string">'%B %* %?N?[%N]?'</span>
|
||
|
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Sort the mailboxes in the Sidebar using this method:</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">count - total number of messages</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">flagged - number of flagged messages</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">new - number of new messages</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">path - mailbox path</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">unsorted - do not sort the mailboxes</span>
|
||
|
<span class="org-variable-name">set sidebar_sort_method</span> = <span class="org-string">'unsorted'</span>
|
||
|
</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">
|
||
|
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">mailboxes \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+search \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+gmail/Inbox \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+gmail/Archive \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+gmail/Drafts \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+gmail/Sent \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+gmail/Trash \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+esrf/Inbox \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+esrf/Archive \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+esrf/Drafts \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+esrf/Sent \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+esrf/Trash \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+ulg/Inbox \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+ulg/Archive \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+ulg/Drafts \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+ulg/Sent \</span>
|
||
|
<span class="org-comment-delimiter"># </span><span class="org-comment">+ulg/Trash \</span>
|
||
|
|
||
|
named-mailboxes <span class="org-string">"  Search"</span> =search
|
||
|
named-mailboxes <span class="org-string">" GMAIL"</span> =empty/gmail
|
||
|
named-mailboxes <span class="org-string">"  Inbox"</span> =gmail/Inbox
|
||
|
named-mailboxes <span class="org-string">"  Sent"</span> =gmail/Sent
|
||
|
named-mailboxes <span class="org-string">"  Drafts"</span> =gmail/Drafts
|
||
|
named-mailboxes <span class="org-string">" ﮊ Archive"</span> =gmail/Archive
|
||
|
named-mailboxes <span class="org-string">"  Trash"</span> =gmail/Trash
|
||
|
named-mailboxes <span class="org-string">" ESRF"</span> =empty/esrf
|
||
|
named-mailboxes <span class="org-string">"  Inbox"</span> =esrf/Inbox
|
||
|
named-mailboxes <span class="org-string">"  Sent"</span> =esrf/Sent
|
||
|
named-mailboxes <span class="org-string">"  Drafts"</span> =esrf/Drafts
|
||
|
named-mailboxes <span class="org-string">" ﮊ Archive"</span> =esrf/Archive
|
||
|
named-mailboxes <span class="org-string">"  Trash"</span> =esrf/Trash
|
||
|
named-mailboxes <span class="org-string">" ULG"</span> =empty/ulg
|
||
|
named-mailboxes <span class="org-string">"  Inbox"</span> =ulg/Inbox
|
||
|
named-mailboxes <span class="org-string">"  Sent"</span> =ulg/Sent
|
||
|
named-mailboxes <span class="org-string">"  Drafts"</span> =ulg/Drafts
|
||
|
named-mailboxes <span class="org-string">" ﮊ Archive"</span> =ulg/Archive
|
||
|
named-mailboxes <span class="org-string">"  Trash"</span> =ulg/Trash
|
||
|
|
||
|
<span class="org-variable-name">set sendmail_wait</span> = <span class="org-highlight-numbers-number">0</span> <span class="org-comment-delimiter"># </span><span class="org-comment">no please don't silently fail, email is important</span>
|
||
|
unset move
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="outline-container-orgbcdcaae" class="outline-3">
|
||
|
<h3 id="orgbcdcaae">Attachments</h3>
|
||
|
<div class="outline-text-3" id="text-orgbcdcaae">
|
||
|
</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">
|
||
|
<pre class="src src-conf"><span class="org-variable-name">set attach_format</span> = <span class="org-string">"[%D %t] %2n [%-7.7m/%10.10M] %.40d %> [%s] "</span>
|
||
|
</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>
|
||
|
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>
|
||
|
</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">
|
||
|
<pre class="src src-conf"><span class="org-variable-name">set abort_noattach</span> = ask-yes
|
||
|
<span class="org-variable-name">set abort_noattach_regex</span> = <span class="org-string">"\\<(attach(|ed|ments?)|(attaché|attachés|attache|attachons|joint|jointe|joints|jointes|joins|joignons))\\>"</span>
|
||
|
</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">
|
||
|
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-variable-name">TMUX</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||
|
tmux split -v -l <span class="org-highlight-numbers-number">1</span> ~/scripts/checkmail.sh $<span class="org-highlight-numbers-number">1</span> && tmux select-pane -U
|
||
|
<span class="org-keyword">else</span>
|
||
|
~/scripts/checkmail.sh $<span class="org-highlight-numbers-number">1</span>
|
||
|
<span class="org-keyword">fi</span>
|
||
|
</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">
|
||
|
<pre class="src src-bash"><span class="org-variable-name">base</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">basename</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||
|
<span class="org-variable-name">ext</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{base##*.}</span></span><span class="org-string">"</span>
|
||
|
|
||
|
<span class="org-variable-name">file</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">mktemp</span> -u --suffix=<span class="org-string">".</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">ext</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||
|
|
||
|
<span class="org-type">rm</span> -f <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">file</span></span><span class="org-string">"</span>
|
||
|
|
||
|
<span class="org-type">cp</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">file</span></span><span class="org-string">"</span>
|
||
|
|
||
|
setsid xdg-open <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">file</span></span><span class="org-string">"</span> >/dev/null <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span> &
|
||
|
</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">
|
||
|
<pre class="src src-conf">REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ ><span class="org-string">"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>"</span>>\):]
|
||
|
|
||
|
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
|
||
|
audio/*; /usr/bin/xdg-open %s; copiousoutput
|
||
|
video/*; setsid mpv --quiet %s &; copiousoutput
|
||
|
image/*; ~/.config/neomutt/bin/openfile.sh %s;
|
||
|
application/pdf; ~/.config/neomutt/bin/openfile.sh %s;
|
||
|
<span class="org-variable-name">text/html; export DISPLAY</span>=:<span class="org-highlight-numbers-number">0</span> && setsid qutebrowser %s; nametemplate=%s.html
|
||
|
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;
|
||
|
|
||
|
application/vnd.oasis.opendocument.database; libreoffice --nologo --base <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.oasis.opendocument.chart; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.oasis.opendocument.spreadsheet; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.oasis.opendocument.spreadsheet-template; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.oasis.opendocument.graphics; libreoffice --nologo --draw <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.oasis.opendocument.graphics-template; libreoffice --nologo --draw <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.oasis.opendocument.presentation; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.oasis.opendocument.presentation-template; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.oasis.opendocument.formula; libreoffice --nologo --math <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.oasis.opendocument.text; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.oasis.opendocument.text-master; libreoffice --nologo -global <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.oasis.opendocument.text-template; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.oasis.opendocument.text-web; libreoffice --nologo -web <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.sun.xml.base; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.sun.xml.calc; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.sun.xml.calc.template; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.sun.xml.draw; libreoffice --nologo --draw <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.sun.xml.draw.template; libreoffice --nologo --draw <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.stardivision.calc; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.stardivision.chart; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.stardivision.draw; libreoffice --nologo --draw <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.stardivision.impress; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.stardivision.math; libreoffice --nologo --math <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.stardivision.writer-global; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.stardivision.writer; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.sun.xml.impress; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.sun.xml.impress.template; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.sun.xml.math; libreoffice --nologo --math <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.sun.xml.writer; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.sun.xml.writer.global; libreoffice --nologo -global <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.sun.xml.writer.template; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
text/csv; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
text/spreadsheet; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/x-quattropro; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/x-dbf; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.ms-excel.sheet.macroEnabled.12; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.ms-excel.template.macroEnabled.12; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.openxmlformats-officedocument.spreadsheetml.template; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.lotus-1-2-3; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.ms-excel; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/msexcel; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/x-dbase; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
text/x-csv; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.ms-powerpoint.presentation.macroEnabled.12; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.ms-powerpoint.slideshow.macroEnabled.12; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.ms-powerpoint.template.macroEnabled.12; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.openxmlformats-officedocument.presentationml.presentation; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.openxmlformats-officedocument.presentationml.slideshow; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.openxmlformats-officedocument.presentationml.template; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.ms-powerpoint; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/mspowerpoint; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
||
|
text/mathml; libreoffice --nologo --math <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/rtf; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/x-t602; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.wordperfect; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.ms-word.document.macroEnabled.12; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.ms-word.template.macroEnabled.12; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.openxmlformats-officedocument.wordprocessingml.template; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/vnd.ms-works; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/msword; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
application/wordperfect; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
text/rtf; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="postamble" class="status">
|
||
|
<p class="author">Author: Dehaeze Thomas</p>
|
||
|
<p class="date">Created: 2020-01-11 sam. 21:59</p>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|