[Dovecot] Initial support for shared mailboxes

Timo Sirainen tss at iki.fi
Sun Sep 7 22:42:37 EEST 2008


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. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080907/a5e008ff/attachment.bin 


More information about the dovecot mailing list