Mutt, oh Mutt




Boy, I’m lovin’ this thing called mutt! I continue to customize my mutt email client (MUA). I’m just tickled by the level of customization possible with it.

Here are just a few of tonight’s additions to my ~/.muttrc:

set quit=yes # quit without asking

###############################################################################

# COLOR

###############################################################################

#headers:

color header brightgreen black “^to: ”

color header brightgreen black “^cc: ”

color header brightcyan black “^date: ”

color header brightred black “User-Agent:”

color header brightgreen black “^from: ”

color header brightmagenta default “^subject: ”

color body brightyellow default ” [;:=]-*[)>(<|]” # 🙂 etc…

# email addresses

color body brightblue default “[-a-z_0-9.%$]+@[-a-z_0-9.]+\.[-a-z][-a-z]+”

# URLs

color body brightblue default “(http|ftp|news|telnet|finger)://[^ “trn]*”

color body brightblue default “mailto:[-a-z_0-9.]+@[-a-z_0-9.]+”

color body brightblue default “(news|www|ftp).[^ “trn]*”

#Two other approaches to hyperlink matching.

color body brightgreen default “((ftp|http|https)://|(file|mailto|news):|www\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} tnr”()]*[^][{} tnr”().,:!])?/?”

color body brightgreen default “[-a-z_0-9.+]+@[-a-z_0-9.]+”

###############################################################################

# FORMAT

###############################################################################

set folder_format=” %-8s %d %f”

set index_format = “%Z %2C %{%b %d} %-15.15F (%4l) %s”