On ons, 2024/12/11 at 06:53:19 +0000, yisuyong--- via dovecot wrote: > Hello, > > I also proceeded according to this thread > (https://dovecot.org/list/dovecot/2022-January/123979.html), but it is not > working. > > My settings are as follows: > [snip] > mail_plugins = quota virtual [snip] > namespace virtual { > hidden = yes > list = no > location = > virtual:/etc/dovecot/virtual:INDEX=~/.virtual:CONTROL=~/.virtual:VOLATILEDIR=~/.virtual/ > prefix = virtual/ > separator = / > type = private > } [snip]
Add "subscriptions = no" to this namespace. If you have subscriptions enabled, you will have crashes. Trimmed all that was not relevant to this piece below. > []# cat /etc/dovecot/virtual/Flagged/dovecot-virtual > * > flagged > []# cat /etc/dovecot/virtual/All/dovecot-virtual > * > all I have almost identical setup. Is /etc/dovecot/virtual vmail:vmail ownership for directories and files? root@debian:~# cat /etc/dovecot/virtual/All/dovecot-virtual * -Junk -[virt]/* -Trash -Trash/* all root@debian:~# cat /etc/dovecot/virtual/Flagged/dovecot-virtual [virt]/All flagged root@debian:~# This setup works here (my virtual namespace is named [virt]). The reason for excluding '[virt]' folders in the 'All' is so you do not end up with duplicate messages showing. If your 'All' covers every folder, you can in other virtual folders reference the 'All' folder rather than using '*'. > [/home/vmail/domain/user/Maildir]# ls -al > 합계 84 > drwx------ 13 vmail vmail 4096 12월 11 15:12 . > drwx------ 5 vmail vmail 4096 12월 11 13:49 '.&vPSwvNO4ycDVaA-' > drwx------ 3 vmail vmail 4096 12월 11 15:13 .. > drwx------ 5 vmail vmail 4096 12월 11 13:49 .Archive > drwx------ 5 vmail vmail 4096 12월 11 13:49 .Drafts > drwx------ 5 vmail vmail 4096 12월 11 14:02 .Junk > drwx------ 5 vmail vmail 4096 12월 11 13:49 .Sent > drwx------ 5 vmail vmail 4096 12월 11 14:02 .Trash > drwx------ 5 vmail vmail 4096 12월 11 13:49 .virtual.All > drwx------ 5 vmail vmail 4096 12월 11 13:49 .virtual.Flagged > drwx------ 2 vmail vmail 4096 12월 11 15:12 cur > -rw------- 1 vmail vmail 110 12월 11 13:48 dovecot-uidlist > -rw------- 1 vmail vmail 8 12월 11 14:02 dovecot-uidvalidity > -r--r--r-- 1 vmail vmail 0 12월 11 13:48 dovecot-uidvalidity.675919c5 > -rw------- 1 vmail vmail 3728 12월 11 14:26 dovecot.index.cache > -rw------- 1 vmail vmail 1940 12월 11 15:12 dovecot.index.log > -rw------- 1 vmail vmail 7404 12월 11 15:03 dovecot.list.index.log > -rw------- 1 vmail vmail 288 12월 11 14:02 dovecot.mailbox.log > -rw------- 1 vmail vmail 0 12월 11 13:48 maildirfolder > drwx------ 2 vmail vmail 4096 12월 11 13:49 new > -rw------- 1 vmail vmail 81 12월 11 13:49 subscriptions > drwx------ 2 vmail vmail 4096 12월 11 13:48 tmp When you in your email client open the /virtual/Flagged or /virtual/All folder, what do you see? At a guess, remembering my own struggles with virtual namespace and folders, disable subscriptions for your virtual namespace and then we can take a look again if things are not working still. -- Kind regards, /S _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org