#3310: Overhaul new mail reporting
----------------------+----------------------
  Reporter:  brendan  |      Owner:  mutt-dev
      Type:  task     |     Status:  new
  Priority:  major    |  Milestone:  1.6
 Component:  mutt     |    Version:
Resolution:           |   Keywords:
----------------------+----------------------

Comment (by mnahkola):

 Well, $mail_check_recent is broken anyway with Maildir folders and Mutt
 1.5.21 (Debian/Ubuntu packaged). Especially when there are multiple
 applications that touch the Maildir setup.

 IMHO, at least with both $mail_check_recent=no and $mark_old=no, one
 message in "cur" without the S flag should be sufficient to count that
 folder having unread messages. This is not the case now.


 What this means in practice, is that mails scanned-in by Notmuch (packaged
 version, oldish) in a Maildir mailbox no longer count towards having
 unread mail there. This is clearly incorrect.

 Also happens if you use both mutt directly and, say, something else via
 IMAP (Dovecot in my case) on the same base mailbox structure, just having
 an IMAP client access the account (not displaying any message or marking
 anything as read) is sufficient to make the mail to be shown with "O" and
 no longer count for having "unread" mail in that mailbox, for Mutt.


 Mails in the Maildir "new" subdirectory are seen as new just fine, though,
 and of course it'll be slower to trawl through all of "cur" but can't be
 helped for correctness of operation.



 Checking only the "new" subdirectory could possibly be appropriate with
 $mail_check_recent=yes and $mark_old=yes, although even so there could be
 some room for confusion.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3310#comment:6>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to