# Account information set realname = "Romain Boissat" # IMAP settings set ssl_use_sslv3 set imap_user = 'r.boissat@gmail.com' set imap_keepalive = 120 set timeout = 60 set mail_check = 90 # Account settings set smtp_url = "smtp://r.boissat@smtp.gmail.com:587/" set folder = "imaps://imap.gmail.com:993" set spoolfile = "+INBOX" set postponed ="+[Gmail]/Drafts" set record="+INBOX" set mbox="!" set trash = "imaps://imap.gmail.com/[Gmail]/Trash" # Caching set header_cache =~/.mutt/cache/headers-gmail set message_cachedir =~/.mutt/cache/bodies-gmail set certificate_file =~/.mutt/cache/certificates-gmail # General settings set check_mbox_size = yes set move = no set confirmappend = no set copy = no set delete = yes set index_format="%5C %Z %[%d/%m/%y %H:%M] %-15.15F %3c %s" bind index "^" imap-fetch-mail set editor='vim + -c "set textwidth=72" -c "set wrap"' # -c "set nocp" -c "?^$"' #set query_command = "abook --mutt-query '%s'" #set query_command = "goobook query '%s'" #macro generic,index,pager \ca "abook" "launch abook" #macro index,pager A "abook --add-email" "add the sender address to abook" # Default Identity folder-hook . "set from = 'rboissat@lv0.in'" folder-hook . "my_hdr Reply-To:" folder-hook . "set signature='~/.mutt/signature-gmail'" # Others ID folder-hook =BOFH$ "set from = 'root@lv0.in'" folder-hook =SpamUT$ "set from = 'romain.boissat@utbm.fr'" folder-hook =WebShopping$ "set from = 'shopping@lv0.in'" # View settings set markers=no # don't put '+' at the beginning of wrapped lines set pager_index_lines= 5 # how large is the index window? set sort = 'threads' set sort_aux = 'reverse-threads' auto_view text/html # Shortcuts to mailboxes bind editor noop macro index gi "c=INBOX" "Go to inbox" macro index gbo "c=BOFH" "Go to BOFH" macro index gut "c=SpamUT" "Go to SpamUT" macro index gws "c=WebShopping" "Go to WebShopping" macro index g! "c=[Gmail]/Starred" "Go to Starred" macro index ga "c=[Gmail]/All Mail" "Go to all mail" macro index gd "c=[Gmail]/Drafts" "Go to drafts" macro index gs "c=[Gmail]/Sent Mail" "Go to Sent Mail" macro index gS "c=[Gmail]/Spam" "Go to Spam Mail" macro index gt "c=[Gmail]/Trash" "Go to Spam Mail" # Keyboard bindings to functions bind index X "purge-message" # Purge messages bypassing Gmail/Trash # Header stuff ignore "Authentication-Results:" ignore "DomainKey-Signature:" ignore "DKIM-Signature:" hdr_order Date From To Cc ignore * unignore from: date subject to cc unignore x-mailing-list: posted-to: unignore x-mailer: #Fcc hooks fcc-hook "~l" "/dev/null" fcc-hook "~C r.boissat@gmail.com" "/dev/null" # Save hooks #save-hook "~C '(root|bofh|hostmaster|postmaster).*'" =BOFH #save-hook "~s '\\[FRsAG\\]'" =FRsAG #save-hook "~s '\\[FRnOG\\]'" =FRnOG #save-hook "~C '.*@utbm.fr'" =SpamUT #save-hook "~C 'shopping@lv0\.in'" =WebShopping save-hook . "=[Gmail]/All Mail" ########### ########### USE ONLY WITH MUTT-PATCHED OR COMMENT OUT FROM HERE TO END OF FILE ########### # # set up the sidebar, default not visible set sidebar_width=22 set sidebar_visible=yes set sidebar_delim=' ' set sidebar_sort=no # which mailboxes to list in the sidebar #mailboxes =INBOX =NANOG =WebShopping ="[Gmail]/Starred" ="[Gmail]/Spam" # color of folders with new mail color sidebar_new brightgreen default # ctrl-n, ctrl-p to select next, prev folder # ctrl-o to open selected folder bind index \CP sidebar-prev bind index \CN sidebar-next bind index \CO sidebar-open bind pager \CP sidebar-prev bind pager \CN sidebar-next bind pager \CO sidebar-open # I don't need these. just for documentation purposes. See below. # sidebar-scroll-up # sidebar-scroll-down # ctrl-b toggles sidebar visibility macro index \CB 'toggle sidebar_visible' macro pager \CB 'toggle sidebar_visible' # # Mario Holbe suggests: # macro index b 'toggle sidebar_visible' # macro pager b 'toggle sidebar_visible' # # Colors source ~/.mutt/colors # GPG Setup source ~/.mutt/crypto # IMAP Credentials source ~/.mutt/.credentials # local configuration source ~/.muttrc.local