dotfiles/mutt/muttrc

125 lines
3.6 KiB
Plaintext
Raw Normal View History

2013-07-31 14:03:11 +00:00
############################
##### ATTENTION - /!\ ######
# Fichier sur git, #
2013-09-29 15:36:18 +00:00
# Accessible publiquement #
2013-07-31 14:03:11 +00:00
# Ne pas mettre de mdp en #
# clair ! #
############################
2013-10-06 17:55:14 +00:00
macro index <f2> '<change-folder>imaps://frank_mail@villaro-dixon.eu<enter>'
macro index <f3> '<change-folder>imaps://aei@outlook.unige.ch<enter>'
2013-07-31 14:03:11 +00:00
2013-10-06 17:55:14 +00:00
folder-hook 'frank_mail@villaro-dixon.eu' 'source ~/.mutt/account.frank'
folder-hook 'aei@outlook.unige.ch' 'source ~/.mutt/account.aei'
# switch to default account on startup
source ~/.mutt/account.frank
2013-12-28 22:17:56 +00:00
set my_frank_smtp_pass=`~/.mutt/unlock-pass.sh frank_smtp`
set my_frank_imap_pass=`~/.mutt/unlock-pass.sh frank_imap`
set my_aei_smtp_pass=`~/.mutt/unlock-pass.sh aei_smtp`
set my_aei_imap_pass=`~/.mutt/unlock-pass.sh aei_imap`
2013-10-06 17:55:14 +00:00
### 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"
2013-08-21 16:22:38 +00:00
2013-07-31 14:03:11 +00:00
##Passwords:
2013-08-18 11:53:13 +00:00
####source "gpg -d ~/.mutt/passwords.gpg |"
2013-10-06 17:55:14 +00:00
#source "~/.mutt/unlock-pass.sh |"
2013-07-31 14:03:11 +00:00
# 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
2013-08-21 16:22:38 +00:00
unset mark_old #Do not mark new messages as old after closing mutt
2013-07-31 14:03:11 +00:00
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
2013-08-21 16:22:38 +00:00
set abort_unmodified=ask-yes #réponse non modifiée
2013-07-31 14:03:11 +00:00
2013-09-26 21:46:43 +00:00
set fast_reply="yes" # Yeah, I know what person I want to reply to!
2013-09-28 20:57:33 +00:00
set attribution="On %d, %n, wrote %c characters saying:"
2013-09-29 15:36:18 +00:00
set indent_string="> "
2013-09-26 21:46:43 +00:00
2013-09-28 20:57:33 +00:00
#set max_line_length = 80
#set stuff_quoted
set text_flowed
2013-09-26 21:46:43 +00:00
2013-07-31 14:03:11 +00:00
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
2013-08-06 10:18:27 +00:00
#bind editor <Tab> complete-query
2013-07-31 14:03:11 +00:00
bind editor ^T complete
bind editor <space> noop
2013-11-01 15:45:53 +00:00
set pager_stop
2013-09-29 15:36:18 +00:00
2013-07-31 14:03:11 +00:00
# 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
2013-08-06 10:18:27 +00:00
# LISTE DE CONTACTS
#set query_command="~/.mutt/grep_ldap.sh '%s'"
2013-08-06 10:18:27 +00:00
#Alias
set alias_file=~/.mutt/alias
set sort_alias = alias
set reverse_alias = yes
source $alias_file
2013-09-26 21:46:43 +00:00
set date_format="%y-%m-%d %T"
2013-08-06 10:18:27 +00:00
set index_format="%2C | %Z [%d] %-30.30F (%-4.4c) %s"
set sleep_time=0