Advertisement
Guest User

Untitled

a guest
May 7th, 2019
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. # Retreives account address from Keychain
  2. set my_acct = `/usr/bin/security find-generic-password -l #Keychain_AppPass_Name# | grep acct | cut -d '"' -f 4`
  3. # Retreives account password from Keychain
  4. set my_pass = `/usr/bin/security find-generic-password -wl #Keychain_AppPass_Name#`
  5. # Gets the user name from the account address
  6. set my_user = `cut -d '@' -f 1 <<< "$my_acct"`
  7. # Specifies what name should be used when sending messages
  8. set realname = '#Real_Name#'
  9. # Specifies what "from" address should be used when sending messages
  10. set from = $my_acct
  11. # Specifies the filename of your signature, which is appended to all outgoing messages
  12. set signature = ~/.config/neomutt/signatures/signature.txt
  13. # Specifies the user for your IMAP account
  14. set imap_user = $my_user
  15. # Specifies the password for your IMAP account
  16. set imap_pass = $my_pass
  17. # Specifies the number of IMAP commands that can be queued
  18. set imap_pipeline_depth = 0 # iCloud doesn't support command queues
  19. # Specifies the default location of your mailboxes
  20. set folder = "imaps://imap.mail.me.com:993"
  21. # Specifies the mail spool or inbox mailbox
  22. set spoolfile = "+INBOX"
  23. # Specifies the postponed or drafts mailbox
  24. set postponed = "+Drafts"
  25. # Specifies the record or sent mailbox
  26. set record = "+Sent Messages"
  27. # Specifies the trash or deleted mailbox
  28. set trash = "+Deleted Messages"
  29. # This specifies the folder into which read mail in your $spoolfile folder will be appended
  30. unset mbox # Behavior not used in iCloud so it is unset in case it is set in other account
  31. # Specifies the SMTP smarthost where sent messages should relayed for delivery
  32. set smtp_url = "smtp://$my_user@smtp.mail.me.com:587"
  33. # Specifies the password for your SMTP account
  34. set smtp_pass = $my_pass
  35. # Attempt to use STARTTLS on servers advertising the capability
  36. set ssl_starttls = yes
  37. # Require that all connections to remote servers be encrypted
  38. set ssl_force_tls = yes
  39. # Cleanup temporary variables
  40. unset my_pass my_acct my_user
  41. # Remove tokens from the list of folders which can receive mail
  42. unmailboxes *
  43. # Specifies folders which can receive mail and are periodically checked for new mail
  44. mailboxes +INBOX \
  45. +Drafts \
  46. +Sent\ Messages\
  47. +Junk \
  48. +Deleted\ Messages \
  49. +Archive
  50.  
  51. # vim:set ft=neomuttrc:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement