IMAP access marking new messages as "old" for mutt

Marc Haber via dovecot <[email protected]>
Newsgroups gmane.mail.imap.dovecot
Message-ID <[email protected]>
Hi,

this might be a stupid question asked by someone who does not know 
enough about IMAP, but I'm going to tell you my user story anyway:

tl;dr: can I keep dovecot from moving all "NEW" message to·
"OLD" state when the Mailbox was opened once and nothing actually read?

long version:
My mail is delivered to a maildir on a machine I also have a shell 
account on. That Maildir is huge, it holds half a million messages. I 
usually access it directly with mutt accessing the spool. In the 
Mailbox, new messages automatically get the N flag and once I have 
opened it in mutt, I can mark it as "O" (old). I use that flag for 
messages that still need further work, I usually have a couple of 
hundred messages in that state. There is also a third state (I would 
call it "read") that doesnt display any flags in mutt.

Occasionally, I need access to an attachment directly on my work box. In 
the past, I have moved that message to a sub-maildir which I then access 
with Thunderbird or neomutt via IMAP and dovecot (configured via 
userdb).

I now want to give neomutt direct IMAP access to the BIG mailbox. I am 
impressed how quickly the neomutt/dovecot acesses this mailbox. However, 
once I have once opened that mailbox, all messages that had the N flag 
in the mutt-on-spool lose that flag immediately, replaced by the O flag. 
That destroys my method of seeing "O" messages as "needs work".

Since that happens with both Thunderbird and neomutt when testing, I 
suspect, this is either mandated by the protocol (which would be a 
showstopper for me), or a dovecot issue, maybe even a thing that I could 
configure in dovecot.

Hence, my question, can I configure dovecot to move a "NEW" message to 
"OLD" only if the message was actually READ/body-displayed by an IMAP 
client? And, if yes, how do I do that.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.