Hi everyone,
During experimentation I created a "Test1" mailbox under a virtual namespace:
mailbox "Test1" { auto = no special_use = \All }
I commented it out before restarting Dovecot, and it's never been subscribed to either.
I see the Test1 directory is still within my "index" directory and there's a "dovecot.index.log" in it. When I try to force resync all my virtual mailboxes, doveadm complains about it:
$ doveadm -D force-resync -A Virtual/*
Debug: Namespace virtual-virtual: [...]/virtual/Test1 doesn't exist yet, using default permissions Debug: Namespace virtual-virtual: Using permissions from [...]/virtual: mode=0755 gid=default Error: Mailbox Virtual/Test1: mkdir_parents([...]/virtual/Virtual/Test1) failed: Permission denied Error: Mailbox Virtual/Test1: Failed to create path: [...]/virtual/Virtual/Test1 for mailbox Virtual/Test1: mkdir_parents([...]/virtual/Virtual/Test1) failed: Permission denied
What is the proper command to remove it from the index? I tried "cache purge", but that fails, too.
I can "rm -rf" the whole index directory and that solves this issue. However, I think there should be a more gentle solution.
Thank you,
Ákos