<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-forward-container"><font face="Lato">I have this in
        my dovecot.conf already, yes :<br>
        <br>
        protocol imap {<br>
            mail_plugins = $mail_plugins quota imap_quota imap_sieve fts
        fts_solr<br>
            mail_max_userip_connections = 20<br>
            imap_idle_notify_interval = 24 mins<br>
        }<br>
        <br>
        protocol lmtp {<br>
            postmaster_address = <a class="moz-txt-link-abbreviated"
          href="mailto:postmaster@xxx.com" moz-do-not-send="true">postmaster@xxx.com</a><br>
            mail_plugins = $mail_plugins sieve fts fts_solr<br>
        }<br>
-------------------------------------------------------------------------------------------------------------------<br>
        This is doveconf -n :<br>
        # 2.3.5.1 (7ec6d0ade): /etc/dovecot/dovecot.conf<br>
        # Pigeonhole version 0.5.5 (2483b085)<br>
        # OS: Linux 3.10.0-957.10.1.el7.x86_64 x86_64 CentOS Linux
        release 7.6.1810 (Core)<br>
        # Hostname: xxx.xxx.com<br>
        auth_mechanisms = plain login<br>
        auth_verbose = yes<br>
        listen = *<br>
        mail_gid = vmail<br>
        mail_home = /var/vmail/mailboxes/%d/%n<br>
        mail_location = maildir:~/mail:LAYOUT=fs<br>
        mail_privileged_group = vmail<br>
        mail_uid = vmail<br>
        managesieve_notify_capability = mailto<br>
        managesieve_sieve_capability = fileinto reject envelope
        encoded-character vacation subaddress comparator-i;ascii-numeric
        relational regex imap4flags copy include variables body enotify
        environment mailbox date index ihave duplicate mime foreverypart
        extracttext imapsieve vnd.dovecot.imapsieve<br>
        namespace inbox {<br>
          inbox = yes<br>
          location =<br>
          mailbox Drafts {<br>
            auto = subscribe<br>
            special_use = \Drafts<br>
          }<br>
          mailbox Sent {<br>
            auto = subscribe<br>
            special_use = \Sent<br>
          }<br>
          mailbox Spam {<br>
            auto = subscribe<br>
            special_use = \Junk<br>
          }<br>
          mailbox Trash {<br>
            auto = subscribe<br>
            special_use = \Trash<br>
          }<br>
          prefix =<br>
          separator = .<br>
          type = private<br>
        }<br>
        passdb {<br>
          args = /etc/dovecot/dovecot-sql.conf<br>
          driver = sql<br>
        }<br>
        plugin {<br>
          fts = solr<br>
          fts_autoindex = yes<br>
          fts_solr = url=<a class="moz-txt-link-freetext"
          href="http://localhost:8988/solr/dovecot/"
          moz-do-not-send="true">http://localhost:8988/solr/dovecot/</a>
        debug<br>
          imapsieve_mailbox1_before = <a class="moz-txt-link-freetext"
          href="file:/var/vmail/sieve/global/learn-spam.sieve"
          moz-do-not-send="true">file:/var/vmail/sieve/global/learn-spam.sieve</a><br>
          imapsieve_mailbox1_causes = COPY<br>
          imapsieve_mailbox1_name = Spam<br>
          imapsieve_mailbox2_before = <a class="moz-txt-link-freetext"
          href="file:/var/vmail/sieve/global/learn-ham.sieve"
          moz-do-not-send="true">file:/var/vmail/sieve/global/learn-ham.sieve</a><br>
          imapsieve_mailbox2_causes = COPY<br>
          imapsieve_mailbox2_from = Spam<br>
          imapsieve_mailbox2_name = *<br>
          quota = maildir:User quota<br>
          quota_exceeded_message = User %u has exhausted allowed storage
        space.<br>
          sieve =
        <a class="moz-txt-link-freetext"
href="file:/var/vmail/sieve/%d/%n/scripts;active=/var/vmail/sieve/%d/%n/active-script.sieve"
          moz-do-not-send="true">file:/var/vmail/sieve/%d/%n/scripts;active=/var/vmail/sieve/%d/%n/active-script.sieve</a><br>
          sieve_before = /var/vmail/sieve/global/spam-global.sieve<br>
          sieve_global_extensions = +vnd.dovecot.pipe<br>
          sieve_pipe_bin_dir = /usr/bin<br>
          sieve_plugins = sieve_imapsieve sieve_extprograms<br>
        }<br>
        protocols = imap lmtp sieve<br>
        service auth {<br>
          unix_listener /var/spool/postfix/private/auth {<br>
            group = postfix<br>
            mode = 0660<br>
            user = postfix<br>
          }<br>
          unix_listener auth-userdb {<br>
            group = vmail<br>
            mode = 0660<br>
            user = vmail<br>
          }<br>
        }<br>
        service imap-login {<br>
          inet_listener imap {<br>
            port = 0<br>
          }<br>
          inet_listener imaps {<br>
            port = 993<br>
          }<br>
        }<br>
        service lmtp {<br>
          unix_listener /var/spool/postfix/private/dovecot-lmtp {<br>
            group = postfix<br>
            mode = 0660<br>
            user = postfix<br>
          }<br>
          user = vmail<br>
        }<br>
        service managesieve-login {<br>
          inet_listener sieve {<br>
            port = 4190<br>
          }<br>
        }<br>
        ssl = required<br>
        ssl_ca = </etc/ssl/certs/ca-bundle.crt<br>
        ssl_cert = </etc/ssl/certs/xxx.com_chain.crt<br>
        ssl_cipher_list =
        ALL:!LOW:!SSLv2:!SSLv3:!TLSv1.0:!EXP:!aNULL:!MEDIUM:!CAMELLIA:@STRENGTH<br>
        ssl_client_ca_dir = /etc/ssl/certs<br>
        ssl_client_ca_file = /etc/ssl/certs/ca-bundle.crt<br>
        ssl_dh = # hidden, use -P to show it<br>
        ssl_key = # hidden, use -P to show it<br>
        ssl_min_protocol = TLSv1.2<br>
        ssl_prefer_server_ciphers = yes<br>
        userdb {<br>
          args = /etc/dovecot/dovecot-sql.conf<br>
          driver = sql<br>
        }<br>
        protocol imap {<br>
          imap_idle_notify_interval = 24 mins<br>
          mail_max_userip_connections = 20<br>
          mail_plugins = " quota imap_quota imap_sieve fts fts_solr"<br>
        }<br>
        protocol lmtp {<br>
          mail_plugins = " sieve fts fts_solr"<br>
          postmaster_address = <a class="moz-txt-link-abbreviated"
          href="mailto:postmaster@xxx.com" moz-do-not-send="true">postmaster@xxx.com</a><br>
        }<br>
        <br>
        <br>
        <br>
      </font><br>
      <div class="moz-cite-prefix">On 14/04/2019 22:30, Aki Tuomi via
        dovecot wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:489997902.58.1555273836371@appsuite-dev-gw2.open-xchange.com">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        <meta charset="UTF-8">
        <div> <br>
        </div>
        <blockquote type="cite">
          <div> On 14 April 2019 23:22 TG Servers via dovecot <a
              class="moz-txt-link-rfc2396E"
              href="mailto:dovecot@dovecot.org" moz-do-not-send="true"><dovecot@dovecot.org></a>
            wrote: </div>
          <div> <br>
          </div>
          <div> <br>
          </div>
          <span style="font-family: Lato;">Hi,<br>
            <br>
            I have setup dovecot 2.3.5.1 with solr 7.7.1<br>
            Everything seems to be working so far except that solr
            doesn't index a single message.<br>
            Solr is running, the web api can be accessed, I see the
            dovecot core there, but with zero docs.<br>
            <br>
            If I trigger a "body" search from Thunderbird solr is
            responding and searching, but hitting 0 of course. <br>
            <br>
            Looks like that : 2019-04-14 19:57:42.789 INFO 
            (qtp898557489-40) [   x:dovecot] o.a.s.c.S.Request
            [dovecot]  webapp=/solr path=/select
            params={q={!lucene+q.op%3DAND}body:foobar&fl=uid,<a
href="mailto:score&sort=uid+asc&fq=%2Bbox:925efe067ac8a35ce1430000828c97da+%2Buser:xxx@xxx.net&rows=2&wt=xml"
              class="moz-txt-link-abbreviated" moz-do-not-send="true">score&sort=uid+asc&fq=%2Bbox:925efe067ac8a35ce1430000828c97da+%2Buser:xxx@xxx.net&rows=2&wt=xml</a>}
            hits=0 status=0 QTime=2<br>
            <br>
            Everytime a new message comes in indexer-worker is working
            but indexing 0.<br>
            <br>
            Looks like that : 2019-04-14T19:39:36.887817+02:00 riot
            dovecot: indexer-worker(<a href="mailto:xxx@xxx.net"
              class="moz-txt-link-abbreviated" moz-do-not-send="true">xxx@xxx.net</a>)<31697><3pDsLlhws1zMewAAgoyX2g:vb2mNFhws1zRewAAgoyX2g>:
            Indexed 0 messages in INBOX<br>
            <br>
            A "doveadm fts rescan" just brings up this message : "Fatal:
            Unknown command 'fts', but plugin fts exists. Try to set
            mail_plugins=fts"<br>
          </span> </blockquote>
        <div> <br>
        </div>
        <div> Have you tried to add </div>
        <div> <br>
        </div>
        <div> mail_plugins = $mail_plugins fts fts_solr to config </div>
        <blockquote type="cite"> <span style="font-family: Lato;">My
            dovecot settings are :<br>
            plugin {<br>
                sieve_plugins = sieve_imapsieve sieve_extprograms<br>
                sieve_before = /var/vmail/sieve/global/spam-global.sieve<br>
                sieve = <a class="moz-txt-link-freetext"
              moz-do-not-send="true">file:/var/vmail/sieve/%d/%n/scripts;active=/var/vmail/sieve/%d/%n/active-script.sieve</a><br>
            <br>
                ###<br>
                ### Spam learning<br>
                ...<br>
                <br>
                sieve_pipe_bin_dir = /usr/bin<br>
                sieve_global_extensions = +vnd.dovecot.pipe<br>
            <br>
                fts = solr<br>
                fts_autoindex = yes<br>
                fts_solr = url=<a
              href="http://localhost:8988/solr/dovecot/"
              class="moz-txt-link-freetext" moz-do-not-send="true">http://localhost:8988/solr/dovecot/</a>
            debug<br>
            <br>
                ...<br>
            }<br>
            <br>
            I don't know what to do or what I am doing wrong because
            solr is responding as said. Also the data directory of the
            core is empty.<br>
            If I should provide more information please tell me which,
            it's my own server so I have access to everything<br>
            <br>
            Can anyone please help with that??<br>
            <br>
            Thanks.<br>
            <br>
            <br>
            <br>
          </span> </blockquote>
        <div> If the suggested change does not help, send doveconf -n </div>
        <div class="io-ox-signature">
          <pre>---
Aki Tuomi</pre>
        </div>
      </blockquote>
      <br>
    </div>
  </body>
</html>