Guest User

Untitled

a guest
Aug 20th, 2018
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.29 KB | None | 0 0
  1. #set my password to a variable:
  2. set my_gpass=`cat ~/.passwd`
  3.  
  4.  
  5. set imap_user = "koptein"
  6. set imap_pass = $my_gpass
  7.  
  8. set smtp_url = "smtp://christian@koptein.de@smtp.gmail.com:587/"
  9. set smtp_pass = $my_gpass
  10. set from = "christian@koptein.de"
  11. set realname = "Christian Koptein"
  12. set folder=$HOME/.mail/GMAIL
  13.  
  14. set editor = "vim -c 'set spell spelllang=en' -c 'set tw=72' -c 'set filetype=mail' -c 'set wrapmargin=8'"
  15. set ssl_force_tls=yes
  16. set ssl_starttls=yes
  17.  
  18. set header_cache=~/.mutt/cache/headers
  19. set message_cachedir=~/.mutt/cache/bodies
  20. set certificate_file=~/.mutt/certificates
  21.  
  22. set delete=yes
  23. set pager_context=3
  24. set nostrict_threads
  25. set tilde
  26.  
  27. set move = no
  28. set timeout = 2
  29. set mail_check = 60
  30. bind editor <Tab> complete-query
  31.  
  32. #google contacts:
  33. set query_command="goobook query '%s'"
  34. macro index,pager a "<pipe-message>goobook add<return>" "add the sender address to Google contacts"
  35.  
  36. ## mimetypes
  37. set mailcap_path=~/.mailcap
  38. auto_view text/html # auto-render html inline mutt
  39.  
  40. ##colors
  41. # Default color definitions
  42. color normal white default
  43. color hdrdefault green default
  44. color quoted green default
  45. color quoted1 yellow default
  46. color quoted2 brightblack default
  47. color signature cyan default
  48. color indicator brightyellow brightblack
  49. color error brightred default
  50. color status brightwhite brightblack
  51. color tree brightmagenta green
  52. color tilde brightblack default
  53. color attachment brightyellow default
  54. color markers brightred default
  55. color message white default
  56. color search brightwhite magenta
  57. color bold brightyellow default
  58.  
  59. color header brightyellow default "^(From|Subject):"
  60. color header brightcyan default "^To:"
  61. color header brightcyan default "^Cc:"
  62. mono header bold "^(From|Subject):"
  63. # Attribution lines
  64. color body magenta default "\\* [^<]+ <[^>]+> \\[[^]]+\\]:"
  65. color body magenta default "(^|[^[:alnum:]])on [a-z0-9 ,]+( at [a-z0-9:,. +-]+)? wrote:"
  66. # URLs
  67. color body brightyellow default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
  68.  
  69. # PGP messages
  70. color body brightyellow default "^gpg: Good signature .*"
  71. color body white default "^gpg: "
  72. color body brightwhite red "^gpg: BAD signature from.*"
  73. mono body bold "^gpg: Good signature"
  74. mono body bold "^gpg: BAD signature from.*"
  75.  
  76. color body brightwhite default "<[Gg]>" # <g>
  77. color body brightwhite default "<[Bb][Gg]>" # <bg>
  78. color body brightwhite default " [;:]-*[})>{(<|]" # :-) etc...
  79.  
  80. ##sidebar:
  81. #
  82. # set up the sidebar, default not visible
  83. set sidebar_width=40
  84. set sidebar_visible=yes
  85. set sidebar_delim='|'
  86. set sidebar_sort=yes
  87.  
  88. mailboxes = mailboxes =Drafts =INBOX =Sent =Trash =[Google\ Mail].Alle\ Nachrichten =[Google\ Mail].Entw&APw-rfe =[Google\ Mail].Gesendet =[Google\ Mail].Markiert =[Google\ Mail].Papierkorb =[Google\ Mail].Spam =christian\@koptein.de =koptein\@web.de =thor
  89. # ctrl-n, ctrl-p to select next, prev folder
  90. # ctrl-o to open selected folder
  91. bind index "\Cr" sidebar-prev
  92. bind index "\Cf" sidebar-next
  93. bind index "\Cv" sidebar-open
  94. bind pager "\Cr" sidebar-prev
  95. bind pager "\Cf" sidebar-next
  96. bind pager "\Cv" sidebar-open
  97. bind index \Cn next-new
Add Comment
Please, Sign In to add comment