Matthias Rieber
2010-Jan-06 11:18 UTC
[Dovecot] strange behaviour with seen/unseen messages in virtual folders.
Hi, I've a virtual folder that contains unseen messages. When I mark the message and expunge the folder, the message should disappear. This works as expected in alpine. Alpine uses the following commands: 06000010 STORE 1 +Flags (\SEEN) 06000020 EXPUNGE Using roundcube mail, the message wont disappear, when I perform the same steps. RoundCube Mails sends: flg UID STORE 445 +FLAGS (\Seen) exp1 EXPUNGE But the message doesn't dissapear. But I can expunge it with alpine, as long as the folder contains one message. If it contains more messages, some or even all messages won't disappear. When I mark them as unseen/seen in alpine, I can expunge them with alpine. The expunge command send by roundcube mail never expunges any seen message in the unseen folder. Whether it was flagged as seen by alpine nor roundcube mail. kind regards, matthias
Timo Sirainen
2010-Jan-24 21:44 UTC
[Dovecot] strange behaviour with seen/unseen messages in virtual folders.
On Wed, 2010-01-06 at 12:18 +0100, Matthias Rieber wrote:> Using roundcube mail, the message wont disappear, when I perform the same > steps. RoundCube Mails sends: > > flg UID STORE 445 +FLAGS (\Seen) > exp1 EXPUNGEThat's because those are sent in two separate sessions. Actually my original plan was that simply re-opening a mailbox would drop the unwanted messages, so expunge wouldn't even be necessary then. But looks like all this got broken when I optimized the code.. I'll have to figure out some way to fix it. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20100124/bb9d2042/attachment-0002.bin>