Guest User

Untitled

a guest
Jun 24th, 2018
533
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | None | 0 0
  1. (~):$ cat .muttrc
  2. # configuration de base
  3. set realname = "toto TATA"
  4. set header_cache =~/.mutt/cache/headers
  5. set certificate_file =~/.mutt/certificates
  6. set message_cachedir =~/.mutt/cache/bodies
  7.  
  8. # configuration imap
  9. set spoolfile=imaps://imap.gmail.com:993/INBOX
  10. set imap_user = "toto.tata@gmail.com"
  11. set imap_pass = "mDpToTOTAta"
  12. set imap_passive="no"
  13. set imap_check_subscribed="yes"
  14. set imap_list_subscribed="yes"
  15.  
  16. # configuration SMTP
  17. set smtp_url = "smtp://toto.tata@smtp.gmail.com:587/"
  18. set smtp_pass = "mDpToTOTAta"
  19. set from = "toto.tata@gmail.com"
  20. set use_envelope_from=yes # Pour que postfix ou sendmail ne change pas votre from
  21.  
  22. # petit plus
  23. set trash = "imaps://imap.gmail.com/[Gmail]/Trash"
  24. set postponed="+[Gmail]/Draft"
  25. set folder = "imaps://imap.gmail.com:993/"
  26. set imap_check_subscribed
  27. set mail_check = 120
  28. set timeout = 300
  29. set imap_keepalive = 300
  30. set signature='~/.signature.txt'
  31.  
  32. # locales FR pour les nom des jours et mois
  33. set locale="fr_FR"
  34.  
  35. # Format de date
  36. set date_format="%A %d %b %Y à %H:%M:%S (%Z)"
  37.  
  38. # phrase d'intro pour réponse quotée
  39. set attribution="Le %d, %n a écrit :"
  40. set forward_format="[Fwd: %s]"
  41. set forward_quote
  42.  
  43. #
  44. mailboxes !
  45.  
  46. #Editeur
  47. set edit_hdrs
  48. auto_view text/html
  49. #set editor="emacs -nw" # indiquer ici votre éditeur de texte préféré.
  50.  
  51. color attachment magenta default # attachments
  52. color body brightred default "(ftp|http)://[^ ]+" # point out URLs
  53. color body brightcyan default [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
  54. color bold brightblue default # boldface text
  55. color error brightwhite red # error messages
  56. color hdrdefault magenta default # default color of message header
  57. color header brightmagenta default ^(From): # From and Subject header
  58. color header brightwhite default ^(Subject): # From and Subject header
  59. color header brightwhite default ^(Date): # Date header
  60. color header white default ^(In-Reply-To):
  61. color indicator brightred default # indicator bar
  62. color markers brightblue default # wrapped line markers (+)
  63. color message brightblack green # status messages
  64. color normal default default # default
  65. color quoted yellow default # quoted text, 1st quote level
  66. color quoted1 green default # quoted text, 2nd quote level
  67. color quoted2 brightblue default # quoted text, 3rd quote level
  68. color quoted3 blue default # quoted text, 4th quoet level
  69. color search black yellow # matched search patterns in pager
  70. color signature red default # the signature (after sigdashes)
  71. color status default blue # status lines
  72. color tilde brightblue default # ``~'' used to pad blank lines
  73. color tree green default # thread tree in the index menu
  74. color underline brightgreen default # underlined text
  75.  
  76.  
  77. # Pour la gestion des accents
  78. set locale="iso-8859-15"
  79.  
  80. set pager_index_lines=7
  81. set pager_stop
  82.  
  83. # set up the sidebar, default not visible
  84. set sidebar_width=12
  85. set sidebar_visible=no
  86. set sidebar_delim='|'
  87. set sidebar_sort=yes
  88.  
  89. # which mailboxes to list in the sidebar
  90. mailboxes =inbox =ml
  91.  
  92. # color of folders with new mail
  93. color sidebar_new yellow default
  94.  
  95. # ctrl-n, ctrl-p to select next, prev folder
  96. # ctrl-o to open selected folder
  97. bind index \CP sidebar-prev
  98. bind index \CN sidebar-next
  99. bind index \CO sidebar-open
  100. bind pager \CP sidebar-prev
  101. bind pager \CN sidebar-next
  102. bind pager \CO sidebar-open
  103.  
  104. # I don't need these. just for documentation purposes. See below.
  105. # sidebar-scroll-up
  106. # sidebar-scroll-down
  107.  
  108. # b toggles sidebar visibility
  109. macro index b '<enter-command>toggle sidebar_visible<enter>'
  110. macro pager b '<enter-command>toggle sidebar_visible<enter>'
  111.  
  112. # Remap bounce-message function to "B"
  113. bind index B bounce-message
  114.  
  115. #
  116. # Mario Holbe suggests:
  117. # macro index b '<enter-command>toggle sidebar_visible<enter><refresh>'
  118. # macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
  119. #
  120. #Google contacts
  121. set query_command="goobook query '%s'"
  122. bind editor <Tab> complete-query
  123. macro index,pager a "<pipe-message>goobook add<return>" "add the sender address to Google contacts"
  124.  
  125. # Correcteur d'orthographe
  126. set ispell="aspell -e -c"
  127.  
  128. # man urlview for more information
  129. macro index \cb |urlview\n
  130. macro pager \cb |urlview\n
Add Comment
Please, Sign In to add comment