Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set my_pass1=`cat ~/.mutt/passwdOS`
- set my_pass2=`cat ~/.mutt/passwdPG`
- #-------------------------------------
- # Account Hooks
- #-------------------------------------
- account-hook . 'unset imap_user unset imap_pass' # unset first!
- account-hook 'imaps://username@mail.server.com/' "\
- set imap_user username imap_pass=$my_pass1 "
- account-hook 'imaps://username@googlemail.com@imap.gmail.com' "\
- set imap_user username@googlemail.com imap_pass=$my_pass2 "
- # Setup for second account:
- set folder="imaps://username@mail.server.com/"
- mailboxes =INBOX =Drafts ='Sent Items' =Junk
- folder-hook 'imaps://usernamee@mail.server.com/' " \
- set folder=imaps://username@mail.server.com/ \
- postponed=+Drafts \
- record=+'Sent Items' \
- smtp_url=smtps://username@mail.server.com \
- smtp_pass=$my_pass1 \
- signature=~/.mutt/user1.sig \
- from='Real Name <username> ' \
- realname='Real Name' "
- #
- # Setup for user@host.com:
- set folder="imaps://username@googlemail.com@imap.gmail.com/"
- mailboxes =INBOX =[Gmail]/Drafts =[Gmail]/'Sent Mail' =[Gmail]/Spam
- folder-hook 'imaps://username@googlemail.com@imap.gmail.com' " \
- set folder=imaps://username@googlemail.com@imap.gmail.com/ \
- postponed=+[Gmail]/Drafts \
- record=+[Gmail]/'Sent Mail' \
- smtp_url=smtps://username@googlemail.com@smtp.gmail.com \
- smtp_pass=$my_pass2 \
- signature=~/.mutt/user2.sig \
- from='Real Name <user@host.com> ' \
- realname='Real Name' "
- #
- #-------------------------------------
- # Macros to make life easier
- #-------------------------------------
- macro index <esc>1 "y1<return><return>" # ESC+1 takes to first INBOX
- macro index <esc>2 "y5<return><return>" # ESC+2 takes to the second
- #
- #-------------------------------------
- # Mail-check preferences
- #-------------------------------------
- set timeout=60 #Check for mail every minute
- set mail_check=5
- #
- # EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement