# .muttrc, paulm: 2002-08-20
# Variables are set in a variety of ways, the explanation buried in
# 3.23 Setting Variables including the quad-option:
# Sort by default using threads
# (see last paragraph of 4.8 Handling Mailing Lists)
# Default sent-mail folder for all outgoing messages
# Mutt will treat the following regex as a pattern for your email
# addresses. It's used amongst other things to remove these addresses
# from recipients in a group reply.
# Add a signature. Note the
| at the end.
# Set a postponed folder, see the
P in 2.4 Sending Mail
# mutt's hook feature allows config commands to apply at certain points,
# e.g. changing folders.
folder-hook Sent set sort=date-sent
# As an experiment I'm keeping my address book in a mutt folder so I
# sort by subject (person's name).
folder-hook contacts set sort=subject
# X-Spam from SpamAssassin I want to see
# List- headers from mailman
# Thread- headers from MS Outlook
# Other headers that aren't that interesting
lists is used in list-reply (
L by default).
lists email@example.com firstname.lastname@example.org email@example.com
# Which mailboxes to check for mail, and in what order
# Hint: Use
^L (Ctrl-L) to force a check.
mailboxes ! =work/interoute =work/DHAP =Personal/Bill =Lists/bikergoths-l
read_inc; how often to update the mailbox reading &
# writing counter. This can really help over slow connections.
# These two macros operate on the index page and report spam
# using Razor. Note the pipe:
# the whole message will be forwarded to the pipe.
# Macros will treat ^M as control sequence,
Return in this case.
macro index S "|/usr/bin/spamassassin -r^Ms=spam^M"
hdr_order From From: Date: To: Cc: Subject:
# The following enables automatic decoding of messages containing HTML.
# In ~/.mailcap have something like,
# text/html; /usr/bin/lynx %s; nametemplate=%s.html
# text/html; /usr/bin/lynx -nolist -dump %s; nametemplate=%s.html; copiousoutput
# Forward attachments
# This is possibly mutt's only obvious weak area. Forwarding attachments
# isn't particularly good. [More details?]
# Prevent asking about moving ! to mbox, and purging deleted messages
# Turn off the help line at the top
set noconfirmappend # Don't ask to append when saving to existing folders.
set forward_format="%s" # Other common values "Fwd: %s"
set read_inc=2000 # How often to update the mailbox reading counter
set write_inc=500 # How often to update the mailbox writing counter
# Include 'O' messages (next-unread), as well as usual 'N' (next-new)
# bind index <tab> next-unread
# bind pager next-unread
# Turn off the exit without saving key (x, by deault), make it exit with
# save (equivalent to by default, q).
bind index x quit
# Send hooks to set outgoing email addresses
send-hook "~C ." \
my_hdr From: Paul Makepeace (http://paulm.com/) <firstname.lastname@example.org>
# Mutt will automatically edit this file and add more aliases here
# To invoke this use the
alias me Don't email this address <email@example.com>