## ========================================================================
## File: $HOME/.muttrc
## Purpose: Setup file for the Mail program "Mutt"
## Last update: mer oct 3 00:29:03 UTC 2001
## ========================================================================
## Author: Badoual Loïc loic {at} badoual.org
## Availability: This file is available as
## <URL:http://www.customlinux.org/configurations/mutt/>
## ========================================================================
reset all # reset all variables to system defaults.
unhook *
#
# Boolean Variables:
#
set allow_8bit # use QP or Base64 if unset.
set edit_headers # put headers in editor when composing messages
unset header # quote full header on reply
unset mark_old # mark new articles as old, when leaving mbox
set markers # put a '+' at the beginning of wrapped lines.
unset wait_key # Only "press a key" if return value non-zero
set followup_to # Add Mail-Followup-To header.
set ignore_list_reply_to # ignore Reply-To pointing back to mailinglist
#
# Quadoptions
#
set copy=yes # always save a copy of outgoing messages
set delete=yes # purge deleted messages without asking
set honor_followup_to=ask-yes # Ask whether to honor Mail-Followup-To header.
set mime_forward=yes # use MIME when forwarding mails.
set move=yes # don't ask about moving messages, just do it
set reply_to=ask-yes # Use or ignore Reply-To.
#
# Integers:
#
set history=200 # Size of the history buffer
set pager_index_lines=10 # how many index lines to show in the pager
#
# Sorting of the mails:
# (date-received, date-sent, from, mailbox-order, size, subject, threads,
# to, score) (and everything with a prefixed "reverse-")
# (sort_aux can be prefixed with "last-" to use last element in thread
# instead of first one)
#
set sort=threads # sorting the mails in threads
set sort_aux=date # sorting the threads
#
# Sortierung im File-Browser:
# (date, alpha, reverse-date, reverse-alpha)
#
set sort_browser=alpha
#
# Sorting of aliases:
# (alias, address, unsorted)
#
set sort_alias=alias
#
# Paths:
# ("unset" implies the compile time defaults)
#
set editor="vim +/^$/"
#set editor="vim -c 'set nobackup' -c 'set tw=72 et' -c 'syn on'"
# editor to use when composing messages
set folder=~/Mail # where i keep my mailboxes
set mbox=+mbox # where to store read messages
set print_command="muttprint"
set record=+outbox # default location to save outgoing mail
set signature='~/.signature' # Signature
set spoolfile='/var/spool/mail/loic'
set query_command="abook --mutt-query '%s'"
#
# Strings:
# ("reset" implies compile time defaults)
#
set indent_string="> " # Quoting mails with this string.
set locale="fr_FR" # locale settings (See send-hook section for changes!)
#
# Magic (mailbox type):
# allowed values: mbox, MMDF, MH, Maildir
#
set mbox_type=mbox
#
# Format-Strings:
#
#set date_format="!%a, %d %b %Y at %H:%M:%S"
# control output of %d in index_format. strftime(3)
# here: Monday Dec 06, 1997 at 08:30:42pm CET
# Allows escape sequences:
# (\n = newline, \r = carriage-return, \t = tab, \f = formfeed)
#
# %a Author address %b original mbox %B destination list or mbox
# %c bytes in message %C Message number
# %d date and time in senders timezone ($date_format)
# %D date and time in local timezone ($date_format)
# %e curr. msg no in thread %E number of msgs in curr. thread
# %f address+real name %F address+realname (unless self)
# %i Message-ID %l number of lines %L list-from function
# %m # of msg in mbox %M number of hidden messages in collapsed thread
# %n author real name %N score %s subject of msg
# %S status of message (N/D/d/!/*/r)
# %t `to:' field %T char from tochars %u login name of author
# %v author's firstname %y X-Label %Y X-Label, if changed
# %Z message status flags
# %>X right justify the rest of the string and pad with character "X"
# %|X pad to the end of the line with character "X"
# %{<s>} sent time+date in senders timezone (<s> is an strftime(3) expression)
# %[<s>] sent time+date in local timezone (<s> is an strftime(3) expression)
# %(<s>) receive time+date in local timezone (<s> is an strftime(3) expression)
# %<<s>> current time in local timezone (<s> is an strftime(3) expression)
# if first char in <s> is "!", do not use locale.
set index_format="%4C %Z %{%d %b} %-15.15F (%4l) %s"
# message line in the index
# don't use locales here, because it's not needed and
# it runs in a memory leak in Linux libc5
# use %[!...] or %{!...} instead
set attribution="On %d, %n wrote:"
# Default Reply-Intro (See send-hook for changes!)
# %C current number %d last modified %f filename
# %F permissions %g group %l number of hard links
# %N "N" if new mail %s size in bytes %t "*" if tagged
# %u owner name %>X right justify the rest and pad with "X"
# %|X pad to the end of the line with character "X"
set folder_format="%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f"
# file browser menu
#
# Pretty Good Privacy (PGP):
#
set pgp_verify_sig=no # ask me whether I want to check a pgp signature
source ~/.mutt/gpg.rc # Start up with GnuPG by default
#
# score <pattern> <value>
# unscore <pattern>
#
# (pattern is something like '~A' (all), '~f aol\.com$', '~s mutt' ...)
# (value is between -9999 and 9999. A prefix '=' sets otherwise incr/decr)
#
unscore *
unset score # turn off scoring
#
# Mailinglists:
# lists adds a mailing list to the list of known mailing lists.
# subscribe adds a mailing list to the list of subscribed mailing lists
# _and_ to the list of known lists.
# unlists removes a mailing list from _both_ lists.
# unsubscribe removes a mailing list from the list of subscribed
#
unlists * # remove all old entries first
subscribe debian-user@lists.debian.org debian-french@lists.debian.org
subscribe debian-user-french@lists.debian.org debian-devel-french@lists.debian.org
subscribe dacode-dev@linuxfr.org dacode-user@linuxfr.org
lists debian-isp@lists.debian.org debian-l10n-french@lists.debian.org
lists confirme@linux-mandrake.com
#
# mailboxes filename [ filename ... ]
# (check the files for new mails. Space cycles between them)
#
mailboxes ! +mbox +Debian_french +Debian_devel_french +Debian_user \
+dacode-user +dacode-dev
#
# Show or suppress headers:
#
ignore * # this means "ignore all lines by default"
unignore from: subject to cc date
# this shows how nicely wrap long lines
#
# Extra headers that I would like added to all my outgoing mail messages.
# Attention: !!! No comments in the (un)my_hdr lines !!!
#
unmy_hdr * # remove all extra headers first.
my_hdr From: Badoual Loic <loic {at} badoual.org>
my_hdr X-Mailer: Mutt (DEBIAN Woody)
#
# hdr_order header1 header2 header3
# (order in which mutt will attempt to present headers)
#
unhdr_order * # reset header order
hdr_order Date: From: To: Cc: Subject:
#
# color terminals:
#
source ~/.mutt/mutt.color
#
# Aliases:
# (called in ~/.muttrc to load them only once)
#
source ~/.mutt/aliases.rc # include all existing aliases
set alias_file="~/.mutt/aliases.rc" # add the Aliases here
#
# folder-hook pattern command
# (pattern "." sets the default)
# (command part has to be quoted "..." now)
#
#folder-hook . set sort=threads
#folder-hook "!" set sort=date-received
folder-hook ~/Mail/Mandrake my_hdr From: BADOUAL Loïc <lbadoual@club-internet.fr>
folder-hook ~/Mail/Debian_isp my_hdr From: loic {at} badoual.org
folder-hook ~/Mail/Debian_traduc my_hdr From: loic {at} badoual.org
# Automatically use entries from ~/.mailcap to view these MIME types
# auto_view <type> [ <type> ... ]
auto_view application/octet-stream
auto_view text/html
auto_view application/msword
auto_view application/doc
macro index a "C/home/users/loic/.tmp/mutt\n\n!~/.mutt/abookadd.pl\n" "create an alias from a message sender"
macro pager a "C/home/users/loic/.tmp/mutt\n\n!~/.mutt/abookadd.pl\n" "create an alias from a message sender"
######################## end of file ######################################