Guest User

Untitled

a guest
Mar 16th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. # .muttrc file - Modified by Suresh Ramasubramanian's
  2. ignore *
  3. unignore From To Cc Bcc Subject Date Reply-To Organization X-Mailer User-Agent
  4.  
  5. hdr_order From: Date: To: Cc: Subject:
  6.  
  7. # Header caching
  8. set header_cache=~/.hcache
  9.  
  10. set postponed="+Drafts"
  11. set record="+Sent"
  12. set mbox="+Archived"
  13. set trash="+Trash"
  14.  
  15. # Base hook to reset account variables to known state before activating new ones
  16. account-hook . 'unset preconnect imap_user imap_pass imap_authenticators; set ssl_starttls=ask-yes'
  17.  
  18. macro generic <esc>1 cimaps://mail.maggi.cc/ "Load profile: default"
  19. account-hook imaps://personal.bar.com/ 'set imap_user=personal imap_pass=**'
  20. folder-hook imaps://personal.bar.com/ 'source $HOME/.mutt/profiles/default'
  21.  
  22. macro generic <esc>2 cimaps://mail.elet.polimi.it/ "Load profile: academic"
  23. account-hook imaps://foo.bar.edu/ 'set imap_user=academic imap_pass=** imap_authenticators="digest-md5:login"'
  24. folder-hook imaps://foo.bar.edu/ 'source $HOME/.mutt/profiles/academic'
  25.  
  26. # Automatically begin editing messages
  27. set autoedit=yes
  28.  
  29. # IMAP settings
  30. set mail_check=90
  31. set timeout=15
  32.  
  33. set edit_headers
  34.  
  35. # Append messages to other mailboxes automatically
  36. unset confirmappend
  37.  
  38. # Automatically delete messages
  39. set delete=yes
  40.  
  41. # View html mails using lynx
  42. set implicit_autoview
  43. auto_view text/html application/x-pgp-message
  44. set mailcap_path="~/.mailcap"
  45. set mailcap_sanitize=yes
  46.  
  47. # envelope sender must match
  48. set envelope_from
  49. # Reply FASTER!
  50. #set fast_reply
  51.  
  52. # Don't save outgoing attachments
  53. unset fcc_attach
  54.  
  55. # Dont include self in reply
  56. unset reply_self
  57.  
  58. # Include full headers in replies
  59. # set header
  60.  
  61. #set hostname - if not machine name (uname -a)
  62. #will be used for - among other things - making
  63. #up message-ids
  64. set hostname="lap-fmaggi.elet.polimi.it"
  65.  
  66. # Automatically quote message
  67. set include=yes
  68.  
  69. # Set quotemark to 1 byte
  70. set indent_str="> "
  71.  
  72. set index_format = "%4C %Z %{%b %d} %-15.15F (%4l) %s"
  73. set forward_format="Fw: %s" # subject in forwarded messages
  74. set date_format="%d/%m/%y %H:%M %Z"
  75. set quote_regexp="^([A-Za-z ]+>|[]%>:|}-][]>:|}-]*)"
  76. #set reply_regexp="^(re([\\[0-9\\]+])*|aw):[ \t]*"
  77. set reply_regexp='^((re(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*'
  78.  
  79. set mime_forward=ask-yes
  80. set edit_headers
  81.  
  82. # Use vim as the editor - this line will wrap
  83. # Set wordwrap on in vim to automatically wrap lines -
  84. # no :gq all the time
  85. set editor="vim +':set textwidth=77' +':set wrap' +\`awk '/^$/ {print i+2; exit} {i++}' %s\` %s"
  86. #set visual=vim # editor invoked by ~v in the builtin editor
  87.  
  88. # set format=flowed
  89. set text_flowed
  90.  
  91. # dont mark messages old
  92. set nomark_old
  93.  
  94. # I don't want to resume postponed messages
  95. #set recall=no
  96.  
  97. # Don't confirm using Reply-To: headers
  98. set reply_to=yes
  99.  
  100. # Delete empty mailboxes
  101. unset save_empty
  102.  
  103. # Use as from the address mail was sent to
  104. # You'd have to define $alternates for this
  105. # set reverse_name
  106.  
  107. # Set my web browser
  108. #set web_browser="lynx %s"
  109.  
  110. # Apply operations to tagged messages automatically
  111. #set auto_tag
  112.  
  113. folder-hook . set sort=threads
  114.  
  115. # Ignore annoying MAIL SYSTEM INTERNAL DATA message
  116. # generated by c-client (pine / uw-imapd)
  117. folder-hook . "push \"l!(~s 'FOLDER INTERNAL DATA')\n*\""
  118.  
  119. # Don't ask to move read messages to mbox on exit
  120. set move=no
  121.  
  122. ###
  123. # Bindings - change key bindings
  124. ###
  125.  
  126. # Customize the pager
  127. bind pager down next-page
  128. bind pager up previous-page
  129. bind pager d delete-message
  130. bind index d delete-message
  131. # dual window view in mutt
  132. set pager_index_lines=15
  133.  
  134. # Similar settings for the index
  135. bind index up previous-line
  136. bind index down next-line
  137.  
  138. # imitate the old search-body function
  139. macro index \eb '/~b ' 'search in message bodies'
  140.  
  141. # simluate the old url menu
  142. macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
  143. macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
  144.  
  145. # Set and source our alias file
  146. #set alias_file=~/.mutt-aliases
  147. #source ~/.mutt-aliases
  148.  
  149. # Theming
  150. source $HOME/.mutt/themes/ilgufo
Add Comment
Please, Sign In to add comment