Acidburns

Registered
May 10, 2017
2
0
1
Macedonia
cPanel Access Level
Root Administrator
Hi,

We have roundcube client that when trying to search emails from a friend "Marko" using the search options (in inbox folder) he gets different results:

If he search: "Mar" he gets this results:
Screenshot_1.jpg

When he search full name: "Marko" the results are fine:
Screenshot_2.jpg

How can we fix this in WHM or in Roundcube settings maybe ?

We use dovecot (imap) , maybe in those (custom) settings?


Thanks,
Viktor
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,912
2,241
363
Hello,

Could you click on the magnifying glass next to the search box in Roundcube and verify which options are selected? Also, in "WHM >> Manage Plugins", could you verify if the Solr plugin is installed?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,912
2,241
363
I'm unable to reproduce this behavior on a test system. Could you open a support ticket using the link in my signature so we can take a closer look at the affected system?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,912
2,241
363
New I am seeing similar results, was there a solution for this?
I don't see that a support ticket was opened. Could you open a ticket using the link in my signature so we can take a closer look at the issue you are facing?

Thank you.
 

EugeneJ

Member
Nov 6, 2017
6
0
1
Greece
cPanel Access Level
Root Administrator
Hello,
I found this thread, while facing the same issue. Has the problem been identified?
I might add to the description, that it is not Roundcube specific, as the Horde produces similar results.
It seems that it happens on large mailboxes (couple of gigabytes). Small mailboxes does not seem to be affected.
Any advice on how to troubleshoot this further?
Thank you
 

EugeneJ

Member
Nov 6, 2017
6
0
1
Greece
cPanel Access Level
Root Administrator
So i did a little more digging into the problem.
  1. It is not a webmail client issue, I've connected to imap via telnet and performed a search with the exact same results.
  2. The mailbox size is irrelevant after all, because there are larger mailboxes that are unaffected
After that i performed a rescan / reindex on the affected user's mailbox with the following commands
Code:
doveadm fts rescan -u <username>
doveadm index -u <username>
Nothing
Restarted both solr and dovecot services, nothing.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,912
2,241
363
Hi @EugeneJ,

Could you open a support ticket using the link in my signature so we can take a closer look?

Thank you.
 

cPWilliamL

cP Technical Analyst II
Staff member
May 15, 2017
258
30
103
America
cPanel Access Level
Root Administrator
I just wanted to follow up on this thread. Our configuration of Solr doesn't support partial keyword searches since it doesn't have the appropriate schema entries. Adding this functionality by default could impose a very significant cost on busy or large mail servers. This could make a good feature request, but would certainly need to default to off.

This only applies when the Solr full-text search plugin is installed. Dovecot will perform partial-keyword matching on searches by default if Solr is not installed. However, you will not see the same search speed that is provided by the Solr FTS plugin.
 
  • Like
Reactions: cPanelMichael