<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>My first mutt</title><link>https://mutt.postle.net/</link><description>Recent content on My first mutt</description><generator>Hugo</generator><language>en-gb</language><copyright>Copyright 2001-2026 Bruno Postle and others. This guide is released under the Free Documentation License.</copyright><lastBuildDate>Mon, 31 Aug 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://mutt.postle.net/index.xml" rel="self" type="application/rss+xml"/><item><title>mutt overview</title><link>https://mutt.postle.net/overview/</link><pubDate>Sat, 25 Aug 2001 14:39:58 +0000</pubDate><guid>https://mutt.postle.net/overview/</guid><description>&lt;p&gt;From now on, this guide is going to assume that you have mutt installed locally, start by typing &lt;strong&gt;mutt&lt;/strong&gt; in your console and hit &lt;strong&gt;enter&lt;/strong&gt;. You may get a couple of warnings straight away; Don&amp;rsquo;t worry, let mutt create a &lt;strong&gt;~/Mail&lt;/strong&gt; folder in your home directory and don&amp;rsquo;t panic if there is no spoolfile for your username - This won&amp;rsquo;t be created until you actually receive some mail.&lt;/p&gt;
&lt;h2 id="the-index-viewer"&gt;The &lt;em&gt;index&lt;/em&gt; viewer&lt;/h2&gt;
&lt;p&gt;When you launch mutt, the first thing you see is a screen with a list of email messages. This initial menu is called the &lt;em&gt;index&lt;/em&gt;.&lt;/p&gt;</description></item><item><title>Mail accounts</title><link>https://mutt.postle.net/accounts/</link><pubDate>Mon, 31 Aug 2026 00:00:00 +0000</pubDate><guid>https://mutt.postle.net/accounts/</guid><description>&lt;h2 id="where-does-your-mail-actually-live"&gt;Where does your mail actually live?&lt;/h2&gt;
&lt;p&gt;This guide was written when a Unix machine received its own mail: messages were delivered over SMTP to a local mailspool, and mutt simply read the file. That still works, and if it describes your setup you can skip this page.&lt;/p&gt;
&lt;p&gt;For nearly everybody else, mail lives on somebody else&amp;rsquo;s IMAP server - Gmail, Microsoft 365, Fastmail, Proton, a university, a hosting company. So the first job is connecting mutt to that account. There are two ways to do it, and you can change your mind later:&lt;/p&gt;</description></item><item><title>Mail storage</title><link>https://mutt.postle.net/storage/</link><pubDate>Tue, 21 Aug 2001 23:00:11 +0000</pubDate><guid>https://mutt.postle.net/storage/</guid><description>&lt;h2 id="system-mailspool-and-home-archives"&gt;System mailspool and home archives&lt;/h2&gt;
&lt;p&gt;By default, mutt looks for your inbox mailfolder in the system &lt;em&gt;mailspool&lt;/em&gt;. This mailspool is usually an mbox file somewhere like &lt;strong&gt;/var/spool/mail/$USER&lt;/strong&gt; (where $USER is &lt;em&gt;your&lt;/em&gt; username). To find out where your mailspool is, type this command in your shell:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;echo $MAIL
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Your mailspool is just one folder and you should only use it for current mail. Keep old mail archives and filter mailing-lists to mailfolders somewhere in your home directory. By default mutt looks for these folders in the &lt;strong&gt;~/Mail/&lt;/strong&gt; directory.&lt;/p&gt;</description></item><item><title>Collecting mail</title><link>https://mutt.postle.net/collecting/</link><pubDate>Wed, 22 Aug 2001 14:37:30 +0000</pubDate><guid>https://mutt.postle.net/collecting/</guid><description>&lt;h2 id="mutt-doesnt-want-to-collect-your-mail"&gt;Mutt doesn&amp;rsquo;t want to collect your mail&lt;/h2&gt;
&lt;p&gt;In an ideal world, all your email arrives automatically at the machine that you use to read your mail - you just open up your mailspool and find it there. If this is the case for you, then you don&amp;rsquo;t need to read this page.&lt;/p&gt;
&lt;p&gt;The rest of us are in the situation where the final destination of our email is some IMAP or POP3 mailserver hosted by somebody else. Mutt can talk to that server directly, and if your connection is fast and reliable that may be all you ever need - see the mail accounts section.&lt;/p&gt;</description></item><item><title>Text editing</title><link>https://mutt.postle.net/editing/</link><pubDate>Wed, 22 Aug 2001 14:41:10 +0000</pubDate><guid>https://mutt.postle.net/editing/</guid><description>&lt;h2 id="mutt-doesnt-edit-text"&gt;Mutt doesn&amp;rsquo;t edit text&lt;/h2&gt;
&lt;p&gt;When you reply-to or start a new email, mutt creates a temporary file, fills it with quoted-text and/or your signature, and opens it in an external text editor for you to compose your message. When you have finished, you save the message and mutt takes it from there.&lt;/p&gt;
&lt;p&gt;It is up to you and your editor what the message contains. In particular mutt will not stop you from overquoting, bad-spelling or typing in lines that are just too long.&lt;/p&gt;</description></item><item><title>Sending mail</title><link>https://mutt.postle.net/sending/</link><pubDate>Sun, 12 Aug 2001 14:33:08 +0000</pubDate><guid>https://mutt.postle.net/sending/</guid><description>&lt;h2 id="mutt-talks-smtp"&gt;Mutt talks SMTP&lt;/h2&gt;
&lt;p&gt;Mutt has had its own SMTP client since version 1.5.15, so for most people sending mail is one line of configuration:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;set smtp_url = &amp;quot;smtps://you@example.com@smtp.example.com/&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Mutt will connect to that server itself and hand over the message. Authentication works exactly as it does for IMAP, and is covered in the mail accounts section - if reading your mail works, sending it almost certainly will too.&lt;/p&gt;
&lt;p&gt;Check your build has it by looking for &lt;em&gt;+USE_SMTP&lt;/em&gt; in the output of:&lt;/p&gt;</description></item><item><title>Filtering mail</title><link>https://mutt.postle.net/filtering/</link><pubDate>Sun, 12 Aug 2001 14:29:11 +0000</pubDate><guid>https://mutt.postle.net/filtering/</guid><description>&lt;h2 id="mutt-doesnt-filter-mail"&gt;Mutt doesn&amp;rsquo;t filter mail&lt;/h2&gt;
&lt;p&gt;You wouldn&amp;rsquo;t want every single piece of incoming email dropped straight into your mailspool. There are things that you want to do with mail as it comes in: removing spam, sorting mailing lists into their respective folders and even altering the content - This is a job for a mail-filter.&lt;/p&gt;
&lt;p&gt;Where that filtering happens depends on where your mail lives. If it arrives on a server you control, filter it there as it is delivered. If it sits in somebody else&amp;rsquo;s IMAP account, filter it there, on their server, before it ever reaches you. Persuading mutt to sort mail that has already arrived is hard and is not going to be very satisfactory.&lt;/p&gt;</description></item><item><title>Searching mail</title><link>https://mutt.postle.net/searching/</link><pubDate>Tue, 21 Aug 2001 22:57:44 +0000</pubDate><guid>https://mutt.postle.net/searching/</guid><description>&lt;h2 id="pattern-matching-with-regular-expressions"&gt;Pattern matching with regular expressions&lt;/h2&gt;
&lt;p&gt;Mutt has powerful regular expression matching for searching, tagging mail and limiting the message view - but only within a single mailfolder.&lt;/p&gt;
&lt;p&gt;If regular expressions are new to you or just plain scary, don&amp;rsquo;t panic: mutt will look at your search word and attempt a simple search for you. For example:&lt;/p&gt;
&lt;p&gt;In the &lt;em&gt;index&lt;/em&gt; view, hit the &lt;strong&gt;/&lt;/strong&gt; key to &lt;em&gt;search&lt;/em&gt; all the visible messages. Now, instead of entering a regular expression that you want to match, simply type the word you want to search for: &lt;strong&gt;joe&lt;/strong&gt; , then hit &lt;strong&gt;enter&lt;/strong&gt;. Mutt will translate this into the regular expression: &lt;strong&gt;~f joe | ~s joe&lt;/strong&gt;. The mutt cursor will jump to the next message with the word &lt;strong&gt;joe&lt;/strong&gt; in the message&amp;rsquo;s headers &lt;em&gt;From:&lt;/em&gt; or &lt;em&gt;Subject:&lt;/em&gt;. You can repeat the search and find the next matching message by hitting &lt;strong&gt;n&lt;/strong&gt; for &lt;em&gt;search-next&lt;/em&gt;.&lt;/p&gt;</description></item><item><title>Cryptography</title><link>https://mutt.postle.net/cryptography/</link><pubDate>Wed, 22 Aug 2001 14:39:42 +0000</pubDate><guid>https://mutt.postle.net/cryptography/</guid><description>&lt;p&gt;Email transport is a fundamentally insecure system; messages can be easily intercepted, altered, forged and snooped without much evidence that this has happened. One way of preventing interception and eavesdropping is to encrypt the network connection.&lt;/p&gt;
&lt;p&gt;That part is now solved and mutt does the right thing without being asked. Use &lt;em&gt;imaps&lt;/em&gt; , &lt;em&gt;pops&lt;/em&gt; and &lt;em&gt;smtps&lt;/em&gt; rather than their unencrypted equivalents, as described in the mail accounts section; mutt&amp;rsquo;s &lt;strong&gt;ssl_force_tls&lt;/strong&gt; setting, on by default, means it will refuse to talk to a remote server in the clear even if you get the URL wrong.&lt;/p&gt;</description></item><item><title>File attachments</title><link>https://mutt.postle.net/attachments/</link><pubDate>Wed, 22 Aug 2001 14:45:24 +0000</pubDate><guid>https://mutt.postle.net/attachments/</guid><description>&lt;h2 id="mime"&gt;MIME&lt;/h2&gt;
&lt;p&gt;There is one standard technique for sending multimedia through email, it&amp;rsquo;s called MIME and mutt supports both sending and receiving it. MIME is an acronym for Multipurpose Internet Mail Extensions; you should read a &lt;a href="https://en.wikipedia.org/wiki/MIME" title="MIME is an acronym for Multipurpose Internet Mail Extensions"&gt;MIME overview&lt;/a&gt; if you are interested in how it works and why it came to exist.&lt;/p&gt;
&lt;h2 id="mailcap"&gt;~/.mailcap&lt;/h2&gt;
&lt;p&gt;Mutt, like many other mime aware tools, refers to the mailcap configuration file for instructions on viewing different types of mime-encoded mail attachments.&lt;/p&gt;</description></item><item><title>Following links</title><link>https://mutt.postle.net/following-links/</link><pubDate>Sat, 25 Aug 2001 14:08:45 +0000</pubDate><guid>https://mutt.postle.net/following-links/</guid><description>&lt;h2 id="urls"&gt;URLs&lt;/h2&gt;
&lt;p&gt;People can include Uniform Resource Locators (URLs) in email. URLs are internet links such as &lt;a href="http://www.mutt.org/"&gt;http://www.mutt.org/&lt;/a&gt; or mailto:bruno@postle.net. You could just copy these with a mouse, then paste them into whatever program and visit them that way - this would be awkward at best.&lt;/p&gt;
&lt;h2 id="your-terminal-may-already-do-it"&gt;Your terminal may already do it&lt;/h2&gt;
&lt;p&gt;Before installing anything, try clicking a link. Most terminal emulators now detect URLs in the text and make them clickable, usually with a modifier key held down, and many also support explicit &lt;a href="https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda" title="Hyperlinks in terminal emulators"&gt;OSC 8 hyperlinks&lt;/a&gt;. If yours does, that may be all you need.&lt;/p&gt;</description></item><item><title>Managing addresses</title><link>https://mutt.postle.net/addresses/</link><pubDate>Wed, 22 Aug 2001 14:47:37 +0000</pubDate><guid>https://mutt.postle.net/addresses/</guid><description>&lt;h2 id="the-alias-file"&gt;The alias file&lt;/h2&gt;
&lt;p&gt;Mutt has built-in support for managing email addresses with the &lt;strong&gt;alias&lt;/strong&gt; command. To tell mutt about a new email address, you can enter the alias directly:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;:alias mutt-users Mutt Users List &amp;lt;mutt-users@mutt.org&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Mutt will forget this alias when it restarts, so permanently add it to your &lt;strong&gt;.muttrc&lt;/strong&gt; file or, better, keep them in a file of their own that mutt writes to and reads back:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;set alias_file = ~/.mutt/aliases
source ~/.mutt/aliases
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The mutt &lt;code&gt;&amp;lt;create-alias&amp;gt;&lt;/code&gt; command, bound to &lt;strong&gt;a&lt;/strong&gt; by default, creates a permanent alias entry based on the currently selected message and appends it to that file.&lt;/p&gt;</description></item><item><title>About this guide</title><link>https://mutt.postle.net/about/</link><pubDate>Sat, 13 Oct 2001 11:58:09 +0000</pubDate><guid>https://mutt.postle.net/about/</guid><description>&lt;p&gt;This guide is aimed at people who are new to mutt. The existing documentation - the manual, various howtos, the FAQ - is excellent as reference material but assumes you already know how the underlying system works. New users often don&amp;rsquo;t, particularly if they are arriving from a graphical mailer, and what they need first is an overview of which pieces exist and which of them they actually have to care about.&lt;/p&gt;</description></item></channel></rss>