mailrc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. set v15-compat=yes
  2. set sendcharsets=utf-8,iso-8859-1
  3. set reply-in-same-charset
  4. set fullnames
  5. set followup-to followup-to-honour-ask-yes
  6. set askattach
  7. set markanswered
  8. set reply-to-honour
  9. set editalong
  10. set history-gabby=all
  11. set autosort=date
  12. set showlast
  13. set pipe-text/html='?* elinks -force-html -dump 1'
  14. wysh set pipe-application/pdf='?&=? \
  15. echo "${MAILX_FILENAME_TEMPORARY}"; \
  16. open -a Preview "${MAILX_FILENAME_TEMPORARY}"'
  17. wysh set pipe-application/image='?&=? \
  18. echo "${MAILX_FILENAME_TEMPORARY}"; \
  19. open -a Preview "${MAILX_FILENAME_TEMPORARY}"'
  20. define showhtml {
  21. \localopts yes
  22. \set mime-alternative-favour-rich pipe-text/html=?h?
  23. \type "$@"
  24. }
  25. \commandalias html \\call showhtml
  26. set netrc-lookup
  27. account "posteo" {
  28. localopts yes
  29. set from="Kevin Bloom <your.email@mail.com>"
  30. set folder=imaps://posteo.de:993
  31. set mta=smtp://posteo.de:587 smtp-use-starttls
  32. set inbox=+INBOX
  33. set record=+Sent
  34. shortcut sent +Sent \
  35. inbox +INBOX \
  36. drafts +Drafts \
  37. trash +Trash \
  38. archives +Archives
  39. set imap-cache=~/spool/cache
  40. }
  41. # enable account on startup
  42. account posteo
  43. colour 256 sum-dotmark ft=bold,fg=13 dot
  44. colour 256 sum-header fg=007 older
  45. colour 256 sum-header bg=008 dot
  46. colour 256 sum-header fg=white
  47. colour 256 sum-thread bg=008 dot
  48. colour 256 sum-thread fg=cyan