<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body>
    <p>Hi,</p>
    <p>I'm using doveadm fetch in order to find the mailbox where a
      messagge is stored:</p>
    <p>doveadm fetch -u <a class="moz-txt-link-abbreviated" href="mailto:alessio@domain.com">alessio@domain.com</a> "mailbox" HEADER Message-ID
      '<a class="moz-txt-link-abbreviated" href="mailto:1234@domain.com">1234@domain.com</a>'</p>
    <p>If the messagge-id is ... long more than? ... I don't know, the
      lookup is very very slow, here an example:</p>
    <p>with message-id <a class="moz-txt-link-abbreviated" href="mailto:9c102380c557e7e146a33cb4b49ab802@cbweb.cecchi.net">9c102380c557e7e146a33cb4b49ab802@cbweb.cecchi.net</a>
      respons time: 3 secs</p>
    <p>with message-id
      <a class="moz-txt-link-abbreviated" href="mailto:kZ1ZoAa8QnsfZ64hTe9P3K0OOjL24xTq7vUMB3Qw3E@www.myxmail.com">kZ1ZoAa8QnsfZ64hTe9P3K0OOjL24xTq7vUMB3Qw3E@www.myxmail.com</a>
      response time: 80 secs and java/solr use the 100% CPU</p>
    <p>Both messages are in the same folder (Trash)<br>
    </p>
    <p>If I add -D to doveadm it stuck some seconds every time connect
      to Solr:<br>
    </p>
    <p>Oct 25 18:30:08 doveadm(<a class="moz-txt-link-abbreviated" href="mailto:alessio@domain.com">alessio@domain.com</a>): Debug: http-client:
      queue <a class="moz-txt-link-freetext" href="http://127.0.0.1:8983">http://127.0.0.1:8983</a>: Connection to peer 127.0.0.1:8983
      claimed request [Req1: GET
<a class="moz-txt-link-freetext" href="http://127.0.0.1:8983/solr/dovecot/select?wt=xml&fl=uid,score&rows=26&sort=uid+asc&q=%7b!lucene+q.op%3dAND%7dhdr:kZ1ZoAa8QnsfZ64hTe9P3K0OOjL24xTq7vUMB3Qw3E@www.myxmail.com&fq=%2Bbox:13c0e32ee6430860201f0000c5b62527+%2Buser:alessio@domain.com">http://127.0.0.1:8983/solr/dovecot/select?wt=xml&fl=uid,score&rows=26&sort=uid+asc&q=%7b!lucene+q.op%3dAND%7dhdr:kZ1ZoAa8QnsfZ64hTe9P3K0OOjL24xTq7vUMB3Qw3E@www.myxmail.com&fq=%2Bbox:13c0e32ee6430860201f0000c5b62527+%2Buser:alessio@domain.com</a>]
      <br>
      Oct 25 18:30:08 doveadm(<a class="moz-txt-link-abbreviated" href="mailto:alessio@domain.com">alessio@domain.com</a>): Debug: http-client:
      conn 127.0.0.1:8983 [1]: Claimed request [Req1: GET
<a class="moz-txt-link-freetext" href="http://127.0.0.1:8983/solr/dovecot/select?wt=xml&fl=uid,score&rows=26&sort=uid+asc&q=%7b!lucene+q.op%3dAND%7dhdr:kZ1ZoAa8QnsfZ64hTe9P3K0OOjL24xTq7vUMB3Qw3E@www.myxmail.com&fq=%2Bbox:13c0e32ee6430860201f0000c5b62527+%2Buser:alessio@domain.com">http://127.0.0.1:8983/solr/dovecot/select?wt=xml&fl=uid,score&rows=26&sort=uid+asc&q=%7b!lucene+q.op%3dAND%7dhdr:kZ1ZoAa8QnsfZ64hTe9P3K0OOjL24xTq7vUMB3Qw3E@www.myxmail.com&fq=%2Bbox:13c0e32ee6430860201f0000c5b62527+%2Buser:alessio@domain.com</a>]<br>
      Oct 25 18:30:08 doveadm(<a class="moz-txt-link-abbreviated" href="mailto:alessio@domain.com">alessio@domain.com</a>): Debug: http-client:
      request [Req1: GET
<a class="moz-txt-link-freetext" href="http://127.0.0.1/solr/dovecot/select?wt=xml&fl=uid,score&rows=26&sort=uid+asc&q=%7b!lucene+q.op%3dAND%7dhdr:kZ1ZoAa8QnsfZ64hTe9P3K0OOjL24xTq7vUMB3Qw3E@www.myxmail.com&fq=%2Bbox:13c0e32ee6430860201f0000c5b62527+%2Buser:alessio@domain">http://127.0.0.1/solr/dovecot/select?wt=xml&fl=uid,score&rows=26&sort=uid+asc&q=%7b!lucene+q.op%3dAND%7dhdr:kZ1ZoAa8QnsfZ64hTe9P3K0OOjL24xTq7vUMB3Qw3E@www.myxmail.com&fq=%2Bbox:13c0e32ee6430860201f0000c5b62527+%2Buser:alessio@domain</a>...:
      Sent header<br>
      Oct 25 18:30:08 doveadm(<a class="moz-txt-link-abbreviated" href="mailto:alessio@domain.com">alessio@domain.com</a>): Debug: http-client:
      peer 127.0.0.1:8983: No more requests to service for this peer (1
      connections exist, 0 pending)</p>
    <p>[...]</p>
    <p>Oct 25 18:30:08 doveadm(<a class="moz-txt-link-abbreviated" href="mailto:alessio@domain.com">alessio@domain.com</a>): Debug: http-client:
      queue <a class="moz-txt-link-freetext" href="http://127.0.0.1:8983">http://127.0.0.1:8983</a></p>
    <p>My dovecot version is 2.3.16 and Solr 7.7.<br>
    </p>
    <p>Why?</p>
    <p>Thanks<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Alessio Cecchi
Postmaster @ <a class="moz-txt-link-freetext" href="http://www.qboxmail.it">http://www.qboxmail.it</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/alessice">https://www.linkedin.com/in/alessice</a></pre>
  </body>
</html>