<!DOCTYPE html><html><head><title></title><style type="text/css">#qt p.qt-MsoNormal{margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri, sans-serif;}
#qt a:link{color:blue;text-decoration-line:underline;text-decoration-style:initial;text-decoration-color:initial;}
#qt a:visited{color:purple;text-decoration-line:underline;text-decoration-style:initial;text-decoration-color:initial;}
p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>As a workaround (if this turns out to be a Dovecot bug) - <br></div><div><br></div><div>- you could use STATUS instead.<br></div><div><br></div><div>It would be several commands, one per folder, so you'd want to send them pipelined for performance.<br></div><div><br></div><div>I've done this before in an email app I worked on and haven't seen any issues with Dovecot or any other server (e.g. Gmail, Cyrus, Fastmail ...)</div><div><br></div><div>-- K</div><div><br></div><div>On Tue, Jul 16, 2019, at 11:41 AM, Emil Kalchev via dovecot wrote:<br></div><blockquote type="cite" id="qt"><div class="qt-WordSection1"><p class="qt-MsoNormal">There is no error in the server logs. I checked those particular folders on the server and they don’t seems to have anything special about them, like permission or etc.<br></p><p class="qt-MsoNormal"> <br></p><p class="qt-MsoNormal">Yes, calling STATUS on those particular folders returns the status. The folders can be opened and they have emails in them so nothing special about those folders.<br></p><p class="qt-MsoNormal"> <br></p><p class="qt-MsoNormal"># 2.3.5 (513208660): /etc/dovecot/dovecot.conf<br></p><p class="qt-MsoNormal"># OS: Linux 3.10.0-957.21.3.el7.x86_64 x86_64 CentOS Linux release 7.6.1810 (Core)<br></p><p class="qt-MsoNormal"># Hostname: mail.HIDDEN<br></p><p class="qt-MsoNormal">auth_cache_size = 1 M<br></p><p class="qt-MsoNormal">auth_mechanisms = plain login<br></p><p class="qt-MsoNormal">auth_username_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$-=?^_{}~./@+%"<br></p><p class="qt-MsoNormal">disable_plaintext_auth = no<br></p><p class="qt-MsoNormal">first_valid_uid = 201<br></p><p class="qt-MsoNormal">lda_mailbox_autocreate = yes<br></p><p class="qt-MsoNormal">lmtp_rcpt_check_quota = yes<br></p><p class="qt-MsoNormal">lmtp_save_to_detail_mailbox = yes<br></p><p class="qt-MsoNormal">lmtp_user_concurrency_limit = 4<br></p><p class="qt-MsoNormal">mail_access_groups = dovecot<br></p><p class="qt-MsoNormal">mail_plugins = quota quota_clone zlib fts fts_solr<br></p><p class="qt-MsoNormal">mail_prefetch_count = 20<br></p><p class="qt-MsoNormal">maildir_very_dirty_syncs = yes<br></p><p class="qt-MsoNormal">namespace inbox {<br></p><p class="qt-MsoNormal">inbox = yes<br></p><p class="qt-MsoNormal">location =<br></p><p class="qt-MsoNormal">mailbox Archive {<br></p><p class="qt-MsoNormal">auto = create<br></p><p class="qt-MsoNormal">special_use = \Archive<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">mailbox Archives {<br></p><p class="qt-MsoNormal">auto = no<br></p><p class="qt-MsoNormal">special_use = \Archive<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">mailbox Drafts {<br></p><p class="qt-MsoNormal">auto = subscribe<br></p><p class="qt-MsoNormal">special_use = \Drafts<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">mailbox Sent {<br></p><p class="qt-MsoNormal">auto = subscribe<br></p><p class="qt-MsoNormal">special_use = \Sent<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">mailbox "Sent Messages" {<br></p><p class="qt-MsoNormal">auto = no<br></p><p class="qt-MsoNormal">special_use = \Sent<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">mailbox Trash {<br></p><p class="qt-MsoNormal">auto = subscribe<br></p><p class="qt-MsoNormal">special_use = \Trash<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">mailbox spam {<br></p><p class="qt-MsoNormal">auto = subscribe<br></p><p class="qt-MsoNormal">special_use = \Junk<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">prefix = INBOX.<br></p><p class="qt-MsoNormal">separator = .<br></p><p class="qt-MsoNormal">type = private<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">passdb {<br></p><p class="qt-MsoNormal">args = /usr/local/cpanel/etc/dovecot/cpauthd-dict.conf<br></p><p class="qt-MsoNormal">driver = dict<br></p><p class="qt-MsoNormal">result_failure = return-fail<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">plugin {<br></p><p class="qt-MsoNormal">acl = vfile:cache_secs=86400<br></p><p class="qt-MsoNormal">fts = solr<br></p><p class="qt-MsoNormal">fts_solr = url=http://#hidden_use-P_to_show#@127.0.0.1:8984/solr/dovecot/<br></p><p class="qt-MsoNormal">quota_exceeded_message = Mailbox is full / Blocks limit exceeded / Inode limit exceeded<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">protocols = lmtp imap pop3<br></p><p class="qt-MsoNormal">service auth {<br></p><p class="qt-MsoNormal">unix_listener auth-client {<br></p><p class="qt-MsoNormal">mode = 0666<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">service config {<br></p><p class="qt-MsoNormal">vsz_limit = 2 G<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">service dict {<br></p><p class="qt-MsoNormal">unix_listener dict {<br></p><p class="qt-MsoNormal">group = dovecot<br></p><p class="qt-MsoNormal">mode = 0660<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">service imap-login {<br></p><p class="qt-MsoNormal">client_limit = 500<br></p><p class="qt-MsoNormal">inet_listener imap {<br></p><p class="qt-MsoNormal">address = *,::<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">inet_listener imaps {<br></p><p class="qt-MsoNormal">address = *,::<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">process_limit = 50<br></p><p class="qt-MsoNormal">process_min_avail = 2<br></p><p class="qt-MsoNormal">service_count = 0<br></p><p class="qt-MsoNormal">vsz_limit = 128 M<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">service imap {<br></p><p class="qt-MsoNormal">process_limit = 512<br></p><p class="qt-MsoNormal">vsz_limit = 512 M<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">service lmtp {<br></p><p class="qt-MsoNormal">client_limit = 1<br></p><p class="qt-MsoNormal">process_limit = 500<br></p><p class="qt-MsoNormal">unix_listener lmtp {<br></p><p class="qt-MsoNormal">group = mail<br></p><p class="qt-MsoNormal">mode = 0660<br></p><p class="qt-MsoNormal">user = mailnull<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">vsz_limit = 512 M<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">service managesieve-login {<br></p><p class="qt-MsoNormal">client_limit = 500<br></p><p class="qt-MsoNormal">process_limit = 50<br></p><p class="qt-MsoNormal">process_min_avail = 2<br></p><p class="qt-MsoNormal">service_count = 0<br></p><p class="qt-MsoNormal">vsz_limit = 128 M<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">service managesieve {<br></p><p class="qt-MsoNormal">process_limit = 512<br></p><p class="qt-MsoNormal">vsz_limit = 512 M<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">service pop3-login {<br></p><p class="qt-MsoNormal">client_limit = 500<br></p><p class="qt-MsoNormal">inet_listener pop3 {<br></p><p class="qt-MsoNormal">address = *,::<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">inet_listener pop3s {<br></p><p class="qt-MsoNormal">address = *,::<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">process_limit = 50<br></p><p class="qt-MsoNormal">process_min_avail = 2<br></p><p class="qt-MsoNormal">service_count = 0<br></p><p class="qt-MsoNormal">vsz_limit = 128 M<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">service pop3 {<br></p><p class="qt-MsoNormal">process_limit = 512<br></p><p class="qt-MsoNormal">vsz_limit = 512 M<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">service quota-status {<br></p><p class="qt-MsoNormal">executable = quota-status -p postfix<br></p><p class="qt-MsoNormal">unix_listener quota-status {<br></p><p class="qt-MsoNormal">mode = 0666<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">service stats {<br></p><p class="qt-MsoNormal">client_limit = 2000<br></p><p class="qt-MsoNormal">unix_listener stats-writer {<br></p><p class="qt-MsoNormal">mode = 0666<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">ssl_cert = </etc/dovecot/ssl/dovecot.crt<br></p><p class="qt-MsoNormal">ssl_cipher_list = ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:!DSS<br></p><p class="qt-MsoNormal">ssl_dh = # hidden, use -P to show it<br></p><p class="qt-MsoNormal">ssl_key = # hidden, use -P to show it<br></p><p class="qt-MsoNormal">userdb {<br></p><p class="qt-MsoNormal">driver = prefetch<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">userdb {<br></p><p class="qt-MsoNormal">args = /usr/local/cpanel/etc/dovecot/cpauthd-dict.conf<br></p><p class="qt-MsoNormal">driver = dict<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">protocol imap {<br></p><p class="qt-MsoNormal">imap_capability = +NAMESPACE<br></p><p class="qt-MsoNormal">imap_idle_notify_interval = 24 mins<br></p><p class="qt-MsoNormal">imap_logout_format = in=%i, out=%o, bytes=%i/%o<br></p><p class="qt-MsoNormal">mail_max_userip_connections = 20<br></p><p class="qt-MsoNormal">mail_plugins = acl quota imap_quota zlib imap_zlib quota_clone virtual fts fts_solr<br></p><p class="qt-MsoNormal">namespace sent {<br></p><p class="qt-MsoNormal">hidden = yes<br></p><p class="qt-MsoNormal">list = no<br></p><p class="qt-MsoNormal">location = virtual:/usr/local/cpanel/etc/dovecot/virtual/sent:INDEX=~/mail/virtual/%u/sent<br></p><p class="qt-MsoNormal">prefix = sent<br></p><p class="qt-MsoNormal">separator = .<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">namespace spam {<br></p><p class="qt-MsoNormal">hidden = yes<br></p><p class="qt-MsoNormal">list = no<br></p><p class="qt-MsoNormal">location = virtual:/usr/local/cpanel/etc/dovecot/virtual/spam:INDEX=~/mail/virtual/%u/spam<br></p><p class="qt-MsoNormal">prefix = spam<br></p><p class="qt-MsoNormal">separator = .<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">protocol pop3 {<br></p><p class="qt-MsoNormal">mail_max_userip_connections = 3<br></p><p class="qt-MsoNormal">mail_plugins = quota quota quota_clone virtual zlib<br></p><p class="qt-MsoNormal">namespace sent {<br></p><p class="qt-MsoNormal">hidden = yes<br></p><p class="qt-MsoNormal">list = no<br></p><p class="qt-MsoNormal">location = virtual:/usr/local/cpanel/etc/dovecot/virtual/sent:INDEX=~/mail/virtual/%u/sent<br></p><p class="qt-MsoNormal">prefix = sent<br></p><p class="qt-MsoNormal">separator = .<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">namespace spam {<br></p><p class="qt-MsoNormal">hidden = yes<br></p><p class="qt-MsoNormal">list = no<br></p><p class="qt-MsoNormal">location = virtual:/usr/local/cpanel/etc/dovecot/virtual/spam:INDEX=~/mail/virtual/%u/spam<br></p><p class="qt-MsoNormal">prefix = spam<br></p><p class="qt-MsoNormal">separator = .<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s, bytes=%i/%o<br></p><p class="qt-MsoNormal">pop3_uidl_format = UID%u-%v<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">protocol lmtp {<br></p><p class="qt-MsoNormal">mail_plugins = quota quota_clone zlib<br></p><p class="qt-MsoNormal">postmaster_address = root<br></p><p class="qt-MsoNormal">quota_full_tempfail = yes<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">protocol lda {<br></p><p class="qt-MsoNormal">mail_plugins = quota quota_clone zlib<br></p><p class="qt-MsoNormal">postmaster_address = root<br></p><p class="qt-MsoNormal">quota_full_tempfail = yes<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal">local_name mail.HIDDEN www.mail.hidden {<br></p><p class="qt-MsoNormal">ssl_cert = </etc/dovecot/ssl/dovecot.crt<br></p><p class="qt-MsoNormal">ssl_key = # hidden, use -P to show it<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal"> <br></p><p class="qt-MsoNormal">local_name *.HIDDEN HIDDEN {<br></p><p class="qt-MsoNormal">ssl_cert = </var/cpanel/ssl/domain_tls/HIDDEN/combined<br></p><p class="qt-MsoNormal">ssl_key = # hidden, use -P to show it<br></p><p class="qt-MsoNormal">}<br></p><p class="qt-MsoNormal"> <br></p><div><div style="border-right-width:initial;border-bottom-width:initial;border-left-width:initial;border-right-style:none;border-bottom-style:none;border-left-style:none;border-right-color:initial;border-bottom-color:initial;border-left-color:initial;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;border-top-width:1pt;border-top-style:solid;border-top-color:rgb(225, 225, 225);padding-top:3pt;padding-right:0in;padding-bottom:0in;padding-left:0in;"><p class="qt-MsoNormal"></p><div><b>From:</b> Timo Sirainen <timo@sirainen.com> <br></div><div> <b>Sent:</b> Tuesday, July 16, 2019 10:59 AM<br></div><div> <b>To:</b> Emil Kalchev <ekalchev@hotmail.com><br></div><div> <b>Cc:</b> Dovecot Mailing List <dovecot@dovecot.org><br></div><div> <b>Subject:</b> Re: Unexpected result from LIST EXTENDED command<br></div><p></p></div></div><p class="qt-MsoNormal"> <br></p><p class="qt-MsoNormal">On 16 Jul 2019, at 9.51, Emil Kalchev via dovecot <<a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>> wrote:<br></p><div><blockquote style="margin-top:5pt;margin-bottom:5pt;"><p class="qt-MsoNormal"> <br></p><div><div><p class="qt-MsoNormal"><span style="background-color:white" class="highlight"><span style="color:rgb(36, 41, 46)" class="colour"><span style="font-family:"Segoe UI", sans-serif" class="font"><span style="font-size:10.5pt" class="size">I am executing this command below to dovecot-2.3.5-6.cp1178.x86_64 server</span></span></span></span><br></p></div><div><p class="qt-MsoNormal"><span style="background-color:white" class="highlight"><span style="color:rgb(36, 41, 46)" class="colour"><span style="font-family:"Segoe UI", sans-serif" class="font"><span style="font-size:10.5pt" class="size"> </span></span></span></span><br></p></div><div><p class="qt-MsoNormal"><span style="background-color:white" class="highlight"><span style="color:rgb(36, 41, 46)" class="colour"><span style="font-family:"Segoe UI", sans-serif" class="font"><span style="font-size:10.5pt" class="size">Notice that some status responses are missing (For folders INBOX.Archive, INBOX.spam.&-BD0EOQQ9BDkEPQ-). I wonder If this is a bug or working
as expected</span></span></span></span><br></p></div><div><p class="qt-MsoNormal"><span style="background-color:white" class="highlight"><span style="color:rgb(36, 41, 46)" class="colour"><span style="font-family:"Segoe UI", sans-serif" class="font"><span style="font-size:10.5pt" class="size"> </span></span></span></span><br></p></div><div><p class="qt-MsoNormal"><span style="background-color:white" class="highlight"><span style="color:rgb(36, 41, 46)" class="colour"><span style="font-family:"Segoe UI", sans-serif" class="font"><span style="font-size:10.5pt" class="size">In rfc5819 there is this:</span></span></span></span><br></p></div><div><p class="qt-MsoNormal"><span style="background-color:white" class="highlight"><span style="color:rgb(36, 41, 46)" class="colour"><span style="font-family:"Segoe UI", sans-serif" class="font"><span style="font-size:10.5pt" class="size"> </span></span></span></span><br></p></div><div><p class="qt-MsoNormal"><span style="background-color:white" class="highlight"><span style="color:rgb(106, 115, 125)" class="colour"><span style="font-family:"Segoe UI", sans-serif" class="font"><span style="font-size:10.5pt" class="size">If the server runs into unexpected problems while trying to look up</span></span></span></span><span style="color:rgb(106, 115, 125)" class="colour"><span style="font-family:"Segoe UI", sans-serif" class="font"><span style="font-size:10.5pt" class="size"><br> <span style="background-color:white" class="highlight">the STATUS information, it MAY drop the corresponding STATUS reply.</span><br> <span style="background-color:white" class="highlight">In such a situation, the LIST command would still return a tagged OK</span><br> <span style="background-color:white" class="highlight">reply.</span></span></span></span></p></div><div><p class="qt-MsoNormal"><span style="background-color:white" class="highlight"><span style="color:rgb(106, 115, 125)" class="colour"><span style="font-family:"Segoe UI", sans-serif" class="font"><span style="font-size:10.5pt" class="size"> </span></span></span></span><br></p></div><div><p class="qt-MsoNormal"><span style="background-color:white" class="highlight">May be that is the reason for this response? Is it possible to find more details in server logs why STATUS is missing?</span><br></p></div></div></blockquote><div><p class="qt-MsoNormal"> <br></p></div><div><p class="qt-MsoNormal">Do you see any errors logged? Does it work if you ask with STATUS command directly those folders? What's your doveconf -n?<br></p></div></div><div><p class="qt-MsoNormal"> <br></p></div></div></blockquote><div><br></div></body></html>