On Tuesday 28 May 2013 23:49:48 Suvayu Ali wrote:
> Hi Mick,
> 
> On Tue, May 28, 2013 at 11:17:56PM +0100, Mick wrote:
> > set folder = "imaps://imap.gmail.com:993"
> > set spoolfile = "imaps://imap.gmail.com:993/INBOX"
> > #set record = "+INBOX/Sent Mail"
> > set record = "+[Gmail]/Sent Mail"
> > #set postponed = "+INBOX/Drafts"
> > set postponed = "+[Gmail]/Drafts"
> > set trash = "+[Gmail]/Bin"
> 
> set folder="imaps://imap.gmail.com:993"
> set spoolfile="=INBOX"
> set postponed="=[Google Mail]/Drafts"
> 
> These are corresponding lines from my setup.  Maybe setting the
> spoolfile as a relative path like mine helps?  Also I'm not sure [Gmail]
> works, as you can see I have [Google Mail]/Drafts as postponed.
> 
> Hope this helps,

Thanks Ali,

Using openssl s_client to login I can see this structure listed:

. login [email protected] secret_passwd

* CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-
EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE ESEARCH

. LIST "" "*"
[snip ...]

* LIST (\HasNoChildren) "/" "INBOX"
* LIST (\HasNoChildren) "/" "MRTG"
* LIST (\HasNoChildren) "/" "Nagios"
* LIST (\HasNoChildren) "/" "OpenSSL"
* LIST (\HasNoChildren) "/" "RealVNC"
[snip ...]

* LIST (\Noselect \HasChildren) "/" "[Gmail]"
* LIST (\HasNoChildren \All) "/" "[Gmail]/All Mail"
* LIST (\HasNoChildren \Trash) "/" "[Gmail]/Bin"
* LIST (\HasNoChildren \Drafts) "/" "[Gmail]/Drafts"
* LIST (\HasNoChildren \Important) "/" "[Gmail]/Important"
* LIST (\HasNoChildren \Sent) "/" "[Gmail]/Sent Mail"
* LIST (\HasNoChildren \Junk) "/" "[Gmail]/Spam"
* LIST (\HasNoChildren \Flagged) "/" "[Gmail]/Starred"

So I think that the syntax "[Gmail]/Drafts" is correct for my Gmail account.


I editted my .muttrc like yours, replacing "+" with "=" infront of the 
folders: 

set postponed = "=[Gmail]/Drafts"

to match yours, but still takes up to two minutes saying "Evaluating cache..." 
when I login and every time I change folder into INBOX or [Gmail]/All Maill, 
where the message count is large.

Meanwhile, the "Unknown command" error every time mutt parses my 
~/.mutt/gmail/.muttrc remains.  :-(
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to