Hi, this is a known issue unfortunately. You can try do doveadm index -u victim 'Virtual/*'
Aki
On 19 February 2019 09:46 Stefan Hagen via dovecot < dovecot@dovecot.org> wrote:
Hello,
I'm using dovecot on my personal / private email server.I have set up virtual mailboxes in my inbox namespace like this:
namespace inbox {inbox = yesprefix = "Virtual/"separator = /location = "virtual:~/.emails_virtual:LAYOUT=fs:INDEX=dovecot.virtual.index:LISTINDEX=dovecot.virtual.list.index"list = yessubscriptions = yesmailbox {auto = subscribe}}
I had quite some trouble with it at first with UIDs changing all thetime, but after adding INDEX and LISTINDEX it started to work just fine.
I've created dovecot_virtual files like this one:$ cat ~/.emails_virtual/2-LastDay/dovecot-virtual*-Trash-Sent-Drafts-Spam-Virtual-Virtual/*all younger 86400
After stopping dovecot and deleting the index files and restartingdovecot, the virtual mailbox shows all mail from the last day - asexpected. But after one day, it shows mail from two days. After three,it shows mails from three days.
It looks like dovecot selects emails from the last day, but never cleansout emails that are older, once they have been selected.
My full dovecot -n can be found here:
Any ideas about what could be wrong?
Best Regards,Stefan
--Stefan Hagen | (gopher|https)://codevoid.de(/gpg)CBD3 C468 64B4 6517 E8FB B90F B6BC 2EC5 52BE 43BA
---
Aki Tuomi
Aki Tuomi