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 us...@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.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to