On Mon, May 09, 2011 at 11:37:41AM +0200, David Froger wrote:
> It's working, thanks a lot!
> 
> with:
> account-hook imaps://imap.gmail.com:993 (...)
> folder-hook imaps://imap.gmail.com:993 (...)
> 
> this works:
> mailboxes "imaps://imap.gmail.com:993"
> 
> but this does not work (mutt ask my username/passwd, but can't connect):
> mailboxes "imaps://imap.gmail.com/"
> 
> I think it was my problem in previous tests.

I don't know mutt internals and this is just a guess but I think that
the problem is the explicit imap port in the _account-hook_ and the final
slash in the _mailboxes_ command. These are the relative lines i had:


        account-hook imaps://imap\.gmail\.com/ 'set 
imap_user=marco.giu...@gmail.com'
        account-hook imaps://imap\.gmail\.com/ 'set imap_pass=cucu'
        mailboxes "imaps://imap.gmail.com/"

m.

> 2011/5/9 Marco Giusti <marco.giu...@gmail.com>:
> > On Mon, May 09, 2011 at 08:55:21AM +0200, David Froger wrote:
> > [...]
> >> When I run mutt, mutt ask me the password for zimbra.HOST2, then
> >> connects to zimbra.HOST2 (I can read the mails) but I don't know how
> >> to access my Gmail account.
> >
> > use `mailboxes` command so you can switch between in browser.
> >
> >        mailboxes "imaps://imap.gmail.com/"
> >        mailboxes "imaps://zimbra.HOST2/"

-- 
Nessuno come me si è creato una società reale evocando delle ombre; al
punto che la vita dei miei ricordi assorbe il sentimento della mia
vita reale.
                                -- René de Chateaubriand, Mémoires d'Outre-tombe

Reply via email to