[Dovecot] how to "hide" mailbox from the IMAP clients

Eduardo M KALINOWSKI eduardo at kalinowski.com.br
Tue Oct 6 17:31:48 EEST 2009


On Ter, 06 Out 2009, Kostik wrote:
> Hello, everyone!
>
> Is it possible to "hide" mailbox from the IMAP clients, so as to prevent
> any user from subscribing to the some folders?
>
> My storages are "mbox maildir".
>
> For example, to hide the directory where the personal Sieve scripts are
> stored or etc.

I think you're approaching the problem from a wrong perspective. You  
should not "hide" non-mail folders from clients, but you should "hide"  
them from the server. If it's not a mail folder, Dovecot should not  
treat it as one.

How to do that depends on your settings, but basically you should not  
include the folder with scripts inside the folder with the mailboxes,  
but instead store it elsewhere.


-- 
Eduardo M KALINOWSKI
eduardo at kalinowski.com.br



More information about the dovecot mailing list