Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2017
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.99 KB | None | 0 0
  1. I did this:
  2. mkdir -p ~/.mutt/cache/headers
  3. mkdir ~/.mutt/cache/bodies
  4. touch ~/.mutt/certificates
  5. touch ~/.mutt/muttrc
  6.  
  7. Contents of .muttrc (without my email ofcourse)
  8. # .muttrc
  9. set realname = <name>
  10. set from = "<user>@gmail.com"
  11. set use_from = yes
  12. set envelope_from = yes
  13.  
  14. set folder = "imaps://imap.gmail.com:993"
  15.  
  16. set move = no
  17. set imap_keepalive = 900
  18.  
  19. set imap_user = '<user>@gmail.com'
  20. set imap_pass = ''
  21.  
  22. set smtp_url = "smtps://<user>@gmail.com@smtp.gmail.com:465/"
  23. set smtp_pass = ''
  24.  
  25. set ssl_starttls = yes
  26. set ssl_force_tls = yes
  27.  
  28. set spoolfile = +INBOX
  29. set record = "+[Gmail]/Sent Mail"
  30. set postponed = "+[Gmail]/Drafts"
  31. set mbox="imaps://imap.gmail.com/[Gmail]/All Mail"
  32. set trash="imaps://imap.gmail.com/[Gmail]/Trash"
  33.  
  34. set header_cache = "~/.mutt/cache/headers"
  35. set message_cachedir = "~/.mutt/cache/bodies"
  36. set certificate_file = "~/.mutt/certificates"
  37.  
  38. # G to get mail
  39. bind index G imap-fetch-mail
  40. set editor = "vim"
  41. unset record
  42.  
  43. set charset = "utf-8"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement