muttrc 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # Process the password files first
  2. #-------------------------------------
  3. #set my_tmpsecret=`gpg -o ~/.secret/.tmp -d ~/.secret/.passwd.gpg`
  4. #set my_gpass=`awk '/GMail:/ {print $2}' ~/.secret/.tmp`
  5. #set my_del=`rm -f ~/.secret/.tmp`
  6. set imap_user = "ricemark20@gmail.com"
  7. set imap_pass =$my_gpass
  8. set smtp_url = "smtp://ricemark20@smtp.gmail.com:587/"
  9. set smtp_pass =$my_gpass
  10. set from = "ricemark20@gmail.com"
  11. set realname = "Mark Rice"
  12. set folder = "imaps://imap.gmail.com:993"
  13. set spoolfile = "+INBOX"
  14. set postponed="+[Gmail]/Drafts"
  15. mailboxes ="INBOX" ="Careers" ="Freecycle"
  16. set imap_check_subscribed
  17. set pager_stop
  18. folder-hook . 'exec last-entry'
  19. folder-hook . 'unset trash'
  20. folder-hook . 'set trash="imaps://imap.gmail.com:993/[Gmail]/Trash"'
  21. #folder-hook 'imaps://.*imap.gmail.com' unset record
  22. bind editor <space> noop
  23. macro index,pager d "<save-message>=[Gmail]/Trash<enter>" "mark message as Trash"
  24. macro index,pager H "<save-message>=INBOX<enter>" "move message to Inbox"
  25. macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
  26. macro index ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
  27. macro index gs "<change-folder>=[Gmail]/Sent Mail<enter>" "Go to Sent Mail"
  28. macro index gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
  29. set header_cache=~/.mutt/cache/headers
  30. set query_command="abook --mutt-query '%s'"
  31. macro index A “abook --add-email-query”
  32. macro index,pager A "<pipe-message>abook --add-email-quiet<return>" "add the sender address to abook"
  33. set message_cachedir=~/.mutt/cache/bodies
  34. set certificate_file=~/.mutt/certificates
  35. #set record="~/.mutt/sent_mail"
  36. #set record="=Sent"
  37. set markers=no # In the pager, don't display + at the beginning of wrapped lines
  38. set move = no
  39. set editor="vim -c \"set spell spelllang=en\""
  40. source ~/.mutt/aliases
  41. set mailcap_path = ~/.mailcap
  42. auto_view text/html
  43. macro pager \cb <pipe-entry>'urlview'<enter> 'Follow links with urlview'
  44. #Colors
  45. color status white blue
  46. color index cyan default ~N # new
  47. color index red default ~D # deleted
  48. color index brightmagenta default ~T # tagged
  49. color index brightyellow default ~F # flagged
  50. color header green default "^Subject:"
  51. color header yellow default "^Date:"
  52. color header yellow default "^To:"
  53. color header yellow default "^Cc:"
  54. color header yellow default "^Bcc:"
  55. color header yellow default "^From:"
  56. color header red default "^X-.*:"
  57. # reading mail
  58. set timeout=10
  59. set mail_check=5
  60. set sort=threads
  61. set sort_aux=date
  62. set move=no
  63. set mark_old=no
  64. set beep_new