<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class=""><br class=""></div><div class="">IMAP SEARCH is only applied to SELECTed folder. If you want to do searches across all folders you need to implement Virtual/All folder like in this example for App Suite:</div><div class=""><br class=""></div><div class=""><a href="https://documentation.open-xchange.com/7.10.5/ui/features/all-messages-folder.html" class="">https://documentation.open-xchange.com/7.10.5/ui/features/all-messages-folder.html</a></div><div class=""><br class=""></div><div class="">Sami</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 12. Apr 2021, at 23.01, Marcel <<a href="mailto:hi-dovecot@mcarle.io" class="">hi-dovecot@mcarle.io</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Any ideas on this? I am sure that I can't be the only one having issues with the search function while using Gmail.<br class=""><br class=""><blockquote type="cite" class="">Hi,<br class=""><br class="">I am using <a href="https://github.com/docker-mailserver/docker-mailserver" class="">https://github.com/docker-mailserver/docker-mailserver</a> to setup my mailserver and added solr for full-text search. Nearly everything is working as expected. But I have a problem with the full-text search, as I have a lot of folders in my mailbox and I just can't find any mail in any of these folders except INBOX when I search with the Gmail android app.<br class=""><br class="">After analyzing the logs, I assume, that the bug is in the Gmail app, as it is only searching in the INBOX folder. I searched a bit and found some reports of other users confirming that. As this "design decision" (or bug) is quite old, I assume that Google won't fix it. But as many people are using Gmail, I assume that there must be a way to search all folders with Gmail. Sadly, I haven't found any possibility yet.<br class=""><br class="">As a workaround one may put a proxy in between and simply remove the "+box:123" filter from the path (e.g. with a small regex). With that, solr will return all found mails from that user, regardless of the folder. This may be a quite simple, but very dirty hack.<br class=""><br class="">Hence, I hope that you guys know a better way, a good way to overcome this issue and enable all Gmail users to search for email in all folders.<br class=""><br class="">Best regards,<br class=""><br class="">Marcel<br class=""><br class=""></blockquote></div></div></blockquote></div><br class=""></div></body></html>