[Dovecot] Listing shared mailboxes with a domainpart

Timo Sirainen tss at iki.fi
Fri Aug 7 21:13:51 EEST 2009


On Fri, 2009-08-07 at 13:29 +0200, Mathias Tausig wrote:
> I am currently configuring a new mailserver using postfix and dovecot
> 1.2.1. The filesystem strucutre in my spool directory is
> user1/
> user2/
> domain/info/
> domain/office/
> 
> I configured a shared namespace:
> 
> namespace shared {
>         separator = /
>         prefix = shared/%%d/%%n/
>         location = maildir:/var/spool/vmaildir/%%d/%%n/

I don't think you should use a shared namespace for this. You just want
everything in domain/ to be shared to users in that domain? Do you have
multiple domains? Do user1 and user2 contain @domain?

If you have multiple domains and user1 is really user1 at domain, I'd use
something like:

namespace public {
  separator = /
  prefix = shared/
  location = maildir:/var/spool/vmail/%d
  subscriptions = no
}

If that doesn't do what you want, explain more clearly what you need.

> plugin {
> acl_shared_dict = proxy::acl
> }
> dict {
>   acl = mysql:/etc/dovecot/dovecot-dict-sql.conf
> }

These aren't needed with public namespaces.
-------------- 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/20090807/c524c34a/attachment.bin 


More information about the dovecot mailing list