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

Re: [Mutt] #2897: message counts in mailbox view all zero (IMAP,



#2897: message counts in mailbox view all zero (IMAP, courier)

Changes (by Jajcus):

  * version:  1.5.15 => 1.5.17

Comment:

 Today I have updated mutt to 1.5.17. And the problem was still there... so
 I started debugging...
 The cause of the problems seems to be difference in what folder names Mutt
 uses ("INBOX./Personal" in my case) and what folder name IMAP server
 reports ("INBOX"). I fixed that by updating the imap_mxcmp() function so
 it normalizes folder delimiters (as defined by imap_delim_chars option)
 while comparing folder names. That fixed the "all zeros" problems for me.
 See the 'mutt-imap_mxcmp.patch' attached.

 Though, I was not quite satisfied with the result, because Mutt showed me
 number of "old unread" messages instead of  the really new ones. So I made
 a new patch, which uses 'recent' messages instead of 'unseen'. But usage
 of that may be a personal choice or even depend on the server used, so the
 second patch (mutt-imap_recent.patch) should not be applied upstream
 unaltered.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2897#comment:10>