{"id":68,"date":"2014-08-24T15:26:33","date_gmt":"2014-08-24T13:26:33","guid":{"rendered":"http:\/\/andreberger.eu\/?p=68"},"modified":"2014-08-31T08:00:00","modified_gmt":"2014-08-31T06:00:00","slug":"mutt","status":"publish","type":"post","link":"https:\/\/andreberger.eu\/?p=68","title":{"rendered":"mutt"},"content":{"rendered":"<p>Command-line e-mail client + news reader\u00a0(org.dyndns.hvkls.mutt)\u00a0<em>\/\/ configuration\u00a0<\/em><!--more--><\/p>\n<p>This &#8216;fat&#8217; build of the Mutt Mail User Agent (MUA) supports\u00a0<span style=\"font-size: 1em; line-height: 1.5;\">IMAP, POP, SSL, GPG, SMIME, SMTP, Header Caches, Compressed Folders\u00a0<\/span><span style=\"font-size: 1em; line-height: 1.5;\">(support dropped in 1.5.20), and is also patched to support NNTP,\u00a0<\/span><span style=\"font-size: 1em; line-height: 1.5;\">so it can act as a simple news-reader.<\/span><\/p>\n<ul>\n<li><a href=\"http:\/\/www.mutt.org\/\" target=\"_blank\">http:\/\/www.mutt.org\/<\/a><\/li>\n<li><a href=\"http:\/\/mutt.org.ua\/download\/current\/\" target=\"_blank\">http:\/\/mutt.org.ua\/download\/current\/<\/a><\/li>\n<\/ul>\n<p><a href=\"http:\/\/mutt.org.ua\/download\/\" target=\"_blank\"> mutt.org.ua<\/a> Patches (Vsevolod Volkov):<\/p>\n<ul>\n<li>vvv.initials<\/li>\n<li>vvv.nntp<\/li>\n<\/ul>\n<p><a href=\"http:\/\/spinnaker.de\" target=\"_blank\">spinnaker.de<\/a> Patches (Roland Rosenfeld):<\/p>\n<ul>\n<li>rr.compressed patch (support dropped in 1.5.20)<\/li>\n<\/ul>\n<p><a href=\"http:\/\/andreberger.eu\/?p=26\">hvkls.dyndns.org<\/a> Patches:<\/p>\n<ul>\n<li>\/\/compose.c<br \/>\n78c78<br \/>\n&lt; HDR_ATTACH = (HDR_FCC + 5) \/* where to start printing the attachments *\/<br \/>\n&#8212;<br \/>\n&gt; HDR_ATTACH = (HDR_FCC + 0) \/* where to start printing the attachments *\/<br \/>\n81,82c81,82<br \/>\n&lt; #define HDR_XOFFSET 14<br \/>\n&lt; #define TITLE_FMT &#8220;%14s&#8221; \/* Used for Prompts\u00a0which are ASCII *\/<br \/>\n&#8212;<br \/>\n&gt; #define HDR_XOFFSET 10<br \/>\n&gt; #define TITLE_FMT &#8220;%10s&#8221; \/* Used for Prompts\u00a0which are ASCII *\/<\/li>\n<\/ul>\n<p>Version History<\/p>\n<ul>\n<li>1.5.23+nntp-4 Fixed typo in package description<\/li>\n<li>1.5.23+nntp-3\u00a0Added dependency\u00a0to org.dyndns.hvkls.repository<\/li>\n<\/ul>\n<p>Mutt Setup Hints<\/p>\n<ul>\n<li># Adapt to small display<br \/>\nset compose_format=&#8221;Compose: %l Atts: %a&#8221;<br \/>\nset folder_format=&#8221;%f %s %d&#8221;<br \/>\nset index_format=&#8221;%2M%Z%[%m%d] %-3.3I %s&#8221;<br \/>\nset narrow_tree=yes<br \/>\nset pager_index_lines=0<br \/>\nset ignore_linear_white_space=yes<\/li>\n<li># Use the &lt;space&gt; and &lt;backspace&gt; keys to scroll line-wise, &lt;Ctrl f&gt; and &lt;Ctrl b&gt; to scroll page-wise<br \/>\nbind compose &lt;backspace&gt; previous-entry<br \/>\nbind compose &lt;space&gt; next-entry<br \/>\nbind compose \\cb previous-page<br \/>\nbind compose \\cf next-page<br \/>\nbind alias &lt;backspace&gt; previous-entry<br \/>\nbind alias &lt;space&gt; next-entry<br \/>\nbind alias \\cb previous-page<br \/>\nbind alias \\cf next-page<br \/>\nbind browser &lt;backspace&gt; previous-entry<br \/>\nbind browser &lt;space&gt; next-entry<br \/>\nbind browser \\cb previous-page<br \/>\nbind browser \\cf next-page<br \/>\nbind index &lt;backspace&gt; previous-entry<br \/>\nbind index &lt;space&gt; next-entry<br \/>\nbind index \\cb previous-page<br \/>\nbind index \\cf next-page<br \/>\nbind postpone &lt;backspace&gt; previous-entry<br \/>\nbind postpone &lt;space&gt; next-entry<br \/>\nbind postpone \\cb previous-page<br \/>\nbind postpone \\cf next-page<\/li>\n<li># Headers<br \/>\nignore *<br \/>\nunignore from: date: subject: to: cc: reply-to: x-mailing-list:<br \/>\nunhdr_order *<br \/>\nhdr_order Sender: From From: Reply-To: Subject: Newsgroups: Organization: Date: Message-Id: To: Cc: X-Resent Followup-To: Mail-Followup-To: In-Reply-To: X-Mailing-List User-Agent: X-Editor: X-Mailer: X-Newsreader: X-Agent: X-Face: X- Accept-Language:<\/li>\n<li># Vim as the message editor<br \/>\nset editor=&#8221;vim -c&#8217;set syn=mail tw=69 nosta sts=0 ts=2 et ls=0 noru sbr= noshowcmd statusline=&#8217; -c&#8217;:silent! :norm GO'&#8221;<\/li>\n<li># esmtp with logging<br \/>\nset sendmail=&#8221;\/usr\/local\/bin\/esmtp -X <em>$HOME\/esmtp.log<\/em>&#8220;<\/li>\n<li># Printing<br \/>\nprint_command=&#8221;tlpr -&#8220;<\/li>\n<li># simulate the old url menu (&lt;Ctrl b&gt; calls urlview)<br \/>\nmacro index \\cb &#8220;|urlview\\n&#8221; &#8216;Extract Links (call urlview to extract URLs out of a message)'&#8221;<br \/>\nmacro pager \\cb &#8220;|urlview\\n&#8221; &#8216;Extract Links (call urlview to extract URLs out of a message)&#8217;<\/li>\n<li># Gmail mutt Setup (thanks Jean Christophe)<br \/>\nset imap_user=&#8221;username@gmail.com&#8221;<br \/>\nset imap_pass=&#8221;password&#8221;<br \/>\nset spoolfile=&#8221;imaps:\/\/imap.gmail.com:993\/INBOX&#8221;<br \/>\nset folder=&#8221;imaps:\/\/imap.gmail.com:993&#8243;<br \/>\nset postponed=&#8221;+[Gmail]\/Drafts&#8221;<br \/>\nset copy=no<br \/>\nset certificate_file=&#8221;<em>~\/.mutt\/certificates<\/em>&#8220;<\/li>\n<\/ul>\n<p>Gmail Setup<\/p>\n<ul>\n<li>mkdir -p <em>~\/.authenticate ~\/.mutt\/certificate<\/em>s<br \/>\nchmod 0700 <em style=\"color: #000000; font-family: sans-serif; font-size: medium; line-height: normal;\">~\/.authenticate ~\/.mutt\/certificates<br \/>\n<\/em>cd <em style=\"color: #000000; font-family: sans-serif; font-size: medium; line-height: normal;\">\/tmp<br \/>\n<\/em>wget &#8211;no-check-certificate https:\/\/www.verisign.com\/support\/thawte-roots.zip<br \/>\nunzip thawte-roots.zip<br \/>\nmv <em style=\"color: #000000; font-family: sans-serif; font-size: medium; line-height: normal;\">Thawte\\ SSLWeb\\ Server\\ Roots\/thawte\\ Premium\\ Server\\ CA\/Thawte\\ Premium\\ Server\\ CA.pem ~\/.authenticate\/ca.pem<br \/>\n<\/em>echo &#8216;identity = username@gmail.com<br \/>\nhostname = smtp.gmail.com:587<br \/>\nusername = &#8220;username@gmail.com&#8221;<br \/>\npassword = &#8220;password&#8221;<br \/>\nstarttls = required&#8217; &gt; <em style=\"color: #000000; font-family: sans-serif; font-size: medium; line-height: normal;\">~\/.esmtprc<br \/>\n<\/em>chmod 0600 <em style=\"color: #000000; font-family: sans-serif; font-size: medium; line-height: normal;\">\/var\/root\/.authenticate\/ca.pem ~\/.esmtprc<\/em><\/li>\n<\/ul>\n<p>Esmtp Setup hints<\/p>\n<ul>\n<li>See the <a title=\"esmtp\" href=\"http:\/\/andreberger.eu\/?p=49\">esmtp<\/a> <a href=\"http:\/\/esmtp.sourceforge.net\/manual.html\" target=\"_blank\">manual<\/a> for details.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Command-line e-mail client + news reader\u00a0(org.dyndns.hvkls.mutt)\u00a0\/\/ configuration\u00a0<\/p>\n","protected":false},"author":2,"featured_media":339,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,4],"tags":[],"class_list":["post-68","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-configuration","category-hvkls-ios-repository","excerpt","zoom","full-without-featured","even","excerpt-0"],"publishpress_future_action":{"enabled":false,"date":"2026-05-20 14:19:23","action":"change-status","newStatus":"private","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/andreberger.eu\/index.php?rest_route=\/wp\/v2\/posts\/68","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andreberger.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andreberger.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andreberger.eu\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/andreberger.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=68"}],"version-history":[{"count":14,"href":"https:\/\/andreberger.eu\/index.php?rest_route=\/wp\/v2\/posts\/68\/revisions"}],"predecessor-version":[{"id":319,"href":"https:\/\/andreberger.eu\/index.php?rest_route=\/wp\/v2\/posts\/68\/revisions\/319"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/andreberger.eu\/index.php?rest_route=\/wp\/v2\/media\/339"}],"wp:attachment":[{"href":"https:\/\/andreberger.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andreberger.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andreberger.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}