Skip to main content

Horde/IMP webmail searches limited results

Comments

6 comments

  • Havri
    Hi David, This is something that is happening to me too. I'm also using cPanel v80.0.18 on CentOS 7. On my server, I also run cPanel FTS - Apache Solr. You should check if you have it enabled too. Maybe disabling this fixes the problem. For me, a temporary fix that works is to perform a full text search (FTS) scan the affected account's mailboxes: /usr/local/cpanel/scripts/rescan_user_dovecot_fts --user myuser123
    After that, I need to reindex mails with doveadm: doveadm index -u mailbox1@mydomain.com INBOX.*
    I'm not sure this is the right order for these commands, but it worked in my case. NOTE: If you're already logged into the webmail and you run the above command, you'll need to refresh your webmail tab or relog back in. Best regards!
    0
  • aztopdavid
    Thanks, Havri! Before you replied, I joined the IMP list at Horde.org and posted this same issue. One person mentioned possible IMAP server issues, so I started looking onto Dovecot commands. I tried: doveadm force-resync -u user@domain INBOX and: doveadm index -u user@domain INBOX but neither helped, so I discovered FTS and this is the command that worked: doveadm fts rescan -u user@domain Then I looked here again and saw your response. :-) I'm pretty sure that the "fts rescan" command by itself solved the problem, and thanks for your helpful response!
    0
  • Havri
    Hi David, Sounds great. Glad that you found a solution, although in my case it's a little bit too much to do on my part. Yesterday I had a client with ~150 mailboxes that needed its fts rescanned. The day before that another 100 mailboxes or so. Not really looking forward to do this manually everyday. Waiting for someone at cPanel to give some pointers as to what to do further or tell me if I need to open a ticket. Best regards.
    0
  • aztopdavid
    I'm guessing there are many more servers affected, but people aren't reporting it yet, because incomplete search results in webmail will only be noticed by a very small subset of end users and it's less likely to be reported to server admins, and then to cPanel. I don't think the "fts rescan" command will take a wildcard, as I tried that and it didn't appear to work. I don't know if it's related, but this morning, after the nightly cPanel Update chron job, my lfd sent me a number of "Suspicious File Alert" warnings related to the Dynamic Kernel Module Support temp files -- most likely unrelated.
    0
  • Havri
    Hi David, I think more reports will come in soon. There is an option "-A" that allows me to rescan the mailboxes for all users, but I think that will take a lot of time, depending on the number of mails: Tools/Doveadm/FTS - Dovecot Wiki The thing is that from what I've checked, only some users have this problem, which is weird. Some mailboxes on the same domain are affected by this and some aren't. I just generate a list of mailboxes that need to be reindexed and I work with that. Let's see if other people are having the same problem or if someone at cPanel gives us some advice. Best regards.
    0
  • cPanelMichael
    Hello @Havri, Updates to the Solr RPMS (part of the Full Text Search Indexing for IMAP powered by Apache Solr" plugin offered in WHM >> Manage Plugins) were published on June 22nd, 2019. Can you report this issue via a
    0

Please sign in to leave a comment.