Author Topic: Search in subfolders  (Read 10737 times)

HeavyThumper

  • Newbie
  • *
  • Posts: 7
Search in subfolders
« 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?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Search in subfolders
« Reply #1 on: June 17, 2015, 10:23:40 pm »
There isn't.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

HeavyThumper

  • Newbie
  • *
  • Posts: 7
Re: Search in subfolders
« Reply #2 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?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Search in subfolders
« Reply #3 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.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

HeavyThumper

  • Newbie
  • *
  • Posts: 7
Re: Search in subfolders
« Reply #4 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.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Search in subfolders
« Reply #5 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.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Search in subfolders
« Reply #6 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 :)
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/