I found some time to further debug my problem, and I suspect there is a problem with my namespace configuration (full dovecot -n output is in the original bug report):
namespace: type: private separator: / inbox: yes list: yes subscriptions: yes namespace: type: public separator: / prefix: ADwin/ location: maildir:/home/vmail/public:INDEX=/home/vmail/adwin.de/%n/public list: children Since the problem with "fake" unread emails occurs only in public folders, I would like to know if that is a valid namespace config or if I should move "private" to a third namespace with a non-empty prefix. When I traced the IMAP dialogue with wireshark, I saw that the public folders are returned for the commands 5 lsub "" "*" and 6 lsub "" "ADwin/*" Is that the expected result? * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot ready. 1 authenticate plain + secret.....== 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS ACL RIGHTS=texk] Logged in 2 namespace * NAMESPACE (("" "/")) NIL (("ADwin/" "/")) 2 OK Namespace completed. 3 ENABLE CONDSTORE * ENABLED CONDSTORE 3 OK Enabled. 4 ID ("name" "Icedove" "version" "8.0") * ID NIL 4 OK ID completed. 5 lsub "" "*" * LSUB () "/" "Junk" * LSUB () "/" "Drafts" * LSUB () "/" "INBOX" * LSUB () "/" "Listen/Arpwatch" * LSUB () "/" "Listen/Buildmaster" * LSUB () "/" "Listen/CSTA" [...] snipped about 50 other folders * LSUB () "/" "Sent" * LSUB () "/" "Trash" * LSUB () "/" "ADwin/Faxe_JPG" * LSUB () "/" "ADwin/Info" * LSUB () "/" "ADwin/Virus" * LSUB () "/" "ADwin/Outgoing_Support" 5 OK Lsub completed. 6 lsub "" "ADwin/*" * LSUB () "/" "ADwin/Faxe_JPG" * LSUB () "/" "ADwin/Info" * LSUB () "/" "ADwin/Virus" * LSUB () "/" "ADwin/Outgoing_Support" 6 OK Lsub completed. [...] 62 STATUS "ADwin/Info" (UIDNEXT MESSAGES UNSEEN RECENT) * STATUS "ADwin/Info" (MESSAGES 1195 RECENT 0 UIDNEXT 1461 UNSEEN 5) 62 OK Status completed. [...] 74 select "ADwin/Info" (CONDSTORE) * OK [CLOSED] Previous mailbox closed. * FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk Junk $label4 erledigt $Forwarded $MDNSent bearbeitet $label3 erledigt_akk erledigt_bk erledigt_yr faxausdrucken zu_erledigen_akk $label1 $label2 $label5 zu_erledigen_bk) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk Junk $label4 erledigt $Forwarded $MDNSent bearbeitet $label3 erledigt_akk erledigt_bk erledigt_yr faxausdrucken zu_erledigen_akk $label1 $label2 $label5 zu_erledigen_bk \*)] Flags permitted. * 1195 EXISTS * 0 RECENT * OK [UNSEEN 1148] First unseen. * OK [UIDVALIDITY 1323185171] UIDs valid * OK [UIDNEXT 1461] Predicted next UID * OK [HIGHESTMODSEQ 1543] Highest 74 OK [READ-WRITE] Select completed. 75 myrights "ADwin/Info" * MYRIGHTS "ADwin/Info" lrwstipd 75 OK Myrights completed. 76 UID fetch 1461:* (FLAGS) * 1195 FETCH (UID 1460 FLAGS (\Seen)) 76 OK Fetch completed. I was wondering if this behaviour is related to the one reported in the dovecot mailinglist a few days ago (Subject: LIST-STATUS issue). Regards, Thomas Herrmann -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org