the-djmaze / snappymail

Simple, modern & fast web-based email client
https://snappymail.eu
GNU Affero General Public License v3.0
994 stars 120 forks source link

Search bar default to "text=%s" #1619

Closed truthsword closed 4 months ago

truthsword commented 4 months ago

When using the search bar (without the Advanced Search dropdown) entering text does not "find" related mails.

For example entering docker returns no results, whereas entering text=docker returns emails containing the word docker.

Since it's likely the unadvanced search is most likely to be used for basic word, or phrase search (IMO), it would be desirable that the search entry box work for docker for basic searching.

In addition, it appears that quoted phrases cannot be searched for, in order to locate adjacent words... For example "docker container". Instead, only text=docker+container is available.

Thank you!

the-djmaze commented 4 months ago

Whic IMAP software is running on the mailserver?

truthsword commented 4 months ago

Whic IMAP software is running on the mailserver?

How would I detect that? This occurs with Gmail.

the-djmaze commented 4 months ago

application.ini disable message_list_fast_simple_search

truthsword commented 4 months ago

Thanks. That worked. The issue was specific to Gmail. Other IMAP servers had no issue with "fast_simple_search"

the-djmaze commented 4 months ago

I understand. Maybe i will move it to Domain settings so you can set it per domain.