[Dovecot] shared mailboxes and indexes

Sven Hartge sven at svenhartge.de
Tue Nov 27 03:24:57 EET 2012


Timo Sirainen <tss at iki.fi> wrote:
> On 23.11.2012, at 17.53, Sven Hartge wrote:

>>>>> BTW. Do you have multiple Dovecot backend servers? Director works
>>>>> only when you're not using shared mailboxes.. 
>> 
>>> You can't reliably do it if the mailboxes are accessed directly via
>>> NFS. The current idea to solve this is to use imapc backend with
>>> master users, so the actual mailbox access for each user is always
>>> done by only one server. I think someone already managed to
>>> configure such a setup.
>> 
>> This was me.
>> 
>> It works (with one minor quirk, more on this later) in my current
>> test setup like so:
>> 
>> a) 1 to X user-servers with the users mailboxes on them 
>> b) 1 shared-server with the shared mailboxes on them

> For implementing shared mailboxes between all user servers, I think
> what would need to be developed is:

>> imapc_host = m-st-sh-01.example.com
>> imapc_master_user = %u
>> imapc_user = shared

> Somehow being able to set "imapc_user = %%u" where %%u expands to the
> shared namespace's username. Or maybe setting the imapc_user
> automatically to that when accessing it via type=shared namespace.

Wouldn't you still need the target users host because this will be
dynamic depending on the target user?

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.




More information about the dovecot mailing list