# Auré
# Mon muttrc à moi qu'il est beau
# Ne marche pas sans abook ni lbdb (pour la gestion des alias et la recherche)

# Common options
source ~/.mutt/common
# Singatures GPG
source ~/.mutt/gpg

#
# Custom de l'interface de mutt
#
# On ajoute le nombre de messages dans un thread: %M et la taille du message en
# ko: %c (par rapport à la conf normale)
set index_format="%4C %2N %Z %-12.12B %{%b %d}  %-20.20n  (%4c) %2M %s %> "
set quote_regexp="^([ \t]*[|>:}#])+"
set status_format="%h %v  %r  %f  [Msgs:%?M?%M/?%m%?n?  New:%n?%?o?  Old:%o?%?d?  Del:%d?%?F?  Flag:%F?%?t?  Tag:%t?%?p?  Post:%p?%?b?  Inc:%b?%?l?  %l?]   (%V)   (%s/%S) %> (%P)"
# si le thread est fermé, mutt ouvrira le thread & jumpera jusqu'au mail non lu
set uncollapse_jump = yes
# ferme les threads si ils ne contiennent pas de mails non lus
#unset collapse_unread

#
# Les scores
#
set score=yes
source ~/.mutt/scores

#
# Mes headers à moi
#
# utiliser mon adresse comme elle apparait dans les message
set reverse_name
my_hdr From: Aurélien Beaujean <aure@nospam.com>
# From: en fonction de la provenance du mail
send-hook	. 				'my_hdr From: Aurélien Beaujean <aure@nospam.com>'
#send-hook	efrei\.fr			'my_hdr From: Aurélien Beaujean <aure@nospam.com>'
send-hook	effor\.org			'my_hdr From: Aurélien Beaujean <aure@nospam.com>'
send-hook	debian\.org			'my_hdr From: Aurélien Beaujean <aure@nospam.com>'
send-hook	proxad\.net			'my_hdr From: Aurélien Beaujean <aure@nospam.com>'
send-hook	corp\.free\.fr			'my_hdr From: Aurélien Beaujean <aure@nospam.com>'
send-hook	beaujean\.org			'my_hdr From: Aurélien Beaujean <aure@nospam.com>'
#send-hook	'~C club-linux@efrei\.fr$'	'my_hdr Reply-To: aure@nospam.com'
#send-hook	'~C es-unix@efrei\.fr$'		'my_hdr Reply-To: aure@nospam.com'

#
# Folder list et mailing lists
#
mailboxes !
mailboxes =crontab
mailboxes =doublons
mailboxes =spam

lists effor es-unix efreitel efrei-linux club-linux faluche webteam annuaire millesime es-igloo barracuda effor-web extranet linuxecoles conichoa freedns-users vapor brice presidents-assos aurelien
subscribe effor es-unix efreitel efrei-linux club-linux faluche webteam annuaire millesime es-igloo barracuda effor-web extranet linuxecoles conichoa freedns-users vapor brice presidents-assos aurelien

#
#  Les couleurs
#
# Sujets ou expéditeurs particuliers
color index	red		black "~s AFAIRE"
color index	red		black "~s TODO"
color index	brightblue	black "~C efrei.fr"
color index	green		black "~C corp.free.fr"
color index	green		black "~C proxad.net"
color index	yellow		black "~C nospam@efrei.fr"
color index	yellow		black "~C nospam@efrei.fr"
color index	cyan		black "~C enlive"
color index	brightgreen	black "~C sport24.com"