# Sample mutt configuration file # # Michael Velten # # Base configuration # # Let's determine your full name and email address: set from="Forename Surname " # In case that your hostname won't be detected correctly you can explicitly set it here: set hostname=yourhostname.domain # To avoid problems with German special characters use the charcter set ISO-8859-1 or ISO-8859-15: set charset=ISO-8859-1 # Here you can determine your favorite editor for writing messages: set editor=/usr/bin/vim #set editor=$HOME/killsig %s; /usr/bin/vim %s # Comment out when using "killsig" # Skip the bothering prompt for recipient and subject when replying and start immediately with writing message: set fast_reply=yes # Always quote when replying: set include=yes # Mail that belongs together should be displayed in a thread-tree: set sort=thread # Here you can determine your personal attribution line. This string always precedes quotet text: set attribution="* %n <%a> wrote:\n" # Set format of %d. You can use this in your attribution line. (See strftime(3) man page for more infos): set date_format="%A, %d.%m.%y at %H:%M" # The quoting character can be set individually, too: set indent_string="> " # Scrolling line by line in index mode is really a cool thing, isn't it: set menu_scroll=yes # Also very useful in pager mode (even the number of scrolling lines can be set): set pager_context=1 # Mutt can split the screen into halves, so you can watch index + pager simultaneously: set pager_index_lines=5 # Don't jump to next message when at bottom of current message: set pager_stop=yes # Here you can define the location for copies of all outgoing mail: set record=~/outbox # Which MTA (Mail Transport Agent) shall be used for delivering mail: set sendmail="/usr/sbin/sendmail -oem -oi" # sendmail set sendmail="/var/qmail/bin/sendmail -oem -oi" # qmail # Location of your .signature file: set signature=~/.signature # Unless your signature file already contains sigdashes "-- " (without quotation marks) you should enable this option: set sig_dashes=yes # Determine the location of your spool file. All incoming mail is stored there: set spoolfile=/var/spool/mail/yourloginname # sendmail set spoolfile=~/Mailbox # qmail # All aliases are stored in this file: set alias_file=~/.aliases # To initialize the aliases file at startup you have to explicitly define it here: source ~/.aliases # In the first step we are going to weed all headers: ignore * # In the second step we remove the desired headers from the ignore-list: unignore date: from: to: subject: cc: user-agent: x-mailer: # Finally we specify the order for displaying headers: hdr_order date: from: to: subject: cc: user-agent: x-mailer: # # Color configuration # # First we will set the default color of foreground and background: color normal white default # Sets the default color of all header entries: color hdrdefault brightblack default # Assuming that you would like to highlight some headers: color header brightblue default "^from:" color header brightblue default "^subject:" color header brightred default "^user-agent:" color header brightred default "^x-mailer:" # Errors will be printed in red color: color error red default # Sets colors for different quoting levels: color quoted green default color quoted1 yellow default color quoted2 brightblue default # Color of highlighted bar or arrow which marks the focused message: color indicator default blue # Here you can determine the color of thread-trees: color tree green default # Assigns color of headline and footline from which you get various information: color status black red # Highlights signature in color: color signature brightblack default # Displays new messages in another color: color index red default ~N # # Keybinding configuration # # Bindings for index mode. This is where all mail will be listed. Entries are self explanatory, I think: bind index j next-entry bind index k previous-entry bind index l display-message bind index v collapse-thread # Pager mode will be entered when selecting a message: bind pager l next-line bind pager h previous-line bind pager t display-toggle-weed # Some other examples: bind browser l select-entry bind attach l view-attach bind compose f edit-from