User Tools

Site Tools


mutt

This is an old revision of the document!


mutt

Mutt is a small but very powerful text based program for reading electronic mail, including support for menus and scrolling, color terminals, MIME, POP, IMAP, and a threaded sorting mode.

General documentation for use of mutt:

  • You can put your personal mutt configuration in ~/.muttrc or ~/.mutt/muttrc. Using a dedicated directory allows putting related files, such as mailcap and aliases, in the same place.
  • Documentation in the man page is minimal, must use browser to view the manual. The location will vary between installations. It might be:
    • /usr/share/doc/mutt/html/manual.html
    • /usr/share/doc/mutt-1.4i/html/manual.html
    • /usr/local/doc/mutt/manual.txt
  • Also see the mutt home page at http://www.mutt.org/
  • Probliems with documentation:
    • The documentation refers to commands, but doesn't clearly say how how to run them when running mutt. Prefix commands with ":" when you enter while running mutt. This is not needed within coufiguration files such as muttrc.
    • Figuring out and remembering the single key aliases are bound to commands is difficult.
  • Details on configuration options might be available in the system muttrc that might be: /etc/Muttrc Samples might be available in
    • /usr/share/doc/mutt/examples/
    • /usr/share/doc/mutt-1.4i/samples/
    • /usr/local/doc/mutt/samples/
  • Examples of configuration files that work on SLUUG systems are in muttrc mailcap and mail_aliases.
  • Mutt automatically figures out the format of mailboxes it reads. You can specify the format of mailboxes you create using the "mbox_type" configuration variable. The supported mailbox formats are mbox, MMDF, MH and Maildir. The default is mbox.
  • How to do default bcc or cc of yourself.

Features:

  • Can attach files to mail you send. It is also handles and displays attachment to seceived mail.
    • You will probably need to configure a mailcap file matching attachment types with viewers for them.
  • Can read and write mail files compressed with bzip2 and gzip.
  • Highly customizable, but difficult to learn.

Usage problems seen:

  • When reading a mailbox, the Page Down key advances through a message and silently on to the next message when the end of the first is reached. The Page Up key scrolls up within a document, but doesn't go to the previous message when the top is received.
  • When viewing a message, the up and down arrow keys don't scroll up and down within that message, they switch to the previous and next message in the mailbox. The Home and End keys move to the top and bottom within a message.
  • To scroll up and down a line at a time or half a screen at a time. TBD.

Transition from "mail" command:

  • Configuration from .mailrc to .muttrc:
    • Can directly use the alias statements. If the alias statements enclose the values in quotes, you will have to remove the quotes.
    • Use the same statements to specify headers to hide. There is also an unignore statement that is more useful, and a hdr_order statenebt to always display them in the same order. You can also use the color and mono statements to highlight different headers.
  • Tilde escapes are not supported for composing and sending messages.

Transition from "elm" command:

  • TBD.

Configuration to access SLUUG servers:

mutt.1188146640.txt.gz · Last modified: 2007/08/26 11:44 by 4.245.20.29