[vox-tech] HOWTO: fiddle with mutt

Mike Simons vox-tech@lists.lugod.org
Thu, 01 May 2003 15:19:14 -0400


--mFHiwr52TKrxpkjc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I figured posting some .muttrc style changes would be of interested=20
to people.  Here are part of my ~/.mutt/muttrc file...=20

  If anyone else has mutt tips or tricks send them along.

    Later,
      Mike

- alternates: is a list of names mutt will recognize as you... so that
  it will flag the messages with '+' for only to you, 'T' to you and
  some other people, 'C' for you are cc'ed on the email, 'F' you
  sent the email.

- my aliases are stored in a separate file ~/.mutt/aliases

- all outbound mail is copied into ~/Mail/sent

- the pager does not put '+' marks at the beginning of wrapped lines
  (makes pasting long urls much easier :)

- When showing a mail message. show only a very small number of headers
  are show to me in default mode, I can see the rest if I want by=20
  pressing 'h'.

- there is a list of mailboxes which procmail makes for me from
  lists I'm on... hitting 'y' from inside mutt or running 'mutt -y'
  will give me a overview of which mailboxes have new mail.
  hitting 'r' will refresh this list of mailboxes, they will be sorted
  newest mailbox first.

- The default sort order is threaded, and the youngest message in a
  thread controls what order they display in (threads with newest messages
  on bottom).

- I want my mail pgp-signed and mutt should forget my pass-phrase=20
  if I haven't sent a message in 8 hours (or when I hit ^F)


=3D=3D=3D
# my_hdr From: msimons@moria.simons-clan.com

# mail addresses that are really all mine
set alternates=3D
# set alternates=3D+|(Mike.Simons@wcom.com)|(msimons@fizban.sgum.mci.com)
set alternates=3D+|(msimons@moria.simons-clan.com)|(sys@lugod.org)

set alias_file=3D~/.mutt/aliases   # which file holds email aliases
set alias_format=3D"%2n %t %-10a   %r"
source ~/.mutt/aliases           # source that list now


set record=3D"~/Mail/sent"         # where to save sent messages
set copy=3Dyes                     # actually save sent messages
set pager_context=3D1              # when scrolling, how many lines stay?
set pager_index_lines=3D0          # how large is the index window?
set pager_stop=3Dno                # don't flip messages
set mark_old=3Dno         # when leaving a box don't mark new messages old
set read_inc=3D10         # while reading mbox, count message every X
set markers=3Dno          # don't put '+' at the beginning of wrapped lines


# Sven's draconian header weeding
# nuke all headers, allow normal headers, allow special headers
ignore *
unignore from: date subject to cc
unignore x-mailing-list: posted-to:


## Maiboxes. =3D means ~/mail/, ! is /var/spool/mail/$USER
set mbox=3D!
mailboxes ! =3Dlist/calteg \
  =3Dlist/picnix =3Dlist/sc2 =3Dlist/libwww \
  =3Dlist/va =3Dlist/vo =3Dlist/vout =3Dlist/vt =3Dlist/vox \
  =3Dlist/apt
# lists linux-kernel
# =3Dlist/mailm \

# Macros: make 'y' go to mailbox screen from index and browser
macro index "y" "c?\t"
macro browser "y" "\t\t"


set sort=3Dthreads                 # default sort messages by thread
set sort_browser=3Dreverse-date    # showing mbox list default to newest fi=
rst
set sort_aux=3Dlast-date-received  # showing threads with youngest message =
last

bind index \' next-unread        # move to the next unread message
bind browser r check-new         # refresh file list on ^L

set pgp_autosign                 # sign messages being sent
set pgp_timeout=3D28800            # remember the pgp key for at least

--=20
GPG key: http://simons-clan.com/~msimons/gpg/msimons.asc
Fingerprint: 524D A726 77CB 62C9 4D56  8109 E10C 249F B7FA ACBE

--mFHiwr52TKrxpkjc
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+sXMy4Qwkn7f6rL4RAio1AJ9Wlx43XuE4AlImny0il/vbQjNYdQCbB7Tf
Qow0doV1YjzfpSBoJkM64vI=
=Jv1x
-----END PGP SIGNATURE-----

--mFHiwr52TKrxpkjc--