15 Jan
2024
15 Jan
'24
4:49 a.m.
Greetings,
I can't figure out how doesn it possible to create a virtual folder which contains mails which has falgs: \Flagged or any customers flag.
For example I do have a test mail:
mx2$ doas doveadm fetch -u kirill@korins.ky "mailbox flags" mailbox-guid fb9e821c7b778b658896000079e31c01 uid 67096 mailbox: Archive flags: \Flagged \Seen $NotJunk NotJunk $MailFlagBit0 $MailFlagBit2 Invoice mx2$
and virtual folder:
mx2$ cat /etc/dovecot/virtual/Flagged/dovecot-virtual
*
-INBOX/Trash
-INBOX/Trash/*
-INBOX/Junk
-INBOX/Junk/*
flagged
mx2$
If I unset flag \Flagged from that mail, it dissapear from the folder.
So, how should I change definition to keep it here if it has user's specified flags like Invoice or ASAP or whatsoever?
-- wbr, Kirill