mail icon indicating copy to clipboard operation
mail copied to clipboard

general search returns mails without the search term

Open ferdiga opened this issue 1 year ago • 8 comments

Steps to reproduce

  1. install and configure mail 3.5
  2. send en email to the address
  3. search for terms which are not in the email header or body
  4. random emails show up. (probably "important" ones
  5. files with the search term in names are shown

Expected behavior

only mails with the search term should be displayed.

Actual behavior

show only mails with search term

Mail app version

5.3

Mailserver or service

world4you and others

Operating system

No response

PHP engine version

PHP 8.2

Web server

None

Database

MySQL

Additional info

running on Hetzner service NC 27.1.2

ferdiga avatar Dec 14 '23 11:12 ferdiga

I cannot reproduce this, but i only tested it on nc 28.0.0

GretaD avatar Dec 14 '23 14:12 GretaD

so Ill have to wait until the upgrade is done by the provider

ferdiga avatar Dec 14 '23 17:12 ferdiga

so Ill have to wait until the upgrade is done by the provider

no, if its an issue on 27, it has to be fixed, i just cannot test it on 27th because i have no 27th env. So my comment was that maybe the issue its not present on 28th.

GretaD avatar Dec 15 '23 13:12 GretaD

Same issues with 27.1.4, mail version 3.5.6, the search is rarely as one would wish. Wrong messages are displayed, or none at all, very inconsistent results and the search trigger is also buggy. Can't be more specific, just use the search itself and you'll see what I mean.

handkerchief333 avatar Feb 19 '24 09:02 handkerchief333

I've updated, same results with 28.0.2, very buggy

handkerchief333 avatar Feb 19 '24 11:02 handkerchief333

@handkerchief333 Did you check the normal (full text) search? I do not use it because I think the results are not reliable and the UI is bot usable as file names are cut off.

ferdiga avatar Feb 19 '24 11:02 ferdiga

@ferdiga the full text search on the right top corner is indeed better. By better, I mean that the search works better. i can't say much about the UI aspect. It simply lists all messages from all mailboxes. Filtering by mailboxes and mailbox folders would be important.

handkerchief333 avatar Feb 19 '24 12:02 handkerchief333

A note: the result could depend on the imap backend.

For example: cyrus-imapd could give back all the new emails since the last indexing. This happens because giving back false positive is better than not giving back valid results. Details on cyrus-imap mailing list.

So, I recommend to check your imap backend, how that works.

pongraczi avatar Feb 22 '24 13:02 pongraczi