AquaMail Forum

English - Android => How do I... => Topic started by: HeavyThumper on June 16, 2015, 12:05:23 am

Title: Search in subfolders
Post by: HeavyThumper on June 16, 2015, 12:05:23 am
Is there a way to search not just the current folder but all subfolders via IMAP server-side search?
Title: Re: Search in subfolders
Post by: Kostya Vasilyev on June 17, 2015, 10:23:40 pm
There isn't.
Title: Re: Search in subfolders
Post by: HeavyThumper on June 17, 2015, 10:52:06 pm
Is this on your roadmap for a future implmentation?  Is it more difficult than simply adding the wildcard "*" to the mailbox name?
Title: Re: Search in subfolders
Post by: Kostya Vasilyev on June 17, 2015, 10:57:00 pm
>> Is it more difficult than simply adding the wildcard "*" to the mailbox name?

Um, maybe I'm missing something, but IMAP (most common mail protocol) doesn't have a way to search multiple folders at once.
Title: Re: Search in subfolders
Post by: HeavyThumper on June 17, 2015, 10:57:48 pm
A quick look in the IMAP spec tells me that no, standard search doesn't support multiple mailboxes.  But the ESEARCH extension does - and the Dovecot IMAP server I use supports it.  So I'll ask if ESEARCH support is on your roadmap.

By the way - AquaMail is absolutely the best email client I've worked with regardless of platform.  I hope someday you can port it over to the PC world.
Title: Re: Search in subfolders
Post by: Kostya Vasilyev on June 17, 2015, 11:14:53 pm
I already use ESEARCH for other things...

This is the ESEARCH RFC, can you point me to where it describes subfolder search?

https://tools.ietf.org/search/rfc4731

In practical terms, well, sorry, not in near or medium term... I'm trying to "crawl towards" message threading / conversation grouping, which is the #1 omission right now.
Title: Re: Search in subfolders
Post by: Kostya Vasilyev on June 17, 2015, 11:20:34 pm
http://comments.gmane.org/gmane.mail.imap.dovecot/69636

Seems like the way to do it is to create a "virtual folder" on the server -- which will combine multiple real folders and present them as one IMAP folder.

Or is that something entirely different? An "advanced Dovecot user" I am not :)