Virtual folder auto creation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Virtual folder auto creation

Dovecot mailing list

After switching on Virtual Plugin and configuring it as specified on
https://doc.dovecot.org/configuration_manual/virtual_plugin/

the virtual folder is created for each user.

Is it possible do not creater virtual folder automatically, only
manually, for specific users?

lda_mailbox_autocreate set to yes, but hope it's not related.

--
sergio.
Reply | Threaded
Open this post in threaded view
|

Re: Virtual folder auto creation

Dovecot mailing list


> On 21 Nov 2019, at 4.32, sergio via dovecot <[hidden email]> wrote:
>
>
> After switching on Virtual Plugin and configuring it as specified on
> https://doc.dovecot.org/configuration_manual/virtual_plugin/
>
> the virtual folder is created for each user.
>
> Is it possible do not creater virtual folder automatically, only
> manually, for specific users?
>
> lda_mailbox_autocreate set to yes, but hope it's not related.


Return the virtual folder settings from userdb for only the selected users.
Or return hidden = yes variable for those that you wish not to see it.
Virtual folder really does not exist. It is memory only and is generated on
each login.

Sami

Reply | Threaded
Open this post in threaded view
|

Re: Virtual folder auto creation

Dovecot mailing list
On 21/11/2019 10:59, Sami Ketola via dovecot wrote:


> Return the virtual folder settings from userdb for only the selected users.
> Or return hidden = yes variable for those that you wish not to see it.

Could you give more details how to do this?


> Virtual folder really does not exist. It is memory only and is generated on
> each login.

It is not true. Virtual folder really exists (for all users):
# ls -d /var/mail/user/mailboxes/virtual
/var/mail/user/mailboxes/virtual/

While some MUAs (k9, tb, roundcube) don't show it (may be as empty)
some other (apple ios, com.android.mail) shows it. And it annoys that users.


--
sergio.
Reply | Threaded
Open this post in threaded view
|

Re: Virtual folder auto creation

Dovecot mailing list


> On 22 Nov 2019, at 0.03, sergio via dovecot <[hidden email]> wrote:
>
> On 21/11/2019 10:59, Sami Ketola via dovecot wrote:
>
>
>> Return the virtual folder settings from userdb for only the selected users.
>> Or return hidden = yes variable for those that you wish not to see it.
>
> Could you give more details how to do this?

doveconf -S | grep namespace

and then return the chosen settings from userdb.

>
>
>> Virtual folder really does not exist. It is memory only and is generated on
>> each login.
>
> It is not true. Virtual folder really exists (for all users):
> # ls -d /var/mail/user/mailboxes/virtual
> /var/mail/user/mailboxes/virtual/
>
> While some MUAs (k9, tb, roundcube) don't show it (may be as empty)
> some other (apple ios, com.android.mail) shows it. And it annoys that users.

It is true. You only have chosen to put your virtual folder settings in the users mail directory for some reason.

Sami