Complete.Org: Mailing Lists: Archives: offlineimap: July 2002:
Re: Mutt notifies unread messages after sync
Home

Re: Mutt notifies unread messages after sync

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Matthias Hensler <matthias@xxxxxxxx>
Cc: offlineimap@xxxxxxxxxxxx
Subject: Re: Mutt notifies unread messages after sync
From: Martijn Pieters <mj@xxxxxxxx>
Date: Sat, 20 Jul 2002 19:37:18 -0400

On Sat, Jul 20, 2002 at 05:59:34PM +0200, Matthias Hensler wrote:
> First I have to thank John Goerzen for his work and the problems he
> helped me with so far.
> I am new to this list, but searched a bit in the archives, so far I
> didn't notice anyone having a problem like me.
>
> When I send a mail, mutt creates a copy in the "Sent"-folder. If I
> synchronize this folder to my IMAP-server with offlineimap, mutt
> notifies me about a new message in this folder afterwards.
> 
> I am new to maildir (have used mbox previously), so I might not
> understand the clue here, but this is what happens:
> a) mutt puts the message in "Sent/cur" with the "seen"-Flag set.
> b) offlineimap synchronizes the folder an moves this message to
>    "Sent/new" with the "seen"-Flag set.
> c) mutt notifies a new message in "Sent", but changing into this folder
>    only shows alreay read mails. Leaving the folder then causes mutt to
>    copy the mail back to "Sent/cur".
> 
> The same happens when I copy a message from one folder to another (by
> the way, are there any plans for offlineimap to detect this, and copy
> the message on the serverside instead of deleting and uploading the
> message?).
> 
> So my question: how to prevent mutt to notifiy me about this, or to tell
> offlineimap to put message with the "seen"-Flag set into the
> "cur"-directory?

It is a bug in Mutt, for which a patch is available. According to my
understanding of the maildir format, offlineimap is correct in placing the
message in the /new directory. See the bug report in the Mutt BTS:

  http://bugs.guug.de/db/12/1258.html

and also a bug reported against offlineimap in the Debian tracker:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=152482

If you are running Debian unstable, the patch is to be applied to the next
release of the Mutt package (it was supposed to have gone in already, but
the maintainer forgot). See:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=151582

-- 
Martijn Pieters
| Software Engineer  mailto:mj@xxxxxxxx
| Zope Corporation   http://www.zope.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------


[Prev in Thread] Current Thread [Next in Thread]