#3424: Mutt falsely detects its own mbox writes as new mail.
-------------------------+--------------------------------------------------
  Reporter:  dvalin      |       Owner:  me                       
      Type:  defect      |      Status:  closed                   
  Priority:  major       |   Milestone:  1.6                      
 Component:  mutt        |     Version:  1.5.20                   
Resolution:  worksforme  |    Keywords:  false mail detection mbox
-------------------------+--------------------------------------------------
Changes (by me):

  * status:  new => closed
  * resolution:  => worksforme


Old description:

> Whether check_mbox_size is set or not, immediate new mail detection
> occurs on copying an email the same mailbox, or saving it to another
> mailbox. To replicate, just copy an email within an mbox which is listed
> as a mailbox in .muttrc.
>
> Proposed fix for the immediate status line misreporting:
>    Check the mbox ctime and size before writing to it, not after, since
> real "Newness" has been corrupted by mutt's write.
>
> Proposed fix for subsequent erroneous detection of the mutt write as new
> mail:
>    When mutt transfers a read mail, perform the mbox write, then update
> mutt's ctime and file size tidemarks. New mail will then only be detected
> when an outside agency changes either.

New description:

 Whether check_mbox_size is set or not, immediate new mail detection occurs
 on copying an email the same mailbox, or saving it to another mailbox. To
 replicate, just copy an email within an mbox which is listed as a mailbox
 in .muttrc.

 Proposed fix for the immediate status line misreporting:
    Check the mbox ctime and size before writing to it, not after, since
 real "Newness" has been corrupted by mutt's write.

 Proposed fix for subsequent erroneous detection of the mutt write as new
 mail:
    When mutt transfers a read mail, perform the mbox write, then update
 mutt's ctime and file size tidemarks. New mail will then only be detected
 when an outside agency changes either.

--

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

Reply via email to