Advertisement
msjche

~/.mutt/muttrc

Aug 13th, 2013
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.44 KB | None | 0 0
  1. # character set on messages that we send
  2. set send_charset="utf-8"
  3. # if there is no character set given on incoming messages, it is probably windows
  4. set assumed_charset="iso-8859-1"
  5.  
  6. # make sure Vim knows mutt is a mail client and that we compose an UTF-8 encoded message
  7. set editor="vim -c 'set syntax=mail ft=mail enc=utf-8'"
  8.  
  9. # just scroll one line instead of full page
  10. set menu_scroll=yes
  11.  
  12. # we want to see some MIME types inline, see below this code listing for explanation
  13. auto_view application/msword
  14. auto_view application/pdf
  15.  
  16. # make default search pattern to search in To, Cc and Subject
  17. set simple_search="~f %s | ~C %s | ~s %s"
  18.  
  19. # threading preferences, sort by threads
  20. set sort=threads
  21. set strict_threads=yes
  22.  
  23. # show spam score (from SpamAssassin only) when reading a message
  24. spam "X-Spam-Score: ([0-9\\.]+).*" "SA: %1"
  25. set pager_format = " %C - %[%H:%M] %.20v, %s%* %?H? [%H] ?"
  26.  
  27. # do not show all headers, just a few
  28. ignore *
  29. unignore From To Cc Bcc Date Subject
  30. # and in this order
  31. unhdr_order *
  32. hdr_order From: To: Cc: Bcc: Date: Subject:
  33.  
  34. set imap_user = "msjche@gmail.com"
  35. set imap_pass = "password"
  36.  
  37. set smtp_url = "smtp://msjche@smtp.gmail.com:587/"
  38. set from = "msjche@gmail.com"
  39. set smtp_pass = "password"
  40. set realname = "MoJo"
  41. # this file must exist, and contains your signature, comment it out if
  42. # # you don't want a signature to be used
  43. set signature = ~/.mutt/signature
  44.  
  45. set folder = "imaps://imap.gmail.com:993"
  46. set spoolfile = "+INBOX"
  47. set postponed="+[Gmail]/Drafts"
  48.  
  49. set header_cache=~/.mutt/cache/headers
  50. set message_cachedir=~/.mutt/cache/bodies
  51. set certificate_file=~/.mutt/certificates
  52.  
  53. set move = no
  54. # Make sure your ~/.muttrc isn’t world-readable; it contains your password. (Alternatively, you can leave them out and mutt will prompt you for the password each time.) Also, if you copy-paste from the above, make sure that you have only “normal” quotes, not “smart quotes” which WordPress might have inserted here into this post.
  55.  
  56.  
  57. set sort = 'threads'
  58. set sort_aux = 'last-date-received'
  59. set imap_check_subscribed
  60.  
  61. ignore "Authentication-Results:"
  62. ignore "DomainKey-Signature:"
  63. ignore "DKIM-Signature:"
  64. hdr_order Date From To Cc
  65.  
  66. # brighten up stuff with colors, for more coloring examples see:
  67. # http://aperiodic.net/phil/configs/mutt/colors
  68. color normal white black
  69. color hdrdefault green default
  70. color quoted green default
  71. color quoted1 yellow default
  72. color quoted2 red default
  73. color signature cyan default
  74. color indicator brightyellow red
  75. color error brightred default
  76. color status brightwhite blue
  77. color tree brightmagenta black
  78. color tilde blue default
  79. color attachment brightyellow default
  80. color markers brightred default
  81. color message white black
  82. color search brightwhite magenta
  83. color bold brightyellow default
  84. # if you don't like the black progress bar at the bottom of the screen,
  85. # comment out the following line
  86. color progress white black
  87.  
  88. # aliases (sort of address book)
  89. source ~/.mutt/aliases
  90.  
  91. # other settings
  92.  
  93. macro generic <f1> "!w3m /usr/doc/mutt/html/manual.html\n" "Show Mutt documentation"
  94. macro index <f1> "!w3m /usr/doc/mutt/html/manual.html\n" "Show Mutt documentation"
  95. macro pager <f1> "!w3m /usr/doc/mutt/html/manual.html\n" "Show Mutt documentation"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement