On Tue, Oct 15, 2013, at 06:23 AM, Michael M Slusarz wrote:
Quoting azurIt <azurit@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.
-- Bron Gondwana brong@fastmail.fm