On 2019-05-03 16:03, Daniel Miller via dovecot wrote:> On 5/2/2019 12:47 PM, MRob via dovecot wrote: >> hi, I spent time learning about virtual mailboxes. Is there some way >> to create dynamic virtual mailboxes? I mean, when I look at a mailbox, >> I want to see only unread messages or flagged messages in that >> mailbox. > > contents of /var/mail/mydomain/myuser/virtual/Flagged/dovecot-virtual: > * > flagged > > > contents of /var/mail/mydomain/myuser/virtual/Unread/dovecot-virtual: > * > unseen > > > contents of > /var/mail/mydomain/myuser/virtual/Unread-Flagged/dovecot-virtual: > * > unseen flaggedThat is not dynamically generated and it isn't limited to just one mailbox (dovecot terminology here is confusing, normally a mailbox is a mail account (user), but in this context "mailbox" I guess mean "folder" which is how I am using it, as it is used in 15-mailboxes.conf)
On 5/3/2019 11:22 AM, MRob via dovecot wrote:> That is not dynamically generated and it isn't limited to just one> mailbox (dovecot terminology here is confusing, normally a mailbox is a > mail account (user), but in this context "mailbox" I guess mean "folder" > which is how I am using it, as it is used in 15-mailboxes.conf)What does "dynamically generated" mean? Are you asking to create virtual mailboxes via your mail client? If so - then there's no native method. The examples I gave will indeed give you virtual "folders" which respectively contain ALL your flagged (regardless of seen status), unseen (regardless of flagged status), or only unseen flagged messages from all folders. And they will auto-update. Virtual mailboxes are defined per user - so indeed the examples I gave will only exist for the user(s) that have such files and will only apply to their folders. -- Daniel
On 2019-05-05 02:37, Daniel Miller via dovecot wrote:> On 5/3/2019 11:22 AM, MRob via dovecot wrote:> That is not dynamically > generated and it isn't limited to just one >> mailbox (dovecot terminology here is confusing, normally a mailbox is >> a mail account (user), but in this context "mailbox" I guess mean >> "folder" which is how I am using it, as it is used in >> 15-mailboxes.conf) > > What does "dynamically generated" mean? Are you asking to create > virtual mailboxes via your mail client? If so - then there's no native > method. > > The examples I gave will indeed give you virtual "folders" which > respectively contain ALL your flagged (regardless of seen status), > unseen (regardless of flagged status), or only unseen flagged messages > from all folders. And they will auto-update. > > Virtual mailboxes are defined per user - so indeed the examples I gave > will only exist for the user(s) that have such files and will only > apply to their folders.Thank you for helping but- Again, Dovecot terminology here, mailbox means 'folder' not the whole account Dynamic- https://www.mail-archive.com/dovecot at dovecot.org/msg71091.html