[Dovecot] namespaces, shared mailboxes

Alexander 'Leo' Bergolth leo at strike.wu-wien.ac.at
Sun Dec 2 22:01:08 EET 2007


On 12/02/2007 02:45 PM, Timo Sirainen wrote:
> On Sat, 2007-12-01 at 23:59 +0100, Alexander 'Leo' Bergolth wrote:
>> I'd like to provide shared mailboxes with maildir that should appear
>> like 'Shared/<mailboxname>' to the clients.
>>
>> Using the namespace configuration below, everything works fine, exept
>> one thing: Mail clients (only tested with Thunderbird) won't allow to
>> put mails directly in 'Shared/mailboxname' (the folder it is greyed
>> out). You currently have to create subfolders and put the mails in those
>> subfolders.
> ..
>> namespace shared {
>>   separator = /
>>   # hidden = yes
>>   prefix = Shared/spamrep/
>>   location =
>> maildir:/var/spool/mail/Shared/spamrep:CONTROL=~/Maildir/control/Shared/spamrep:INDEX=~/Mail\
>> dir/index/Shared/spamrep
> 
> I find it strange that this kind of configuration even appears to
> work. :) If you somehow manage to get it working with v1.0, there's a
> good chance that it won't work anymore with v1.1.
> 
> So if you want to access "Shared/spamrep" as a mailbox, the prefix must
> be Shared/.

OK, I'll do mail delivery to some subfolder like "Shared/spamrep/INCOMING".
If I don't put any mails directly in "Shared/spamrep", my setup is OK,
isn't it?

> If you wanted users to have different views of what the mailboxes look
> like, you could just change the location to be different for different
> users. Create symlinks to the visible global mailboxes to those
> locations.

I'd like to automatically show shared folders to my users based on group
permissions to avoid having to manage symlinks for every user. Using a
post-login script, this setup works just fine, so I'll try to stick to
the current setup.

Thanks,
--leo
-- 
e-mail   ::: Alexander.Bergolth (at) wu-wien.ac.at
fax      ::: +43-1-31336-906050
location ::: Computer Center | Vienna University of Economics | Austria



More information about the dovecot mailing list