dotfiles/mutt/muttrc
2015-01-29 18:18:20 +01:00

124 lines
3.5 KiB
Text

############################
##### ATTENTION - /!\ ######
# Fichier sur git, #
# Accessible publiquement #
# Ne pas mettre de mdp en #
# clair ! #
############################
macro index <f2> '<change-folder>imaps://frank_mail@villaro-dixon.eu<enter>'
folder-hook 'frank_mail@villaro-dixon.eu' 'source ~/.mutt/account.frank'
# switch to default account on startup
source ~/.mutt/account.frank
set my_frank_smtp_pass=`~/.mutt/unlock-pass.sh frank_smtp`
set my_frank_imap_pass=`~/.mutt/unlock-pass.sh frank_imap`
### MOTS DE PASSE
###source "~/.mutt/unlock-pass.sh |"
#set from = "Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>"
#set realname = "Frank Villaro-Dixon"
#set smtp_url = "smtp://frank_mail@villaro-dixon.eu:587/"
#set hostname = villaro-dixon.eu
#
#set imap_user = "frank_mail"
#set folder = "imaps://villaro-dixon.eu:993"
## Keep IMAP connection alive by polling intermittently (time in seconds).
#set imap_keepalive = 300
#set spoolfile = "+INBOX"
#mailboxes =INBOX =UNIGE =SPAM =BITFLIP
##Bien ajouter le "+" devant !!!
#set postponed = "+Drafts"
## Where to save sent messages ?
#set record = "+Sent"
##Passwords:
####source "gpg -d ~/.mutt/passwords.gpg |"
#source "~/.mutt/unlock-pass.sh |"
# Change the following line to a different editor you prefer.
#set editor = "vim"
set editor="$HOME/.mutt/killsig %s; /usr/bin/vim %s"
set imap_check_subscribed
# Allow Mutt to open new imap connection automatically.
unset imap_passive
#how often to check
set mail_check = 120
bind index "^" imap-fetch-mail
unset mark_old #Do not mark new messages as old after closing mutt
set beep_new
set timeout = 300
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates
set move = no
set include
set sort = 'threads'
set sort_aux = 'reverse-last-date-received'
set auto_tag = yes
set abort_unmodified=ask-yes #réponse non modifiée
set fast_reply="yes" # Yeah, I know what person I want to reply to!
set attribution="On %d, %n, wrote %c characters saying:"
set indent_string="> "
#set max_line_length = 80
#set stuff_quoted
set text_flowed
set followup_to=no
ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc
alternative_order text/plain text/html *
auto_view text/html
#bind editor <Tab> complete-query
bind editor ^T complete
bind editor <space> noop
set pager_stop = yes
# Gmail-style keyboard shortcuts
#macro index,pager y "<enter-command>unset trash\n <delete-message>" "Gmail archive message"
#macro index,pager d "<enter-command>set trash=\"imaps://imap.googlemail.com/[GMail]/Bin\"\n <delete-message>" "Gmail delete message"
#macro index,pager gi "<change-folder>=INBOX<enter>" "Go to inbox"
#macro index,pager ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
#macro index,pager gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages"
#macro index,pager gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
set certificate_file=~/.mutt/certificates/cert
set tmpdir=/dev/shm/
source ~/.mutt/colors.test1
source ~/.mutt/crypto
# LISTE DE CONTACTS
#set query_command="~/.mutt/grep_ldap.sh '%s'"
#Alias
set alias_file=~/.mutt/alias
set sort_alias = alias
set reverse_alias = yes
source $alias_file
set date_format="%y-%m-%d %T"
set index_format="%2C | %Z [%d] %-30.30F (%-4.4c) %s"
set sleep_time=0
macro attach 'V' "<pipe-entry>cat > /dev/shm/mail.html && firefox /dev/shm/mail.html && rm /dev/shm/mail.html<enter>"