Hi, i'm using Dovecot 2.1.7 (Debian Wheezy) and output from LIST command looks strange: C: 4 LIST () "" (INBOX INBOX.Karantena INBOX.Spam) RETURN (STATUS (UNSEEN)) S: * LIST () "." "INBOX" S: * LIST () "." "INBOX.Karantena" S: * STATUS "INBOX.Karantena" (UNSEEN 0) S: * LIST () "." "INBOX.Spam" S: * STATUS "INBOX.Spam" (UNSEEN 0) S: 4 OK List completed. The UNSEEN information for INBOX is completely missing. It is correct behavior? If not, is this a known bug in 2.1.7? Thank you. azur
Quoting azurIt <azurit at pobox.sk>:> i'm using Dovecot 2.1.7 (Debian Wheezy) and output from LIST command > looks strange: > > C: 4 LIST () "" (INBOX INBOX.Karantena INBOX.Spam) RETURN (STATUS (UNSEEN)) > S: * LIST () "." "INBOX" > S: * LIST () "." "INBOX.Karantena" > S: * STATUS "INBOX.Karantena" (UNSEEN 0) > S: * LIST () "." "INBOX.Spam" > S: * STATUS "INBOX.Spam" (UNSEEN 0) > S: 4 OK List completed. > > The UNSEEN information for INBOX is completely missing. It is > correct behavior?No. RFC 5819 [2]: "For each selectable mailbox matching the list pattern and selection options, the server MUST return an untagged LIST response followed by an untagged STATUS response containing the information requested in the STATUS return option." INBOX matches the list pattern (It is explicitly contained in the search list) and the selection options (which is empty), so the server MUST return both a LIST response -AND- a STATUS response. 2.1.10 changelog has this cryptic entry: - imap: Various fixes to listing mailboxes. Maybe that is what fixed things (I don't see this behavior in 2.2.6). michael
> Od: Charles Sprickman <spork at bway.net> > Komu: azurIt <azurit at pobox.sk> > D?tum: 16.10.2013 23:20 > Predmet: Re: [Dovecot] Strange output from LIST command > >I just did a move from Courier to Dovecot 2.2, and also followed the namespace suggestions in the wiki. > >I've not had any issues, but if you want to drop me a note showing the IMAP commands and results you get for LIST, I'll compare locally and let you know if I see anything different? > >Charles >-- >Charles Sprickman >NetEng/SysAdmin >Bway.net - New York's Best Internet www.bway.net >spork at bway.net - 212.655.9344 >Thank you. I tried to upgrade to 2.1.17 just to see if it helps - it didn't. Looks like an unfixed bug in 2.1.. I will see tomorrow if i can rebuild Debian experimental packages so i can try version 2.2. azur
On 14.10.2013, at 21.28, azurIt <azurit at pobox.sk> wrote:> i'm using Dovecot 2.1.7 (Debian Wheezy) and output from LIST command looks strange: > > C: 4 LIST () "" (INBOX INBOX.Karantena INBOX.Spam) RETURN (STATUS (UNSEEN)) > S: * LIST () "." "INBOX" > S: * LIST () "." "INBOX.Karantena" > S: * STATUS "INBOX.Karantena" (UNSEEN 0) > S: * LIST () "." "INBOX.Spam" > S: * STATUS "INBOX.Spam" (UNSEEN 0) > S: 4 OK List completed. > > The UNSEEN information for INBOX is completely missing. It is correct behavior? If not, is this a known bug in 2.1.7? Thank you.Fixed: http://hg.dovecot.org/dovecot-2.1/rev/d16e212531ec It was also already working for v2.2.