Dale A. Raby wrote:
I'm no expert, but I'm pretty sure you need the following in your .muttrc file 
in order to access a gmail account via IMAP:

set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed="+[Gmail]/Drafts"

set header_cache= /home/dale/.mutt/cache/headers
set message_cachedir= /home/dale/.mutt/cache/bodies
set certificate_file= /etc/pki/tls/certs/ca-bundle.crt
And I also need to add an instance of the following for each of my IMAP accounts?

set realname = "Your realname"
set from = "Email address"
set imap_user = "yourusern...@foo.org"
set imap_pass = "yourpassword"

How do I switch between IMAP accounts? I looked here http://wiki.mutt.org/?action=browse&diff=1&id=UserStory/GmailMultiIMAP and see they suggest the following:

set folder="imaps://aoliv...@imap.gmail.com"
mailboxes "=INBOX"

set folder="imaps://redon...@imap.gmail.com"
mailboxes "=INBOX"

unset folder

unset imap_passive


Notice that the INBOX is not the same.

BTW, thanks for the paranoid tips :-)

Reply via email to