[Dovecot] Strange output from LIST command

Robert Schetterer rs at sys4.de
Tue Oct 22 01:13:23 EEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 21.10.2013 22:11, schrieb azurIt:
>> Od: Bron Gondwana <brong at fastmail.fm> Komu:
>> <dovecot at dovecot.org> Dátum: 17.10.2013 12:30 Predmet: Re:
>> [Dovecot] Strange output from LIST command
>> 
>> CC: "Timo Sirainen" <tss at iki.fi> On Thu, Oct 17, 2013, at 09:21
>> PM, azurIt wrote:
>>> ______________________________________________________________
>>>> Od: Bron Gondwana <brong at fastmail.fm> Komu: Michael M Slusarz
>>>> <slusarz at curecanti.org>, <dovecot at dovecot.org> Dátum:
>>>> 17.10.2013 12:14 Predmet: Re: [Dovecot] Strange output from
>>>> LIST command
>>>> 
>>>> On Tue, Oct 15, 2013, at 06:23 AM, Michael M Slusarz wrote:
>>>>> 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."
>>>> 
>>>> Just wondering if the INBOX was SELECTed at the time?
>>>> There's some fun interaction around STATUS and SELECT in
>>>> RFC3501.
>>>> 
>>>> Bron.
>>> 
>>> 
>>> Here's the complete IMAP communication, see the (1) only: 
>>> http://bugs.horde.org/view.php?actionID=view_file&type=log&file=imap-ok.log&ticket=12748
>>>
>>>
>>> 
I also find out that it's working ok when i LIST the INBOX alone like this:
>>> C: 4 LIST () "" (INBOX) RETURN (STATUS (UNSEEN)) S: * LIST ()
>>> "." "INBOX" S: * STATUS "INBOX" (UNSEEN 2) S: 4 OK List
>>> completed.
>>> 
>>> The information about UNSEEN messages is correct. It's only
>>> doing problems when listing multiple folders at once.
>> 
>> Yeah, that definitely looks like a bug!  I've CC'd Timo to grab
>> his attention :)
> 
> 
> Can anyone confirm the bug? Will it be fixed in 2.1.x? Thank you.
> 
> azur
> 


2.1.7 is out of date update to	2.1.17 or 2.2.6 and try again


Best Regards
MfG Robert Schetterer

- -- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSZab9AAoJEP8jBObu0LlEr60IAJR4REJ+cgdgCE10Z4iouHC/
mOHqAgbhzS7ZctzL/BQxurO92jjSFV2dcUCp+eijg6VPPBUy7wrQTP6QCCCJO481
CJhDKjzMMCWi7z7H2xEYjKU0J6P9wo+uCGZAk0R7GcaJiRzEv6u7nRtwsks6lROV
krvZOOkGMBGpMa2leHDxgVHGjLtmMPZgSGgvusTlxTw1iVhRdYk8gvW+cm9g3WbH
bEHF87lP0LO9aab4HcrtuM4U7hllhvDV05f3aCF5+qhA4ZDSNr0SKGg/Q4DUYLP4
sD2cbdvyJ1P/UdwqI0BLBnmUp2cdmeLxJskkSZENS8TOhPeW18KfFd0m3w+soeQ=
=jSY1
-----END PGP SIGNATURE-----


More information about the dovecot mailing list