Hidden virtual folder search Was: Support for MULTISEARCH

2020-05-14 Thread Peter

Well, the thread turned completely, still old subject

I have now created a virtual folder that /contains/ so to say, all the 
messages, where I want to get results from.


The folder is hidden, unlisted and cannot be subscribed too. There are 
just too many messages in there.


How can I get Thunderbird or maybe roundcube to use it for searching?

Would be very nice to learn that

Thank you in advance

Peter

Am 11.05.20 um 21:13 schrieb Daniel Miller:
What client(s) use this and how? I've used virtual folders - by 
explicitly "subscribing" to them and then performing a search within 
them. By hiding the virtual folders how do you use them?





> > >
> > > is this possible to *hide* the virtual folder from listing but make
it SELECTable / EXAMINEable from IMAP?
> > >
> > >
> >
> > namespace {
> > location = virtual:...
> > hidden = yes
> > }
> >
>
> It's now hidden in the namepsace but I can still see it in the folder
list, is this expected?
>
Sorry, forgot to say
hidden=yes
list=n


Re: Re[2]: [EXT] Re: Support for MULTISEARCH

2020-05-11 Thread Joe Wong
On Tue, May 12, 2020 at 3:14 AM Daniel Miller  wrote:

> What client(s) use this and how? I've used virtual folders - by explicitly
> "subscribing" to them and then performing a search within them. By hiding
> the virtual folders how do you use them?
>
> ---
> Daniel
>
> -- Original Message --
> From: "Joe Wong" 
> To: "Aki Tuomi" 
> Cc: dovecot@dovecot.org; "Peter" ; "Sami Ketola" <
> sami.ket...@dovecot.fi>
> Sent: 5/11/2020 4:51:14 AM
> Subject: Re: [EXT] Re: Support for MULTISEARCH
>
> On Mon, May 11, 2020 at 7:18 PM Aki Tuomi 
> wrote:
>
>
>
> > On 11/05/2020 14:09 Joe Wong  wrote:
> >
> >
> >
> >
> >
> > On Mon, May 11, 2020 at 5:16 PM Aki Tuomi 
> wrote:
> > >
> > > > On 11/05/2020 12:12 Joe Wong  wrote:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Sun, May 10, 2020 at 3:54 PM Sami Ketola 
> wrote:
> > > > >
> > > > >
> > > > > > On 10. May 2020, at 1.51, Peter  wrote:
> > > > > >
> > > > > > Am 10.05.20 um 00:22 schrieb Daniel Miller:
> > > > > >> Thank you - I'm aware of the virtual folder option and do use
> it. My interest is for a Windows client, EM Client, which I otherwise
> really enjoy. Unfortunately, they've implemented server-side searching only
> via MULTISEARCH - for reasons passing my understanding. So I was hoping to
> hear Dovecot either already had support or there were plans to implement
> it.
> > > > > >
> > > > > > Virtual folder does not scale. Thank you for naming a client
> that does multisearch!
> > > > >
> > > > > Virtual folder scales just fine. What makes you think it does not?
> > > > >
> > > > > We have customers that have users with thousand folders and
> millions of emails and still virtual folder scales.
> > > > >
> > > > > Sami
> > > > >
> > > >
> > > > is this possible to *hide* the virtual folder from listing but make
> it SELECTable / EXAMINEable from IMAP?
> > > >
> > > >
> > >
> > > namespace {
> > > location = virtual:...
> > > hidden = yes
> > > }
> > >
> > > Aki
> >
> >
> > * NAMESPACE (("" "/")) NIL NIL
> > a OK Namespace completed (0.001 + 0.000 secs).
> > a list "" "*"* LIST (\HasNoChildren \UnMarked) "/" FromL3
> > * LIST (\HasNoChildren \UnMarked) "/" Apple
> > * LIST (\HasNoChildren \UnMarked) "/" JunkMail
> > * LIST (\HasNoChildren \Marked \Trash) "/" Trash
> > * LIST (\HasNoChildren \UnMarked \Drafts) "/" Drafts
> > * LIST (\HasNoChildren \Marked) "/" SENT
> > * LIST (\HasNoChildren) "/" virtual* LIST (\HasNoChildren) "/" INBOX
> > a OK List completed (0.003 + 0.000 + 0.003 secs).
> >
> > It's now hidden in the namepsace but I can still see it in the folder
> list, is this expected?
> >
>
> Sorry, forgot to say
>
> hidden=yes
> list=no
>
> Aki
>
>
>
> thanks it is working now.
>
>
It is not a standard email client but a web client I am trying to make use
of this *hidden* virtual folder to perform a cross folder search :)


Re[2]: [EXT] Re: Support for MULTISEARCH

2020-05-11 Thread Daniel Miller
What client(s) use this and how? I've used virtual folders - by 
explicitly "subscribing" to them and then performing a search within 
them. By hiding the virtual folders how do you use them?


---
Daniel

-- Original Message --
From: "Joe Wong" 
To: "Aki Tuomi" 
Cc: dovecot@dovecot.org; "Peter" ; "Sami Ketola" 


Sent: 5/11/2020 4:51:14 AM
Subject: Re: [EXT] Re: Support for MULTISEARCH


On Mon, May 11, 2020 at 7:18 PM Aki Tuomi 
wrote:



 > On 11/05/2020 14:09 Joe Wong  wrote:
 >
 >
 >
 >
 >
 > On Mon, May 11, 2020 at 5:16 PM Aki Tuomi 
 wrote:
 > >
 > >  > On 11/05/2020 12:12 Joe Wong  wrote:
 > >  >
 > >  >
 > >  >
 > >  >
 > >  >
 > >  > On Sun, May 10, 2020 at 3:54 PM Sami Ketola 
 wrote:
 > >  > >
 > >  > >
 > >  > > > On 10. May 2020, at 1.51, Peter  wrote:
 > >  > > >
 > >  > > > Am 10.05.20 um 00:22 schrieb Daniel Miller:
 > >  > > >> Thank you - I'm aware of the virtual folder option and do use
 it. My interest is for a Windows client, EM Client, which I otherwise
 really enjoy. Unfortunately, they've implemented server-side searching only
 via MULTISEARCH - for reasons passing my understanding. So I was hoping to
 hear Dovecot either already had support or there were plans to implement it.
 > >  > > >
 > >  > > > Virtual folder does not scale. Thank you for naming a client
 that does multisearch!
 > >  > >
 > >  > > Virtual folder scales just fine. What makes you think it does not?
 > >  > >
 > >  > > We have customers that have users with thousand folders and
 millions of emails and still virtual folder scales.
 > >  > >
 > >  > > Sami
 > >  > >
 > >  >
 > >  > is this possible to *hide* the virtual folder from listing but make
 it SELECTable / EXAMINEable from IMAP?
 > >  >
 > >  >
 > >
 > >  namespace {
 > >  location = virtual:...
 > >  hidden = yes
 > >  }
 > >
 > >  Aki
 >
 >
 > * NAMESPACE (("" "/")) NIL NIL
 > a OK Namespace completed (0.001 + 0.000 secs).
 > a list "" "*"* LIST (\HasNoChildren \UnMarked) "/" FromL3
 > * LIST (\HasNoChildren \UnMarked) "/" Apple
 > * LIST (\HasNoChildren \UnMarked) "/" JunkMail
 > * LIST (\HasNoChildren \Marked \Trash) "/" Trash
 > * LIST (\HasNoChildren \UnMarked \Drafts) "/" Drafts
 > * LIST (\HasNoChildren \Marked) "/" SENT
 > * LIST (\HasNoChildren) "/" virtual* LIST (\HasNoChildren) "/" INBOX
 > a OK List completed (0.003 + 0.000 + 0.003 secs).
 >
 > It's now hidden in the namepsace but I can still see it in the folder
 list, is this expected?
 >

 Sorry, forgot to say

 hidden=yes
 list=no

 Aki



thanks it is working now.

Re: [EXT] Re: Support for MULTISEARCH

2020-05-11 Thread Aki Tuomi


> On 11/05/2020 14:09 Joe Wong  wrote:
> 
> 
> 
> 
> 
> On Mon, May 11, 2020 at 5:16 PM Aki Tuomi  wrote:
> > 
> >  > On 11/05/2020 12:12 Joe Wong  wrote:
> >  > 
> >  > 
> >  > 
> >  > 
> >  > 
> >  > On Sun, May 10, 2020 at 3:54 PM Sami Ketola  
> > wrote:
> >  > > 
> >  > > 
> >  > > > On 10. May 2020, at 1.51, Peter  wrote:
> >  > > > 
> >  > > > Am 10.05.20 um 00:22 schrieb Daniel Miller:
> >  > > >> Thank you - I'm aware of the virtual folder option and do use it. 
> > My interest is for a Windows client, EM Client, which I otherwise really 
> > enjoy. Unfortunately, they've implemented server-side searching only via 
> > MULTISEARCH - for reasons passing my understanding. So I was hoping to hear 
> > Dovecot either already had support or there were plans to implement it.
> >  > > > 
> >  > > > Virtual folder does not scale. Thank you for naming a client that 
> > does multisearch!
> >  > > 
> >  > > Virtual folder scales just fine. What makes you think it does not?
> >  > > 
> >  > > We have customers that have users with thousand folders and millions 
> > of emails and still virtual folder scales. 
> >  > > 
> >  > > Sami
> >  > > 
> >  > 
> >  > is this possible to *hide* the virtual folder from listing but make it 
> > SELECTable / EXAMINEable from IMAP?
> >  > 
> >  >
> >  
> >  namespace {
> >  location = virtual:... 
> >  hidden = yes
> >  }
> >  
> >  Aki
> 
> 
> * NAMESPACE (("" "/")) NIL NIL
> a OK Namespace completed (0.001 + 0.000 secs).
> a list "" "*"* LIST (\HasNoChildren \UnMarked) "/" FromL3
> * LIST (\HasNoChildren \UnMarked) "/" Apple
> * LIST (\HasNoChildren \UnMarked) "/" JunkMail
> * LIST (\HasNoChildren \Marked \Trash) "/" Trash
> * LIST (\HasNoChildren \UnMarked \Drafts) "/" Drafts
> * LIST (\HasNoChildren \Marked) "/" SENT
> * LIST (\HasNoChildren) "/" virtual* LIST (\HasNoChildren) "/" INBOX
> a OK List completed (0.003 + 0.000 + 0.003 secs).
> 
> It's now hidden in the namepsace but I can still see it in the folder list, 
> is this expected?
>

Sorry, forgot to say

hidden=yes
list=no

Aki


Re: [EXT] Re: Support for MULTISEARCH

2020-05-11 Thread Joe Wong
On Mon, May 11, 2020 at 7:18 PM Aki Tuomi 
wrote:

>
> > On 11/05/2020 14:09 Joe Wong  wrote:
> >
> >
> >
> >
> >
> > On Mon, May 11, 2020 at 5:16 PM Aki Tuomi 
> wrote:
> > >
> > >  > On 11/05/2020 12:12 Joe Wong  wrote:
> > >  >
> > >  >
> > >  >
> > >  >
> > >  >
> > >  > On Sun, May 10, 2020 at 3:54 PM Sami Ketola 
> wrote:
> > >  > >
> > >  > >
> > >  > > > On 10. May 2020, at 1.51, Peter  wrote:
> > >  > > >
> > >  > > > Am 10.05.20 um 00:22 schrieb Daniel Miller:
> > >  > > >> Thank you - I'm aware of the virtual folder option and do use
> it. My interest is for a Windows client, EM Client, which I otherwise
> really enjoy. Unfortunately, they've implemented server-side searching only
> via MULTISEARCH - for reasons passing my understanding. So I was hoping to
> hear Dovecot either already had support or there were plans to implement it.
> > >  > > >
> > >  > > > Virtual folder does not scale. Thank you for naming a client
> that does multisearch!
> > >  > >
> > >  > > Virtual folder scales just fine. What makes you think it does not?
> > >  > >
> > >  > > We have customers that have users with thousand folders and
> millions of emails and still virtual folder scales.
> > >  > >
> > >  > > Sami
> > >  > >
> > >  >
> > >  > is this possible to *hide* the virtual folder from listing but make
> it SELECTable / EXAMINEable from IMAP?
> > >  >
> > >  >
> > >
> > >  namespace {
> > >  location = virtual:...
> > >  hidden = yes
> > >  }
> > >
> > >  Aki
> >
> >
> > * NAMESPACE (("" "/")) NIL NIL
> > a OK Namespace completed (0.001 + 0.000 secs).
> > a list "" "*"* LIST (\HasNoChildren \UnMarked) "/" FromL3
> > * LIST (\HasNoChildren \UnMarked) "/" Apple
> > * LIST (\HasNoChildren \UnMarked) "/" JunkMail
> > * LIST (\HasNoChildren \Marked \Trash) "/" Trash
> > * LIST (\HasNoChildren \UnMarked \Drafts) "/" Drafts
> > * LIST (\HasNoChildren \Marked) "/" SENT
> > * LIST (\HasNoChildren) "/" virtual* LIST (\HasNoChildren) "/" INBOX
> > a OK List completed (0.003 + 0.000 + 0.003 secs).
> >
> > It's now hidden in the namepsace but I can still see it in the folder
> list, is this expected?
> >
>
> Sorry, forgot to say
>
> hidden=yes
> list=no
>
> Aki
>

thanks it is working now.


Re: Support for MULTISEARCH

2020-05-11 Thread Joe Wong
On Mon, May 11, 2020 at 5:16 PM Aki Tuomi 
wrote:

>
> > On 11/05/2020 12:12 Joe Wong  wrote:
> >
> >
> >
> >
> >
> > On Sun, May 10, 2020 at 3:54 PM Sami Ketola 
> wrote:
> > >
> > >
> > >  > On 10. May 2020, at 1.51, Peter  wrote:
> > >  >
> > >  > Am 10.05.20 um 00:22 schrieb Daniel Miller:
> > >  >> Thank you - I'm aware of the virtual folder option and do use it.
> My interest is for a Windows client, EM Client, which I otherwise really
> enjoy. Unfortunately, they've implemented server-side searching only via
> MULTISEARCH - for reasons passing my understanding. So I was hoping to hear
> Dovecot either already had support or there were plans to implement it.
> > >  >
> > >  > Virtual folder does not scale. Thank you for naming a client that
> does multisearch!
> > >
> > >  Virtual folder scales just fine. What makes you think it does not?
> > >
> > >  We have customers that have users with thousand folders and millions
> of emails and still virtual folder scales.
> > >
> > >  Sami
> > >
> >
> > is this possible to *hide* the virtual folder from listing but make it
> SELECTable / EXAMINEable from IMAP?
> >
> >
>
> namespace {
>   location = virtual:...
>   hidden = yes
> }
>
> Aki
>


* NAMESPACE (("" "/")) NIL NIL
a OK Namespace completed (0.001 + 0.000 secs).

*a list "" "*"** LIST (\HasNoChildren \UnMarked) "/" FromL3
* LIST (\HasNoChildren \UnMarked) "/" Apple
* LIST (\HasNoChildren \UnMarked) "/" JunkMail
* LIST (\HasNoChildren \Marked \Trash) "/" Trash
* LIST (\HasNoChildren \UnMarked \Drafts) "/" Drafts
* LIST (\HasNoChildren \Marked) "/" SENT

** LIST (\HasNoChildren) "/" virtual** LIST (\HasNoChildren) "/" INBOX
a OK List completed (0.003 + 0.000 + 0.003 secs).

It's now hidden in the namepsace but I can still see it in the folder list,
is this expected?


Re: [EXT] Support for MULTISEARCH

2020-05-11 Thread Sami Ketola



> On 10. May 2020, at 11.22, Peter  wrote:
> 
> Am 10.05.20 um 09:54 schrieb Sami Ketola:
>>> On 10. May 2020, at 1.51, Peter  wrote:
>>> Am 10.05.20 um 00:22 schrieb Daniel Miller:
 Thank you - I'm aware of the virtual folder option and do use it. My 
 interest is for a Windows client, EM Client, which I otherwise really 
 enjoy. Unfortunately, they've implemented server-side searching only via 
 MULTISEARCH - for reasons passing my understanding. So I was hoping to 
 hear Dovecot either already had support or there were plans to implement 
 it.
>>> 
>>> Virtual folder does not scale. Thank you for naming a client that does 
>>> multisearch!
>> Virtual folder scales just fine. What makes you think it does not?
>> We have customers that have users with thousand folders and millions of 
>> emails and still virtual folder scales.
> 
> Hello Sami, I was thinking, that the client then will be overwhelmed with a 
> mailbox of such a size?
> 
> Or does the folder start empty and only gets populated upon search with the 
> resulting mails?

virtual folder with contents of all actual folders is usually hidden from imap 
clients and is used only for searching.

Sami



Re: Support for MULTISEARCH

2020-05-11 Thread Aki Tuomi


> On 11/05/2020 12:12 Joe Wong  wrote:
> 
> 
> 
> 
> 
> On Sun, May 10, 2020 at 3:54 PM Sami Ketola  wrote:
> > 
> >  
> >  > On 10. May 2020, at 1.51, Peter  wrote:
> >  > 
> >  > Am 10.05.20 um 00:22 schrieb Daniel Miller:
> >  >> Thank you - I'm aware of the virtual folder option and do use it. My 
> > interest is for a Windows client, EM Client, which I otherwise really 
> > enjoy. Unfortunately, they've implemented server-side searching only via 
> > MULTISEARCH - for reasons passing my understanding. So I was hoping to hear 
> > Dovecot either already had support or there were plans to implement it.
> >  > 
> >  > Virtual folder does not scale. Thank you for naming a client that does 
> > multisearch!
> >  
> >  Virtual folder scales just fine. What makes you think it does not?
> >  
> >  We have customers that have users with thousand folders and millions of 
> > emails and still virtual folder scales. 
> >  
> >  Sami
> >  
> 
> is this possible to *hide* the virtual folder from listing but make it 
> SELECTable / EXAMINEable from IMAP?
> 
>

namespace {
  location = virtual:... 
  hidden = yes
}

Aki


Re: Support for MULTISEARCH

2020-05-11 Thread Joe Wong
On Sun, May 10, 2020 at 3:54 PM Sami Ketola  wrote:

>
>
> > On 10. May 2020, at 1.51, Peter  wrote:
> >
> > Am 10.05.20 um 00:22 schrieb Daniel Miller:
> >> Thank you - I'm aware of the virtual folder option and do use it. My
> interest is for a Windows client, EM Client, which I otherwise really
> enjoy. Unfortunately, they've implemented server-side searching only via
> MULTISEARCH - for reasons passing my understanding. So I was hoping to hear
> Dovecot either already had support or there were plans to implement it.
> >
> > Virtual folder does not scale. Thank you for naming a client that does
> multisearch!
>
> Virtual folder scales just fine. What makes you think it does not?
>
> We have customers that have users with thousand folders and millions of
> emails and still virtual folder scales.
>
> Sami
>
>
is this possible to *hide* the virtual folder from listing but make it
SELECTable / EXAMINEable from IMAP?


Re: Support for MULTISEARCH

2020-05-10 Thread Sami Ketola



> On 10. May 2020, at 1.51, Peter  wrote:
> 
> Am 10.05.20 um 00:22 schrieb Daniel Miller:
>> Thank you - I'm aware of the virtual folder option and do use it. My 
>> interest is for a Windows client, EM Client, which I otherwise really enjoy. 
>> Unfortunately, they've implemented server-side searching only via 
>> MULTISEARCH - for reasons passing my understanding. So I was hoping to hear 
>> Dovecot either already had support or there were plans to implement it.
> 
> Virtual folder does not scale. Thank you for naming a client that does 
> multisearch!

Virtual folder scales just fine. What makes you think it does not?

We have customers that have users with thousand folders and millions of emails 
and still virtual folder scales. 

Sami



Re: Support for MULTISEARCH

2020-05-09 Thread Peter

Am 10.05.20 um 00:22 schrieb Daniel Miller:
Thank you - I'm aware of the virtual folder option and do use it. My 
interest is for a Windows client, EM Client, which I otherwise really 
enjoy. Unfortunately, they've implemented server-side searching only via 
MULTISEARCH - for reasons passing my understanding. So I was hoping to 
hear Dovecot either already had support or there were plans to implement it.


Virtual folder does not scale. Thank you for naming a client that does 
multisearch!


Peter


On 6.5.2020 3.57, Daniel Miller wrote:
Does Dovecot presently support the MULTISEARCH command, or are there 
plans to do so?
If you mean RFC7377, that is not supported.  ref. 
https://www.imapwiki.org/Specs
I would suggest evaluating if searching a single virtual folder could 
work for your use case. ref. 
https://doc.dovecot.org/configuration_manual/virtual_plugin/

br,
Teemu


Re[2]: Support for MULTISEARCH

2020-05-09 Thread Daniel Miller
Thank you - I'm aware of the virtual folder option and do use it. My 
interest is for a Windows client, EM Client, which I otherwise really 
enjoy. Unfortunately, they've implemented server-side searching only via 
MULTISEARCH - for reasons passing my understanding. So I was hoping to 
hear Dovecot either already had support or there were plans to implement 
it.


---
Daniel

-- Original Message --
From: "Teemu Huovila" 
To: dovecot@dovecot.org
Sent: 5/8/2020 5:49:34 AM
Subject: Re: Support for MULTISEARCH



On 6.5.2020 3.57, Daniel Miller wrote:

Does Dovecot presently support the MULTISEARCH command, or are there plans to 
do so?

If you mean RFC7377, that is not supported.  ref. https://www.imapwiki.org/Specs


I would suggest evaluating if searching a single virtual folder could work for 
your use case. ref. https://doc.dovecot.org/configuration_manual/virtual_plugin/

br,
Teemu


---
Daniel

Re: Support for MULTISEARCH

2020-05-08 Thread Teemu Huovila


On 6.5.2020 3.57, Daniel Miller wrote:
Does Dovecot presently support the MULTISEARCH command, or are there 
plans to do so?
If you mean RFC7377, that is not supported.  ref. 
https://www.imapwiki.org/Specs



I would suggest evaluating if searching a single virtual folder could 
work for your use case. ref. 
https://doc.dovecot.org/configuration_manual/virtual_plugin/


br,
Teemu


---
Daniel


Support for MULTISEARCH

2020-05-05 Thread Daniel Miller
Does Dovecot presently support the MULTISEARCH command, or are there 
plans to do so?


---
Daniel