[Dovecot] Initial support for shared mailboxes
Robert Schetterer
robert at schetterer.org
Wed Sep 17 02:31:16 EEST 2008
Timo Sirainen schrieb:
> On Sat, 2008-09-06 at 11:11 +0300, Timo Sirainen wrote:
>> On Sat, 2008-09-06 at 10:05 +0200, Robert Schetterer wrote:
>>> Timo Sirainen schrieb:
>>>> On Sat, 2008-09-06 at 09:42 +0200, Robert Schetterer wrote:
>>>>> Hi Timo, what about imap acl full implemented ( not plugin )
>>>>> is there a chance to have it in v1.2 ?
>>>> It's not in my plans, but Kolab people are probably going to need it, so
>>>> maybe they'll implement it. :)
>>>>
>>>> And what do you mean by "not plugin"? It's most likely going to be a
>>>> plugin in any case.
>>>>
>>> Sorry Timo i missposted you *g,
>>> the problem is the file based acl ( whatever plugin or not ), i dont
>>> know any
>>> webmail etc which gives the users themselfs a chance
>>> to make their own acls, editing files i.e via ftp is
>>> very outdated, what dovecot needs is edit acls direct via the client
>>> over imap like its in cyrus, so we can use horde or squirrel webmail
>> The problem isn't really about making IMAP commands available for the
>> ACL file creation, that's pretty easy to implement. The problem is that
>> once the ACLs have been given the mailboxes should be visible to other
>> users. That's more difficult to implement.
>
> Well, I actually started it today since it's needed for replication:
> http://hg.dovecot.org/dovecot-1.2/rev/6dd0c6755afe
>
> Mailboxes can't be listed yet (and I'm not planning on implementing that
> anytime soon), but if you add the wanted mailboxes to subscriptions they
> should be usable by clients. Configuration goes like:
>
> namespace shared {
> separator = /
> # %%u gets expanded to the remote user. Instead of %%u you can
> # also use %%n and %%d.
> prefix = shared/%%u/
> location = Maildir:/home/%%u/Maildir:INDEX=~/Maildir/shared/%%u
> }
>
> I didn't bother testing it with ACL plugin yet, but I guess it should
> work.
>
> And as for the IMAP ACL commands then.. Well, they shouldn't be too
> difficult to implement I think. Someone else could try to do it
> though. :)
Hi Timo if i use
%%u
%u works
i get failure
dovecot: Sep 17 01:26:03 Error: child 15148 (imap) killed with signal 6
dovecot: Sep 17 01:26:05 Panic: IMAP(robert at schetterer.com): shared
mailbox list: Can't return path for 'users/'
dovecot: Sep 17 01:26:05 Error: IMAP(robert at schetterer.com): Raw
backtrace: /usr/lib/dovecot/imap [0x80e9531] -> /usr/lib/dovecot/imap
[0x80e95b2] -> /usr/lib/dovecot/imap [0x80e8f49] ->
/usr/lib/dovecot/imap [0x809b8e1] ->
/usr/lib/dovecot/modules/imap/lib01_acl_plugin.so [0xb7d9a8ae] ->
/usr/lib/dovecot/modules/imap/lib01_acl_plugin.so(acl_object_init_from_name+0x1d)
[0xb7d98e2d] ->
/usr/lib/dovecot/modules/imap/lib01_acl_plugin.so(acl_backend_init+0x176)
[0xb7d99556] ->
/usr/lib/dovecot/modules/imap/lib01_acl_plugin.so(acl_mailbox_list_created+0xde)
[0xb7d9cece] -> /usr/lib/dovecot/modules/imap/lib20_mail_log_plugin.so
[0xb7ef50a4] -> /usr/lib/dovecot/imap(mailbox_list_init+0x13c)
[0x80b211c] -> /usr/lib/dovecot/imap [0x809bc17] ->
/usr/lib/dovecot/imap(mail_storage_create+0x114) [0x80b0c74] ->
/usr/lib/dovecot/imap(mail_namespaces_init+0x29e) [0x80ace0e] ->
/usr/lib/dovecot/imap(main+0x3e3) [0x806f173] ->
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7db7450] ->
/usr/lib/dovecot/imap [0x805ef21]
dovecot: Sep 17 01:26:05 Error: child 15152 (imap) killed with signal 6
--
Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
More information about the dovecot
mailing list