Short bio: Computer Scientist, FOSS supporter (read more)
Tux Machines (TM)-specific
mutt is a well known and much loved mail client well suited to the efficient handling of a large volume of email. One of the things which makes it so powerful is its extreme flexibility and customisation options. The next-generation mutt package builds upon the core mutt with some additional features; most noticeably the introduction of a sidebar, which this article introduces.
To start with I'll explain how my current installation of mutt is configured. When the mail-client starts it reads and parses the per-user configuration file ~/.muttrc if present.
My current ~/.muttrc file consists of one line.
That looks pretty scary, but the result is pretty simple though:
If the file ~/.mutt-HOSTNAME exists it is read and parsed.
Where "HOSTNAME" is the short hostname of the current machine.
Otherwise ~/.mutt-global is read and parsed.
This system allows me to store the configuration specific to a number of different hosts within a single CVS tree without having to worry about replacing ~/.muttrc with the correct one on each machine.