[Dovecot] Public mailboxes

Frank Bonnet f.bonnet at esiee.fr
Sun May 20 09:07:29 EEST 2012




Le 19/05/2012 22:49, Timo Sirainen a écrit :
> On 19.5.2012, at 23.40, Frank Bonnet wrote:
>
>> Le 19/05/2012 20:44, Timo Sirainen a écrit :
>>> On Fri, 2012-05-18 at 14:31 +0200, Frank Bonnet wrote:
>>>
>>>> I'm trying to setup a server with public mailboxes only
>>>> but I cannot succeed.
>>> Do you still have specific users? Do you want the users to have
>>> subscriptions? Do you need ACLs?
>> yes I need specific users using ACL
>> and yes I would like users have subsciptions
> OK, so then you need to have a per-user mail_location for the subscriptions. Something like:
>
> namespace {
>   list = children
>   location = maildir:/var/mail/public
>   prefix = public/
>   separator = /
>   subscriptions = no
>   type = public
> }
> namespace inbox {
>   location = maildir:/var/lib/dovecot/empty:CONTROL=/var/mail/user/%u
>   prefix = /
>   inbox = yes
> }
>
> With the "empty" directory being non-writable, the users can't create any private mailboxes, but with the writable control directory they can store subscriptions there.


OK I see, Thanks a LOT Timo !




More information about the dovecot mailing list