CrunchBang Linux Pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

CrunchBang Linux Pastebin

Posted by storge on Wed 2nd Jan 21:02 (modification of post by view diff)
View followups from storge | download | new post

  1. ~/.mutt/user1:
  2.  
  3. ###|user1|###
  4. account-hook    "imaps://first.user@imap.gmail.com/" '\
  5.         set imap_user   = "first.user@gmail.com" imap_pass = $my_pass1 '
  6. set from                = "first.user@gmail.com"
  7. set realname            = "first.user"
  8. set folder              = "imaps://first.user@imap.gmail.com/"
  9. set spoolfile           = "imaps://first.user@imap.gmail.com/INBOX"
  10. set postponed           = "imaps://first.user@imap.gmail.com/[Gmail]/Drafts"
  11. set trash               = "imaps://first.user@imap.gmail.com/[Gmail]/Trash"
  12. mailboxes               imaps://first.user@imap.gmail.com
  13. set smtp_url            = "smtp://first.user@smtp.gmail.com:587/"
  14. set smtp_pass           = $my_pass1
  15. set imap_idle
  16. set imap_keepalive      = 300
  17. set imap_check_subscribed
  18. set header_cache        = ~/.mutt/cache/user1/headers
  19. set message_cachedir    = ~/.mutt/cache/user1/bodies
  20. set certificate_file    = ~/.mutt/certificates
  21.  
  22. ~/.mutt/user2:
  23.  
  24. ###|user2|###
  25. account-hook    "imaps://second.user@imap.gmail.com/" '\
  26.         set imap_user   = "second.user@gmail.com" imap_pass = $my_pass2 '
  27. set from                = "second.user@gmail.com"
  28. set realname            = "second.user"
  29. set folder              = "imaps://second.user@imap.gmail.com/"
  30. set spoolfile           = "imaps://second.user@imap.gmail.com/INBOX"
  31. set postponed           = "imaps://second.user@imap.gmail.com/[Gmail]/Drafts"
  32. set trash               = "imaps://second.user@imap.gmail.com/[Gmail]/Trash"
  33. mailboxes               imaps://second.user@imap.gmail.com
  34. set smtp_url            = "smtp://second.user@smtp.gmail.com:587/"
  35. set smtp_pass           = $my_pass2
  36. set imap_idle
  37. set imap_keepalive      = 300
  38. set imap_check_subscribed
  39. set header_cache        = ~/.mutt/cache/user2/headers
  40. set message_cachedir    = ~/.mutt/cache/user2/bodies
  41. set certificate_file    = ~/.mutt/certificates
  42.  
  43. ~/.mutt/muttrc:
  44.  
  45. ###|password|###
  46. set my_tmpsecret=`gpg -o ~/.secret/.tmp -d ~/.secret/.pwds2.gpg`
  47. set my_pass1=`awk '/Gmail1:/ {print $2}' ~/.secret/.tmp`
  48. set my_pass2=`awk '/Gmail2:/ {print $2}' ~/.secret/.tmp`
  49. set my_del=`rm -f ~/.secret/.tmp`
  50.  
  51. ###|macro|###
  52. #macro index { '<change-folder>imaps://first.user@imap.gmail.com/<enter>'
  53. #macro index } '<change-folder>imaps://second.user@imap.gmail.com/<enter>'
  54.  
  55. ###|switching|###
  56. account-hook . 'unset imap_pass'
  57. folder-hook imaps://first.user@imp.gmail.com 'source ~/.mutt/user1'
  58. folder-hook imaps://second.user@imap.gmail.com 'source ~/.mutt/user2'
  59. macro index <F4> '<sync-mailbox><enter-command>source ~/.mutt/user1<enter><change-folder>!<enter>'
  60. macro index <F5> '<sync-mailbox><enter-command>source ~/.mutt/user2<enter><change-folder>!<enter>'
  61. source ~/.mutt/user1
  62.  
  63. ###|imap|###
  64. unset imap_passive              # allow mutt to auto-open new imap connection
  65. #unset imap_peek                 # list subscribed imap folders
  66.  
  67. ###|editor|###
  68. set editor=nano
  69. bind editor <Tab> complete-query        # default mutt setting = complete
  70. bind editor ^T complete                 # default mutt setting = complete-query
  71. bind editor <space> noop
  72.  
  73. ###|sidebar|###
  74. set sidebar_width               = 18            # width
  75. set sidebar_visible             = yes           # default visible
  76. set sidebar_delim               = '|'           # delimeter
  77. set sidebar_shortpath           # shorten displayed path for sidebar
  78. set sidebar_sort                # sort the imap_check_subscribed folders
  79. bind index \Cp sidebar-prev     # assign ctrl-p to select previous folder
  80. bind index \Cn sidebar-next     # assign ctrl-n to select next folder
  81. bind index \Co sidebar-open     # assign ctrl-o to open selected folder
  82.  
  83. ###|muttconf|###
  84. set mail_check          = 60                    # how often to check
  85. set timeout             = 30                    # if no user input
  86. set move                = no                    # read mail stays put
  87. set sort                = 'threads'             # thread sort
  88. set sort_aux            = 'reverse-last-date-received'  # newest at top
  89. set auto_tag            = yes
  90. set smart_wrap          = yes
  91. set copy                = yes                   # save sent messages
  92. set delete              = yes                   # ask when purging deleted
  93. set forward_quote       = yes                   # quote email body in forward
  94. set include             = yes                   # quote email body in reply
  95. set beep_new            = yes                   # beep on new message received
  96.  
  97. ###|html|###
  98. set mailcap_path        = ~/.mutt/mailcap               # autodisplay html
  99. alternative_order text/plain text/enriched text/html    # autodisplay html
  100. auto_view text/html                                     # autodisplay html
  101.  
  102. ###|headers|###
  103. ignore                  *
  104. ignore                  "Authentication-Results:"
  105. ignore                  "DomainKey-Signature:"
  106. ignore                  "DKIM-Signature:"
  107. unignore headers        date from to cc
  108. unignore x-mailing-list:posted-to:
  109. unignore x-mailer:
  110. hdr_order               date from to cc
  111.  
  112. ###|fix the stupid|###
  113. set rfc2047_parameters
  114.  
  115. ###|colors|###
  116. source `case $TERM in\
  117.                 (xterm-256color|rxvt-unicode-256color)        echo '~/.mutt/mutt_color_256'; break;;\
  118.                 *)                                              echo '~/.mutt/mutt_color'; break;;\
  119.         esac`

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me