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

Kostik koc at fax.ru
Tue Oct 6 17:58:55 EEST 2009


Eduardo M KALINOWSKI wrote:
> 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.

Yes, you're right! For legacy reasons, my clients have their mailboxes
directly in their homedir. That not problem, because they have only imap
access to that server. But I am interested to hide some "non-mail" folders.

mailbox_location re-design is not possible right now. :(

=kostik


More information about the dovecot mailing list