User Tools

Site Tools


muttrc

This is an old revision of the document!


muttrc is the primary configuration file for mutt. This is an example of a .mutt/muttrc file that has been tested on SLUUG systems.

# Locations
source ~/.mutt/mail_aliases
set alias_file=~/.mutt/mail_aliases
set mailcap_path=~/.mutt/mailcap
set folder=~/mail
set mbox=+/mbox
set postponed=+/postponed
mailboxes +/high_spam +/caught_spam
set record=+/sentmail.log

# Identity
set alternates="^^$USER@([[:alpha:]].sluug.org|luug.org)$"
set from=$USER@mail.sluug.org
set hostname=mail.sluug.org

# Display
ignore *
#unignore from date subject to cc X-SLUUG-MailScanner-SpamCheck
unignore  "From " X-SLUUG-MailScanner-SpamCheck: Date: Sender: Reply-To: From: To: Cc: Subject:
hdr_order "From " X-SLUUG-MailScanner-SpamCheck: Date: Sender: Reply-To: From: To: Cc: Subject:
color error            white    red
color status           white    blue
color message          yellow   blue
color header     brightgreen    black    .
color header           green    black    ^X-SLUUG-MailScanner-SpamCheck:
color header           magenta  black    ^From
color header     brightred      black    ^Subject:
color header           yellow   black    ^Date:
color hdrdefault       black    magenta
color body             black    default  .
mono  error            standout
mono  status           reverse
mono  message          none
mono  hdrdefault       bold

# Reading
set keep_flagged=yes
set move=no
#set delete=yes
set index_format ="%2C %Z %[%m/%d %H%M] %-20.20a %4l %s"
set folder_format="%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f"
set sort=mailbox-order
set wrap_search=no

# MIME
#alternative_order text/html text/plain text

# Sending
set envelope_from=yes
set reverse_name=yes
set sort_alias=unsorted        # In the order received
my_hdr   Bcc:   $USER          # Add blind CC to self by default
set attribution="On %[%b %d, %Y at %H:%M:%S], %n wrote:\n"  # Default: "On %d, %n wrote:"
set indent_string=">"          # Default: "> "

# Misc
set history=50                 # For command recall
set quit=ask-yes               # Only during testing?# Misc
set history=50                 # For command recall
set quit=ask-yes               # Only during testing?
muttrc.1187841176.txt.gz · Last modified: 2007/08/22 22:52 by 4.245.72.1