<<< Date Index >>>     <<< Thread Index >>>

Gmail IMAP multiple mail boxes



I'm trying to use mutt to send and receive mails from multiple gmail
boxes. I have copied my config from
http://wiki.mutt.org/?UserStory/GmailMultiIMAP. But when I invoke
mutt, it shows me it's looking at /var/mail/me. When I quit mutt, it
says 'closing connection to gmail'

Here's my config file

account-hook    imaps://aolivera@xxxxxxxxxxxxxx 'set
imap_user=aolivera@xxxxxxxxx imap_pass="password1"'
account-hook    imaps://redondos@xxxxxxxxxxxxxx 'set
imap_user=redondos@xxxxxxxxx imap_pass="password2"'
folder-hook     'imaps://aolivera@xxxxxxxxxxxxxx'       'set
folder=imaps://aolivera@xxxxxxxxxxxxxx/'
folder-hook     'imaps://redondos@xxxxxxxxxxxxxx'       'set
folder=imaps://redondos@xxxxxxxxxxxxxx/'
set folder="imaps://aolivera@xxxxxxxxxxxxxx"
mailboxes "=INBOX"
set folder="imaps://redondos@xxxxxxxxxxxxxx"
mailboxes "=INBOX"
unset folder
unset imap_passive
folder-hook    'imaps://aolivera@xxxxxxxxxxxxxx' 'set
smtp_url="smtps://aolivera@xxxxxxxxxxxxxx"'
folder-hook    'imaps://redondos@xxxxxxxxxxxxxx' 'set
smtp_url="smtps://redondos@xxxxxxxxxxxxxx"'
macro index,pager S "<save-message>=[Gmail]/Spam<enter>"    "mark
message as spam"
macro index,pager H "<save-message>=INBOX<enter>"               "mark
message as ham"

Thanks.