# Main configuration file for Mutt
#
# Maintained by: Luc hermitte
# Last update: 16th Jul 2004
#
# Note:
# Many comments and settings come from Sven Guckes .muttrc
## ========================================================================
# Use default configuration
source "/etc/Muttrc"
############
## Identities
# Set the email address you want as your default 'from' address
set from="Luc Hermitte <hermitte@free.fr>"
# Add the correct name, even when replying to messages addressed at
# "hermitte@free.fr" only.
set realname="Luc Hermitte"
# :my_hdr will be used to overridde the default settings. e.g.:
# my_hdr From: Luc Hermitte (home) <hermitte@free.fr>
# The definition of alternate identities depends on Mutt's version
# source $HOME/.mailrc/muttrc-hook-v1.5.6- -> $alternates
# source $HOME/.mailrc/muttrc-hook-v1.5.6+ -> :alternates
source $HOME/.mailrc/muttrc-hook-v`$HOME/.mailrc/muttrc-chk-ver.sh 1.5.6`
# Signature
set sig_dashes # A signature must always start with a "-- "
#set signature="~/.signature" # file which contains my signature
set signature="echo 'Luc Hermitte'|" # echo my name
# $envelope_from is required in order to use an address recognized by
# the real smtp server not the local one (ie, not Hamster).
set envelope_from =yes
# Use my address as it appears in the message I am replying to
set reverse_name
############
## Account hooks
# 1- Define the global hook that unset variables when specialized hooks
# do not match
# 2- Define the specialized hooks with:
# * hook that does not display anything and is self-sufficient
# (however, the password appear in the .muttrc)
# account-hook imap://imap.domain/ 'set imap_user="login" ; set imap_pass="passwd"'
# mailbox imap://imap.domain/
# mailbox imap://imap.domain/INBOX/folder (with free.fr)
# mailbox imap://imap.domain/folder/ (with Hamster)
# * non-hook that does not display anything and requires the user to enter
# the password
# mailbox imap://login@imap.domain/
# mailbox imap://login@imap.domain/INBOX/folder (with free.fr)
# mailbox imap://login@imap.domain/folder/ (with Hamster)
# * non-hook that does display the password in mutt, and leave it in
# clear in the .muttrc
# the password
# mailbox imap://login:passwd@imap.domain/INBOX/folder (with free.fr)
# mailbox imap://login:passwd@imap.domain/folder/ (with Hamster)
#
# Same thing with pop3 accounts.
account-hook . 'unset imap_user ; unset imap_pass ; unset tunnel'
# Distant imap mailbox
source $HOME/.mailrc/muttrc-accounts-free
# Local mailboxes + other system dependant settings
# -> source $HOME/.mailrc/muttrc-hook-Cygwin_i686
# or $HOME/.mailrc/muttrc-hook-Linux_i686
source $HOME/.mailrc/muttrc-hook-`uname -s`_`uname -m`
# Set the path to where you want incoming (unsorted) mail put
# set spoolfile="$HOME/Mail/spool"
set spoolfile=imap://localhost/
# builtin in fine with the precompiled w32 mutt-1.4
# set dotlock_program='$HOME/bin/mail/mutt_dotlock"
############
# Si patch SMTP
# set sendmail='builtin'
## set smtp_serv = "smtp.free.fr"
## set smtp_user = "hermitte" # log on to $smtp_serv as $smtp_user
## set smtp_pass = "realpassword" # use ESMPT and "AUTH LOGIN"
# set smtp_serv = "localhost"
# set smtp_user = "Luc" # log on to $smtp_serv as $smtp_user
# set smtp_pass = "" # use ESMPT and "AUTH LOGIN"
# Warning: password is sent as plain text (base64 encoded. no encyption)
# Set the path to where you want all your mail files kept
set folder="$HOME/Mail"
## ========================================================================
# Sorted miscelleanous settings.
set abort_unmodified=yes # automatically abort replies if I don't
# change the message
set allow_8bit # never do Q-P encoding on legal 8-bit chars
unset arrow_cursor # use -> instead of hiliting the whole line
set ascii_chars # use ASCII instead of ACS chars for threads
#set askbcc
set askcc
#set attribution="On %d, %n wrote:" # how to attribute replies
set attribution = "* On %d, %n <%a> wrote:" # default
unset autoedit # go to the editor right away when composing
set auto_tag # always operate on tagged messages
set beep_new
# The following seetings seem to work correctly only under Cygwin, with
# Putty as terminal.
set charset="iso-8859-15" # character set for your terminal
# set charset="windows-1252" # character set for your terminal
set send_charset="us-ascii:iso-8859-1:iso-8859-15:utf-8"
# charset-hook us-ascii iso-8859-15
# charset-hook iso-8859-1 iso-8859-15
charset-hook ^us-ascii$ windows-1252
set noconfirmappend # don't ask me if i want to append to mailboxes
set confirmcreate # prompt when creating new files
set copy=yes # always save a copy of outgoing messages
set delete=ask-yes # purge deleted messages without asking
set edit_headers # let me edit the message header when composing
# set editor="builtin" # editor to use when composing messages
# defined into: $HOME/.mailrc/muttrc-hook-`uname -s`_`uname -m`
#set fast_reply # skip initial prompts when replying
#set fcc_attach # keep attachments in copies of sent messages?
set force_name # fcc by recipient, create if mailbox doesn't exist
set followup_to
set forward_decode # weed and MIME decode forwaded messages
#set forward_format="[%a: %s]" # subject to use when forwarding messages
set forw_format="(fwd) %s"
#set forward_quote # quote the header and body of forward msgs
#set hdr_format="%4C %Z %{%m/%d} [%2N] %-15.15F (%4c) %s"
#set hdr_format="%4C %Z %{%m/%d} %-15.15F %4c %s" # format of the index
#set hdrs # include `my_hdr' lines in outgoing messages
#set header # include message header when replying
set help # show the help lines
#set history=20 # number of lines of history to remember
set honor_followup_to
#set hostname="mutt.org" # my DNS domain
set include # always include messages when replying
set indent_string="> " # how to quote replied text
set index_format="%4C %Z %[!%y%m%d] %-17.17F (%3l) %s" # Sven's favourite
# set index_format="%4C %Z %[!%y%m%d] %-17.17L (%3l) %s" # bof!
set locale="fr_FR@euro" # locale to use for printing time
# set locale="C" # locale to use for printing time
set nomark_old # i don't care about whether a message is old
set mail_check=10 # how often to poll for new mail
set mbox=+mbox # where to store read messages
#set menu_scroll # no implicit next-page/prev-page
unset metoo # remove my address when replying
set mime_forward=ask-yes # use message/rfc822 type to forward messages
set nomove # do not move read mails from mailbox to $mbox
#set pager=less # some people prefer an external pager
set pager_context=1 # no. of lines of context to give when scrolling
#set pager_format="-%S- %-20.20f %s" # format of the pager status bar
set pager_format="%S [%C/%T] %n (%l) %s" # Sven's favourite
set pager_index_lines=0 # how many index lines to show in the pager
set pager_stop # don't move to the next message on next-page
#set pgp_strict_enc # use Q-P encoding when needed for PGP
set postponed=+postponed # mailbox to store postponed messages in
#set post_indent_string='---end quoted text---'
#set print=ask-yes # ask me if I really want to print messages
#set print_command=/bin/false # how to print things (I like to save trees)
set noprompt_after # ask me for a command after the external pager exits
#set quote_regexp="^ *[a-zA-Z]*[>:#}]" # how to catch quoted text
set quote_regexp="^ *[a-zA-Z]*[]>|}%:=-][]>|}:=-]*" # YESS!!
set read_inc=10 # show progress when reading a mailbox
set recall=ask-yes # prompt to recall postponed messages
set record=+outbox # default location to save outgoing mail
set reply_to=ask-yes
#set reply_regexp="^(re:[ \t]*)+"# how to identify replies in the subject:
set reply_regexp="^((aw|antw.?|antwort|re([\[0-9\]+])*|r e|r?f|sv):[ \t]*)*"
# set resolve # move to the next message when an action is performed
set nosave_empty # remove files when no messages are left
set save_name # save outgoing messages by recipient, if the
#set sendmail="/usr/lib/sendmail -oi -oem" # how to deliver mail
#set shell="/bin/zsh" # program to use for shell escapes
# I subscribe to a lot of mailing lists, so this is _very_ useful. This
# groups messages on the same subject to make it easier to follow a
# discussion. Mutt will draw a nice tree showing how the discussion flows.
set sort=reverse-threads # primary sorting method
#set sort_aux=reverse-date-received # how to sort subthreads
set sort_aux=date # date of the last message in thread
#set sort_browser=reverse-date # how to sort files in the dir browser
#set status_format="-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b? %l]---(%s)-%>-(%P)---"
#set status_format="%v: %f (%s) [%M/%m] [N=%n,*=%t,post=%p,new=%b]"
set status_format="Mutt --*-- <%f> [%M/%m] [N=%n,*=%t,post=%p,new=%b]"
set status_on_top # some people prefer the status bar on top
set strict_threads # set: use references: for threading only, ie do not
# thread by subject or in-reply-to
#set strict_threads # don't thread by subject
set tilde # virtual lines to pad blank lines in the pager
#set timeout=0 # timeout for prompt in the index menu
set tmpdir=$HOME/temp # where to store temp files
set to_chars=" +TCF"
#set use_8bitmime # enable the -B8BITMIME sendmail flag
#set nouse_domain # don't qualify local addresses with $domain
#set use_from # always generate the `From:' header field
#set pgp_verify_sig=no # don't automatically verify message signatures
#set visual=gvim # editor invoked by ~v in the builtin editor
#set nowait_key # prompt when a pipe returns normal status
set write_inc=10 # show progress while writing mailboxes
## only enable the following IFF you have sendmail 8.8.x or you will not
## be able to send mail!!!
#set dsn_notify='failure,delay' # when to return an error message
#set dsn_return=hdrs # what to return in the error message
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Header fields I don't normally want to see
#
ignore * # this means "ignore all lines by default"
# I do want to see these fields, though!
unignore from: subject: to: cc: mail-followup-to: sender:\
date # this shows how nicely wrap long lines
#
# Priorities should be heeded - even if M$ Outlook calls it "importance"..
unignore priority: importance:
#
# "Org-Lines" - can be fun to read:
unignore organization organisation
#
# see the identification of the "user agent":
#unignore user-agent: x-agent: x-mailer: x-newsreader: x-mailing-list:
# see the identification of the used editor:
#unignore x-editor
#
# recognize CCs from Usenet:
unignore message-id: newsgroups: posted-to: posted-and-mailed:
unignore x-also-posted-to:
#
# this identifies mailing lists -
# see also: 'followup_to' and 'honor_followup_to'
unignore mail-followup-to:
#
# Darned Lotus identifies with "X-Lotus-FromDomain" :-(
#unignore x-lotus
#
# Recognize resent messages (usually lacking proper headers):
# Example header lines:
# X-Resent-By: Global Message Exchange <forwarder@gmx.net>
# X-Resent-For: guckes@gmx.de
# X-Resent-To: guckes@math.fu-berlin.de
unignore resent- x-resent
#
# WebTV is invading us!!! Aiiiee!
unignore x-webtv
#
# Display the delivery address. I need to see this
# from time to time with spams that get into my mailbox. *sigh*
unignore delivered-to
#
# Display the languages that the reader knows about.
# Netscape/Mozilla adds this to the header.
# Example: "X-Accept-Language: en"
unignore x-accept-language
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# User Defined Headers
#
#my_hdr X-Useless-Header: Look ma, it's a \# sign! # real comment
# my_hdr X-Operating-System: `uname -a`
my_hdr X-Operating-System: `uname`
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Specify default filename when saving messages
# save-hook [!]<pattern> <mailbox>
#
# <mailbox> is provided as default when saving messages from <pattern>
#save-hook mutt- =mutt-mail
#save-hook aol\.com +spam
#save-hook ^judge +diplomacy
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Multiple spool mailboxes
# mbox-hook [!]<pattern> <mbox-mailbox>
#
# Read mail in <pattern> is moved to <mbox-mailbox> when <pattern> is
# closed.
#mbox-hook =mutt-users.in =mutt-users
#mbox-hook +TEST +inbox
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Change settings based upon message recipient
# send-hook [!]<pattern> <command>
#
# <command> is executed when sending mail to an address matching <pattern>
#send-hook mutt- 'set signature=~/.sigmutt; my_hdr From: Mutt User <user@example.com>'
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Specify where to save composed messages
# fcc-hook [!]<pattern> <mailbox>
#
# <pattern> is recipient(s), <mailbox> is where to save a copy
fcc-hook combeplume =_fun/combeplume
fcc-hook sasquad =_fun/sasquad
fcc-hook series-awards =_fun/series-awards
fcc-hook scape@ml =_fun/scape
fcc-hook moderateurs-frjv =_fun/frjv
fcc-hook vim =_info/vim
fcc-hook cygwin =_info/cygwin
fcc-hook mutt =_info/mutt
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Change settings based on mailbox
# folder-hook [!]<pattern> <command>
#
# <command> is executed when opening a mailbox matching <pattern>
# typical <pattern> : "~t (name1\\|name2)@domain.cat"
send-hook . unmy_hdr X-Date
send-hook . 'source $HOME/.mailrc/muttrc-hook-dest-default'
send-hook ^scape 'source $HOME/.mailrc/muttrc-hook-dest-scape'
folder-hook ^scape 'source $HOME/.mailrc/muttrc-hook-dest-scape'
folder-hook pcgen 'source $HOME/.mailrc/muttrc-hook-dest-pcgen'
folder-hook vim 'source $HOME/.mailrc/muttrc-hook-dest-vim'
send-hook vim 'source $HOME/.mailrc/muttrc-hook-dest-vim'
folder-hook mutt 'source $HOME/.mailrc/muttrc-hook-dest-mutt'
folder-hook laas 'source $HOME/.mailrc/muttrc-hook-dest-default'
#folder-hook . 'set sort=date-sent'
#folder-hook mutt 'set hdr_format="%4C %Z %02m/%02N %-20.20F (%4l) %s"'
#folder-hook =mutt my_hdr Revolution: \#9 # real comment
#folder-hook . 'set reply_regexp="^re:[ \t]*"'
# this mailing list prepends "[WM]" to all non reply subjects, so set
# $reply_regexp to ignore it
#folder-hook +wmaker 'set reply_regexp="^(re:[ \t]*)?\[WM\][ \t]*"'
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Aliases
# alias <name> <address> [ , <address> ... ]
# 6.3.3 alias_file # The file to use for *saving* new aliases
# It's a frequent misconception that this
# file gets automatically sourced - wrong!
set alias_file=~/.mailrc/aliases_file
set reverse_alias # attempt to look up my names for people
# Thanks to this, Mutt will ask alias to Abook when we hit «Q»
set query_command="abook --mutt-query '%s'"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Mailboxes to watch for new mail
# mailboxes <path1> [ <path2> ... ]
#
mailboxes !
# see $HOME/.mailrc/muttrc-accounts-free
# and $HOME/.mailrc/muttrc-hook-`uname -s`_`uname -m`
# mailboxes =in/-l-vim
# mailboxes =in/-l-scape =in/-l-sasquad \
# =in/-l-frjv =in/-modappbot =in/-l-pcgen
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Specify the order of the headers to appear when displaying a message
# hdr_order <hdr1> [ <hdr2> ... ]
#
unhdr_order * # forget the previous settings
hdr_order Sender: From From: Subject: Organization: Date: Message-Id: User-Agent: X-Editor: X-Mailer: X-Newsreader: X-Agent: To: Cc: Newsgroups: X-Resent Followup-To: Mail-Followup-To: Reply-To:
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Identify mailing lists I subscribe to
#
# lists <list-name> [ <list-name> ... ]
#lists mutt-dev mutt-users
lists mutt-users-fr
subscribe mutt-users-fr
lists vim vim-latex-devel
subscribe vim vim-latex-devel
# lists scape
# subscribe scape
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Automatically use entries from ~/.mailcap to view these MIME types
#
# link to $HOME/.mailrc/mailcap
set mailcap_path="$HOME/.mailrc/mailcap:/usr/local/share/mailcap"
#set use_mailcap=yes # always use a mailcap entry when found
# auto_view <type> [ <type> ... ]
auto_view text/html
#auto_view application/x-gunzip
#auto_view application/x-gzip
# Prefered order for choosing the MIME type to use.
alternative_order text/enriched text/plain text
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Scoring
# score <pattern> <value>
#
# 9999 and -9999 are special values which cause processing of hooks to stop
# at that entry. If you prefix the score with an equal sign (=), the score
# is assigned to the message and processing stops.
#score '~f ^me@cs\.hmc\.edu$' 1000
#score '~t mutt | ~c mutt' =500
#score '~f aol\.com$' -9999
## ========================================================================
## "source": This command tells mutt to
## read other files as if they were another muttrc:
source ~/.mailrc/aliases_file
source ~/.mailrc/muttrc-color
source ~/.mailrc/muttrc-bindings
Generated by vim2html.pl 3.6? on Fri Jul 16 03:47:14 2004