Virtual folders and mailbox_list_get_root_forced

Joan Moreau jom at grosjo.net
Mon Mar 22 20:16:37 EET 2021


Hi

The function mailbox_list_get_root_forced returns sometimes the first or 
the second value of the INDEX param for the same mailbox.

How to make sure this returns only the correct one of the corresponding 
mailbox ?

mail_location = maildir:/var/vmail/%d/%n:LAYOUT=fs:INDEX=/var/mailindex
namespace {
   location = 
virtual:/nix/store/toto-virtual:INDEX=/var/vmail/%d/%n/virtual
   prefix = virtual/
   separator = /
   subscriptions = no
}

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20210322/4c341ec1/attachment.html>


More information about the dovecot mailing list