-
# ~/.muttrc
-
# AddiKT1ve <the.addikt1ve@gmail.com>
-
-
# Identification
-
set imap_user = "LOGIN@gmail.com"
-
set imap_pass = "PASSWORD"
-
# Configuration Compte
-
set smtp_url = "smtp://LOGIN@smtp.gmail.com:587/"
-
set smtp_pass = "PASSWORD"
-
set from = "LOGIN@gmail.com"
-
set realname = "LOGIN"
-
# Configuration Gmail
-
set folder = "imaps://imap.gmail.com:993"
-
set spoolfile = "+INBOX"
-
set postponed="+[Gmail]/Drafts"
-
# Utilisation du cache
-
set header_cache=~/.mutt/cache/headers
-
set message_cachedir=~/.mutt/cache/bodies
-
set certificate_file=~/.mutt/certificates
-
set record="~/.mutt/sent"
-
# Une signature
-
set signature="~/.mutt/.signature"
-
-
set move = no
-
-
set sort = ‘threads’
-
set sort_aux = ‘last-date-received’
-
set imap_check_subscribed
-
-
ignore "Authentication-Results:"
-
ignore "DomainKey-Signature:"
-
ignore "DKIM-Signature:"
-
hdr_order Date From To Cc
-
-
# Heures et dates françaises
-
set locale="fr_FR.UTF-8"
-
set charset="utf-8" # character set for your terminal
-
set assumed_charset="utf-8"
-
set send_charset="utf-8:iso-8859-15:us-ascii"
-
set date_format="%A %d %b %Y à %H:%M:%S (%Z)"
-
# Meilleure lisibilité des citations
-
set attribution="Le %d, %n a écrit :"
-
set forward_format="[Fwd: %s]"
-
set forward_quote
-
-
# GPG (optionnel)
-
set pgp_decode_command="gpg %?p?–passphrase-fd 0? –no-verbose –batch –output – %f"
-
set pgp_verify_command="gpg –no-verbose –batch –output – –verify %s %f"
-
set pgp_decrypt_command="gpg –passphrase-fd 0 –no-verbose –batch –output – %f"
-
set pgp_sign_command="gpg –no-verbose –batch –output – –passphrase-fd 0 –armor –detach-sign –textmode %?a?-u %a? %f"
-
set pgp_clearsign_command="gpg –no-verbose –batch –output – –passphrase-fd 0 –armor –textmode –clearsign %?a?-u %a? %f"
-
set pgp_encrypt_only_command="pgpewrap gpg –batch –quiet –no-verbose –output – –encrypt –textmode –armor –always-trust –encrypt-to 0xVOTRECLEF_ID — -r %r — %f"
-
set pgp_encrypt_sign_command="pgpewrap gpg –passphrase-fd 0 –batch –quiet –no-verbose –textmode –output – –encrypt –sign %?a?-u %a? –armor –always-trust –encrypt-to 0xVOTRECLEF_ID — -r %r — %f"
-
set pgp_import_command="gpg –no-verbose –import -v %f"
-
set pgp_export_command="gpg –no-verbose –export –armor %r"
-
set pgp_verify_key_command="gpg –no-verbose –batch –fingerprint –check-sigs %r"
-
set pgp_list_pubring_command="gpg –no-verbose –batch –with-colons –list-keys %r"
-
set pgp_list_secring_command="gpg –no-verbose –batch –with-colons –list-secret-keys %r"
-
set pgp_autosign=yes
-
set pgp_sign_as=0xVOTRECLEF_ID
-
set pgp_replyencrypt=yes
-
set pgp_timeout=1800
-
set pgp_good_sign="^gpg: Good signature from"
-
-
# Couleurs (meilleure lisibilité)
-
color attachment magenta default # attachments
-
color body brightred default "(ftp|http)://[^ ]+" # point out URLs
-
color body brightcyan default [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
-
color bold brightblue default # boldface text
-
color error brightwhite red # error messages
-
color hdrdefault magenta default # default color of message header
-
color header brightmagenta default ^(From): # From and Subject header
-
color header brightwhite default ^(Subject): # From and Subject header
-
color header brightwhite default ^(Date): # Date header
-
color header white default ^(In-Reply-To):
-
color indicator brightred default # indicator bar
-
color markers brightblue default # wrapped line markers (+)
-
color message brightblack green # status messages
-
color normal default default # default
-
color quoted yellow default # quoted text, 1st quote level
-
color quoted1 green default # quoted text, 2nd quote level
-
color quoted2 brightblue default # quoted text, 3rd quote level
-
color quoted3 blue default # quoted text, 4th quoet level
-
color search black yellow # matched search patterns in pager
-
color signature red default # the signature (after sigdashes)
-
color status default blue # status lines
-
color tilde brightblue default # « ~ » used to pad blank lines
-
color tree green default # thread tree in the index menu
-
color underline brightgreen default # underlined text
-
-
# Binding
-
bind index "^" imap-fetch-mail