gmail imap specifying mailboxes
Greetings, Been mostly happy using mutt with gmail, except for the listing of all subscribed mailboxes -- I want to list only certain mailboxes, including a few user-created ones. All the instructions I've found for the "mailboxes" command fail to result in fully functional listings. I seem to have succeeded at getting them to show in the sidebar (using the patch, of course), and I can use that to switch to them, but when I hit 'c' followed by '?' INBOX is the only one that shows. Anyone here succeed at manually specifying gmail imap boxes ("labels")? Whn I try the 'normal' way (+nameofmailbox, =[Gmail]/Drafts, etc) I get non-functional listings in the sidebar, nothing from using 'c' '?', and nothing from 'c' =nameofmailbox. Here's the relevant portion of muttrc: mailboxes "imaps://imap.gmail.com:993/INBOX" "imaps://imap.gmail.com:993/[Gmail]/Sent Mail" "imaps://imap.gmail.com:993/[Gmail]/Drafts" "imaps://imap.gmail.com:993/bhakti" "imaps://imap.gmail.com:993/debian-user" "imaps://imap.gmail.com:993/family" "imaps://imap.gmail.com:993/mutt-users" "imaps://imap.gmail.com:993/reference" TIA! -- ❤ ♫ ❤ ♫ ❤ ♫ ❤ Indulekha
Re: gmail imap specifying mailboxes
On Sat, May 05, 2012 at 07:53:18AM -0500, David Champion wrote: > * On 05 May 2012, Indulekha wrote: > > > > mailboxes "imaps://imap.gmail.com:993/INBOX" > > "imaps://imap.gmail.com:993/[Gmail]/Sent Mail" > > "imaps://imap.gmail.com:993/[Gmail]/Drafts" > > "imaps://imap.gmail.com:993/bhakti" > > "imaps://imap.gmail.com:993/debian-user" > > "imaps://imap.gmail.com:993/family" "imaps://imap.gmail.com:993/mutt-users" > > "imaps://imap.gmail.com:993/reference" > > So, this line works, but you want to use the shorthand =reference, > =mutt-users, etc? Or neither works? > > You should be able to use: > > folder imaps://imap.gmail.com:993/ > mailboxes +INBOX "+[Gmail]/Sent Mail" "+[Gmail]/Drafts" +bhakti ... > > although I've never tried with gmail and am not sure whether there are > problems with "[Gmail]" or with spaces. > Thanks for the reply, David. Perhaps I was too brief, but yes, I started out with exactly what you suggest and it does not work. With or without quotes, using "+" or "=" before mailbox names, and just about every variation I could think of. I get listings when toggling sidebar visibilty, but they are all fake, showing 0 messages, and 'c' '?' shows nothing but INBOX (specified under 'set folder', of course). I'm thinking it's either an imap bug (compiled with mutt's built-in imap on debian) or Google has begun using some "special sauce", so now it's imap_check_subscribed or you get locked out. I hope not the latter! Hopefully, it's just something I overlooked but having tried so many variations and having read about 100 pages on the web about this, nothing has come up. It's rather vexing... -- ❤ ♫ ❤ ♫ ❤ ♫ ❤ Indulekha
SOLVED Re: gmail imap specifying mailboxes
I can't imagine why, but it works very well for me now. The solution was as follows: set spoolfile ="imaps://imap.gmail.com:993" set folder ="imaps://imap.gmail.com:993/" unmailboxes "+[Gmail]/All Mail" mailboxes "imaps://imap.gmail.com:993/INBOX" "imaps://imap.gmail.com:993/[Gmail]/Sent Mail" "imaps://imap.gmail.com:993/[Gmail]/Drafts" "imaps://imap.gmail.com:993/bhakti" "imaps://imap.gmail.com:993/debian-user" "imaps://imap.gmail.com:993/family" "imaps://imap.gmail.com:993/mutt-users" "imaps://imap.gmail.com:993/reference" I'd swear I'd tried exactly this before, but perhaps it was the trailing '/' at the end of 'set folder' vs specifying 'INBOX" that did it Wen through so many permutations I'm not sure anymore... -- ❤ ♫ ❤ ♫ ❤ ♫ ❤ Indulekha
Re: SOLVED Re: gmail imap specifying mailboxes
On Sat, May 05, 2012 at 11:21:35AM -0500, Indulekha wrote: > I can't imagine why, but it works very well for me now. > The solution was as follows: > > set spoolfile ="imaps://imap.gmail.com:993" > set folder ="imaps://imap.gmail.com:993/" > unmailboxes "+[Gmail]/All Mail" > mailboxes "imaps://imap.gmail.com:993/INBOX" > "imaps://imap.gmail.com:993/[Gmail]/Sent Mail" > "imaps://imap.gmail.com:993/[Gmail]/Drafts" > "imaps://imap.gmail.com:993/bhakti" "imaps://imap.gmail.com:993/debian-user" > "imaps://imap.gmail.com:993/family" "imaps://imap.gmail.com:993/mutt-users" > "imaps://imap.gmail.com:993/reference" > > I'd swear I'd tried exactly this before, but perhaps it was the trailing '/' > at the end of 'set folder' vs specifying 'INBOX" that did it > Wen through so many permutations I'm not sure anymore... > Also, the shorthand form of "+family", "+[Gmail]/Sent Mail", etc is just fine. Apologies for the noise, it's working as it's supposed to no problem. Guess I was just having a senior moment, not sure if it was my eyes or my brain that was to blame... -- ❤ ♫ ❤ ♫ ❤ ♫ ❤ Indulekha
Re: New mail indicator
On Thu, May 10, 2012 at 06:58:28PM +0700, Diep Pham Van wrote: > I wonder if my work flow is different with all you guys or I'm the > only one who face this problem? > > Sometimes when reading a new mail, I must going to an other folder and > after some searching, I have no idea where is my previous > folder. > > Or is there some tool that I don't know but every one use to make your > life with mutt easier? > > On Wed, Apr 18, 2012 at 10:51:02PM +0700, Diep Pham Van wrote: > > I have a very simple question but cannot find the answer anywhere. > > > > I have mutt setup with offlineimap using maildir format. When I press > > `y` to change to one of my mailbox, and there is some unread mail in > > the current folder, if I change to another folder, the new mail > > indicator ('N' character) disappear. How can I keep that 'N'? I > > always have a hard time searching for unread mails. > > There's a sidebar patch which is popular, it shows your mailboxes in a sidebar along with the number of mails and unread mails in each box. I used to be kind of addicted to it myself, but if you switch imap accounts in mutt the sidebar doesn't keep up, just keeps adding the mailboxes to the list without getting rid of the old ones from the previous account. Probably the only real drawback, but it was confusing enough I just went back to straight mutt. As someone else mentioned, hitting "y" gives you the list, and "c" will automatically suggest boxes with new, unread mail. Good enough for me, YMMV. -- ❤ ♫ ❤ ♫ ❤ ♫ ❤ Indulekha
Re: Anyone using Mutt on a Mac?
On Sat, May 12, 2012 at 06:51:52PM -0500, Jim Graham wrote: > I'm going to be replacing my old, rapidly dying systems with a > Mac next month, and am wondering if anyone here has used Mutt > on Mac OS X (Lion). I'm curious about how that's working out, > etc. (I've never actually SEEN Mac OS X, so I don't know how > much of the Unix base is still there). > I used to, a few years ago. Good guide here: http://linsec.ca/opensearch_desc.php -- ❤ ♫ ❤ ♫ ❤ ♫ ❤ Indulekha
Re: Anyone using Mutt on a Mac?
On Sat, May 12, 2012 at 07:29:29PM -0500, Jim Graham wrote: > On Sun, May 13, 2012 at 12:22:49AM +0100, Koralatov wrote: > > > As for OS X's Unix base: I'm not at all experienced, or even > > particularly knowledgeable, about Unix, but it appears pretty intact to > > me. The biggest difference I've discovered from other *nixen is that it's > > deprecated cron in favour of launchd. > > I suspect I'll still be using cron anyways...I have too much in my > crontab, and like Mutt, I'm very comfortable with it. :-) > It's been about 3 years since I used OS X, but it seemed to me there were quite a few little annoyances and gotchas for people accustomed to BSD and Linux. In fact, I initially nicknamed it "BustedBSD", LOL, but fortunately the problems were all relatively simple to overcome. iTerm (to replace Terminal.app) was a *very* important upgrade, and there were quite a few things which were better from source than from Mac Ports. The situation may be different now, of course. My experience was with Tiger, Leopard, and Snow Leopard, using a 2009 Mac Mini Core2duo and also a 2004 G4 eMac. I would hope it's better now. :) -- ❤ ♫ ❤ ♫ ❤ ♫ ❤ Indulekha
Re: Anyone using Mutt on a Mac?
On Sat, May 12, 2012 at 09:04:00PM -0500, Jim Graham wrote: > On Sun, May 13, 2012 at 11:39:00AM +1000, Cameron Simpson wrote: > Ok... Why does mutt-users not show up as a list with your posts, > and works for all others? I've never seen this happen before with > Mutt and lists. > My mutt sees mutt-users when I hit 'L' with Cameron's posts... -- ❤ ♫ ❤ ♫ ❤ ♫ ❤ Indulekha