Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Retreives account address from Keychain
- set my_acct = `/usr/bin/security find-generic-password -l #Keychain_AppPass_Name# | grep acct | cut -d '"' -f 4`
- # Retreives account password from Keychain
- set my_pass = `/usr/bin/security find-generic-password -wl #Keychain_AppPass_Name#`
- # Gets the user name from the account address
- set my_user = `cut -d '@' -f 1 <<< "$my_acct"`
- # Specifies what name should be used when sending messages
- set realname = '#Real_Name#'
- # Specifies what "from" address should be used when sending messages
- set from = $my_acct
- # Specifies the filename of your signature, which is appended to all outgoing messages
- set signature = ~/.config/neomutt/signatures/signature.txt
- # Specifies the user for your IMAP account
- set imap_user = $my_user
- # Specifies the password for your IMAP account
- set imap_pass = $my_pass
- # Specifies the number of IMAP commands that can be queued
- set imap_pipeline_depth = 0 # iCloud doesn't support command queues
- # Specifies the default location of your mailboxes
- set folder = "imaps://imap.mail.me.com:993"
- # Specifies the mail spool or inbox mailbox
- set spoolfile = "+INBOX"
- # Specifies the postponed or drafts mailbox
- set postponed = "+Drafts"
- # Specifies the record or sent mailbox
- set record = "+Sent Messages"
- # Specifies the trash or deleted mailbox
- set trash = "+Deleted Messages"
- # This specifies the folder into which read mail in your $spoolfile folder will be appended
- unset mbox # Behavior not used in iCloud so it is unset in case it is set in other account
- # Specifies the SMTP smarthost where sent messages should relayed for delivery
- set smtp_url = "smtp://$my_user@smtp.mail.me.com:587"
- # Specifies the password for your SMTP account
- set smtp_pass = $my_pass
- # Attempt to use STARTTLS on servers advertising the capability
- set ssl_starttls = yes
- # Require that all connections to remote servers be encrypted
- set ssl_force_tls = yes
- # Cleanup temporary variables
- unset my_pass my_acct my_user
- # Remove tokens from the list of folders which can receive mail
- unmailboxes *
- # Specifies folders which can receive mail and are periodically checked for new mail
- mailboxes +INBOX \
- +Drafts \
- +Sent\ Messages\
- +Junk \
- +Deleted\ Messages \
- +Archive
- # vim:set ft=neomuttrc:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement