Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Problem with Webmail search

Discussion in 'E-mail Discussion' started by Acidburns, May 10, 2017.

Tags:
  1. Acidburns

    Acidburns Registered

    Joined:
    May 10, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
    #1 Acidburns, May 10, 2017
    Last edited by a moderator: May 10, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,700
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Acidburns

    Acidburns Registered

    Joined:
    May 10, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Macedonia
    cPanel Access Level:
    Root Administrator
    All options are selected , for searching in current folder
    Screenshot_1.jpg

    Also in WHM, Solr is installed >

    Screenshot_2.jpg
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,700
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. gmm6797

    gmm6797 Member

    Joined:
    Jan 19, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    151
    I am seeing similar results, was there a solution for this?
    Thanks
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,700
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. EugeneJ

    EugeneJ Member

    Joined:
    Nov 6, 2017
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
  8. EugeneJ

    EugeneJ Member

    Joined:
    Nov 6, 2017
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,700
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hi @EugeneJ,

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

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. cPWilliamL

    cPWilliamL cP Technical Analyst II
    Staff Member

    Joined:
    May 15, 2017
    Messages:
    257
    Likes Received:
    29
    Trophy Points:
    103
    Location:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
  11. EugeneJ

    EugeneJ Member

    Joined:
    Nov 6, 2017
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice