[Dovecot] Virtual inbox folder bug
Hi all,
I've been using dovecot as our internal mail server for quite some time. It works very well. Each of our mailboxes have 1000+ messages (some have more than 4-5000 messages).
I have recently started using virtual folders and, using an adaptation of an example script in the dovecot site (http://wiki.dovecot.org/Plugins/Virtual), to have a virtual folder changed to act as inbox.
All of my email is delivered in some folder other than the real inbox via sieve scripts. My inbox is, therefore, a virtual folder, which only displays the unread emails on all the folders in the account.
Everything works fine *except* that, when I mark an email as read or when I open an email directly on the inbox, it does not disappear from the inbox (as it should since it is not unread after being open or being marked as read).
I'm not sure if this is a bug, a "feature", or a misconfiguration.... :)
I'm using dovecot 1.2.13 on Debian Etch (installed using the backports repository). Attached is the file with the output of "dovecot -n", the script for the virtual folder and the custom login script to change the virtual folder to act as the inbox.
I'm using Thunderbird 3.1.6 on Windows XP SP3 as the main mail client and also using an Android phone (Samsung Galaxy) to access the same account.
Regards,
Anto'nio Henrique A. Proenca de Oliveira "Although we can never go back, like an old sweet song with a strong refrain, memories remain" - (Someone)
Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html $Id: .signature,v 1.5 2008/03/13 11:22:00 tat Exp tat $
Got the same "problem" with thunderbird... thunderbird wants to be intelligent and caches information... the server would remove the message, but thunderbird says "hey it was not me so i don't anything about moving" and reads the message from its cache... close thunderbird, delete the imapmail folder in your profile, and restart thunderbird => mail is gone... and if you find a way to turn off this fu***ing caching of thunderbird it would be nice to tell it to me... caching sucks with imap and i don't find any option to turn it off... bye tobi
Am 02.11.2010 22:50, schrieb Antonio Henrique Oliveira:
Hi all,
I've been using dovecot as our internal mail server for quite some time. It works very well. Each of our mailboxes have 1000+ messages (some have more than 4-5000 messages).
I have recently started using virtual folders and, using an adaptation of an example script in the dovecot site (http://wiki.dovecot.org/Plugins/Virtual), to have a virtual folder changed to act as inbox.
All of my email is delivered in some folder other than the real inbox via sieve scripts. My inbox is, therefore, a virtual folder, which only displays the unread emails on all the folders in the account.
Everything works fine *except* that, when I mark an email as read or when I open an email directly on the inbox, it does not disappear from the inbox (as it should since it is not unread after being open or being marked as read).
I'm not sure if this is a bug, a "feature", or a misconfiguration.... :)
I'm using dovecot 1.2.13 on Debian Etch (installed using the backports repository). Attached is the file with the output of "dovecot -n", the script for the virtual folder and the custom login script to change the virtual folder to act as the inbox.
I'm using Thunderbird 3.1.6 on Windows XP SP3 as the main mail client and also using an Android phone (Samsung Galaxy) to access the same account.
Regards,
--
Dr. Nagler & Company GmbH Hauptstraße 9 92253 Schnaittenbach
Tel : 09622-7197-38 Fax : 09622-7197-50 Web : http://www.nagler-company.com E-Mail : tobias.daucher@nagler-company.com
Hauptsitz: Schnaittenbach Handelregister: Amberg HRB 4653 Gerichtsstand: Amberg Steuernummer: 201/118/51825 USt.-ID-Nummer: DE 273143997 Geschäftsführer: Dr. Martin Nagler, Dr. Dr. Karl-Kuno Kunze
On 2.11.2010, at 21.50, Antonio Henrique Oliveira wrote:
All of my email is delivered in some folder other than the real inbox via sieve scripts. My inbox is, therefore, a virtual folder, which only displays the unread emails on all the folders in the account.
Everything works fine *except* that, when I mark an email as read or when I open an email directly on the inbox, it does not disappear from the inbox (as it should since it is not unread after being open or being marked as read).
The mail removal is delayed until you issue EXPUNGE command (in TB I guess that's called "purge") or reopen the mailbox. Otherwise if the message was immediately removed when marked as read, you wouldn't even have a chance to read it before it got removed.
On 03-11-2010 10:40, Timo Sirainen wrote:
On 2.11.2010, at 21.50, Antonio Henrique Oliveira wrote:
All of my email is delivered in some folder other than the real inbox via sieve scripts. My inbox is, therefore, a virtual folder, which only displays the unread emails on all the folders in the account.
Everything works fine *except* that, when I mark an email as read or when I open an email directly on the inbox, it does not disappear from the inbox (as it should since it is not unread after being open or being marked as read).
The mail removal is delayed until you issue EXPUNGE command (in TB I guess that's called "purge") or reopen the mailbox. Otherwise if the message was immediately removed when marked as read, you wouldn't even have a chance to read it before it got removed.
I've tried that and it still is not working. I haven't watched the IMAP "conversation" between Thunderbird and Dovecot (I'll see if I can do it later). I've opened a message directly from the Inbox, asked TB to do a "compact" on the folders (which I believe issues an "EXPUNGE" command to the imap server) and the mails are still there, marked as read, but still showing up on the "virtual" inbox.
Strangely enough, if I access the virtual folder directly the messages do not show up there. Maybe it's thunderbird's fault? Can somebody else try to reproduce this and see what' happens? Maybe with a different mail client.
Regards,
Anto'nio Henrique A. Proenca de Oliveira "Although we can never go back, like an old sweet song with a strong refrain, memories remain" - (Someone)
Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html $Id: .signature,v 1.5 2008/03/13 11:22:00 tat Exp tat $
participants (3)
-
Antonio Henrique Oliveira
-
Timo Sirainen
-
Tobias Daucher