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

Re: imap recent



On Monday, June  8 at 12:21 PM, quoth Patrick Welche:
Now I'm even more confused: mutt says after several days of not reading mail, mutt says:

Msgs:220272 New:6 Old:710

and those refer to the 6 new messages I received while it is open.

YIKES - that is a *huge* mailbox!

It's interesting that mutt seems to think all unseen messages are Old.

Then, leaving mutt open, I tried imtest localhost to the cyrus imap server and:

I'd be more interested in what cyrus actually sent mutt. Imtest isn't going to be reproducing exactly what mutt sent, so you don't know exactly what cyrus sent mutt, we can only hope that what you're showing here is what mutt saw.

Compile mutt with debugging enabled, and then run mutt with the '-d 5' flag, so that mutt will show you EXACTLY what it received.

. examine inbox
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen $MDNSent Junk
* OK [PERMANENTFLAGS ()]
* 220272 EXISTS
* 0 RECENT
* OK [UNSEEN 214633]
* OK [UIDVALIDITY 1067797702]
* OK [UIDNEXT 710439]
* OK [NOMODSEQ] Sorry, modsequences have not been enabled on this mailbox
* OK [URLMECH INTERNAL]
. OK [READ-ONLY] Completed

So, would mutt actually say 0 new?

As I understand how mutt works, mutt determines the number of new/old by comparing what's in the folder to what's in it's header cache.

If you delete mutt's header cache, does it default to assuming that every unread message is new (as I would have thought) or does it default to assuming that every unread message is old?

~Kyle
--
Last comes the beverage of the Orient shore, Mocha, far off, the fragrant berries bore. Taste the dark fluid with a dainty lip, Digestion waits on pleasure as you sip.
                                                       -- Pope Leo XII

Attachment: pgpGHEqzU2qOm.pgp
Description: PGP signature