#2883: mutt gets confused when a message disappears from a maildir -------------------------+-------------------------------------------------- Reporter: myon | Owner: mutt-dev Type: defect | Status: closed Priority: minor | Milestone: 1.6 Component: mutt | Version: Resolution: worksforme | Keywords: -------------------------+-------------------------------------------------- Changes (by brendan):
* status: new => closed * resolution: => worksforme Old description: > {{{ > ----- Forwarded message from Mike O'Connor <s...@vireo.org> ----- > > Date: Wed, 18 Apr 2007 18:30:12 -0400 > From: Mike O'Connor <s...@vireo.org> > Reply-To: Mike O'Connor <s...@vireo.org>, 419...@bugs.debian.org > To: Debian Bug Tracking System <sub...@bugs.debian.org> > Subject: Bug#419946: mutt gets confused when a message dissapears from a > maildir > > Package: mutt > Version: 1.5.13-3 > Severity: normal > > I use offlineimap to keep multiple computers in sync with a remote > imap server. If offline imap deletes a file from a new directory in a > Maildir that mutt is currently viewing, mutt gets an error trying to > move the file from new to cur when running <sync-mailbox>. The only > recourse is to quit mutt and restart. > > Here are the steps I can use to reproduce this: > > Machine A and Machine B run the same offlineimap config and the same > mutt config. > > I start offlineimap on both, which re-syncs with the server every 5 > minutes. > > I start mutt on both, and switch both machines to be viewing some > maildir which is synced by offlineimap which has new messages (which > equates to messages in that maildir's new directory). > > On machine A i delete one of the messages which was new, then change > to a different folder (causing the message to actually be deleted). > > The next time machine A's offlineimap syncs to the server, it deletes > the message on the server. > > The next time machine B's offlineimap syncs to the server, it deletes > the message that machine A delted from the new directory of the folder > that machine B's mutt is viewing. > > Then if i try to change folders or run :sync-mailbox on machine B, i > get an error in the status area: > > rename: No such file or directory (errno = 2) > > stracing the running process reveals that it is, in fact trying to > rename a no-longer-existant file from the new directory to the cur > directory. > > At this point, I can never change folders on Machine B without > quitting mutt and restarting it. > > Thanks, > > stew > }}} New description: {{{ ----- Forwarded message from Mike O'Connor <s...@vireo.org> ----- Date: Wed, 18 Apr 2007 18:30:12 -0400 From: Mike O'Connor <s...@vireo.org> Reply-To: Mike O'Connor <s...@vireo.org>, 419...@bugs.debian.org To: Debian Bug Tracking System <sub...@bugs.debian.org> Subject: Bug#419946: mutt gets confused when a message dissapears from a maildir Package: mutt Version: 1.5.13-3 Severity: normal I use offlineimap to keep multiple computers in sync with a remote imap server. If offline imap deletes a file from a new directory in a Maildir that mutt is currently viewing, mutt gets an error trying to move the file from new to cur when running <sync-mailbox>. The only recourse is to quit mutt and restart. Here are the steps I can use to reproduce this: Machine A and Machine B run the same offlineimap config and the same mutt config. I start offlineimap on both, which re-syncs with the server every 5 minutes. I start mutt on both, and switch both machines to be viewing some maildir which is synced by offlineimap which has new messages (which equates to messages in that maildir's new directory). On machine A i delete one of the messages which was new, then change to a different folder (causing the message to actually be deleted). The next time machine A's offlineimap syncs to the server, it deletes the message on the server. The next time machine B's offlineimap syncs to the server, it deletes the message that machine A delted from the new directory of the folder that machine B's mutt is viewing. Then if i try to change folders or run :sync-mailbox on machine B, i get an error in the status area: rename: No such file or directory (errno = 2) stracing the running process reveals that it is, in fact trying to rename a no-longer-existant file from the new directory to the cur directory. At this point, I can never change folders on Machine B without quitting mutt and restarting it. Thanks, stew }}} -- Comment: I cannot reproduce this either. When I return to the index from the pager after having deleted the message (in new/), mutt simply reports that the mailbox has been modified and removes the message from the index. I'm closing this bug again. -- Ticket URL: <http://dev.mutt.org/trac/ticket/2883#comment:> Mutt <http://www.mutt.org/> The Mutt mail user agent