Timo thanks for the reply. To do what your suggested I would need a specific user_query for that domain correct? Ex: WHERE userid = '%u@domain1.com'. Also how would I override the mail_plugins setting, can you give me an example, the example on the URL below doesn't make that clear to me.
Also I was trying to have 2 shared namespaces which would have been ideal, why allowing any user to share a folder it wouldn't work unless the from path is listed on the location field but it looks like I can't have more than one shared namespace is this correct?
Thanks for your help, paul
namespace { type = shared separator = / prefix = domain1.com/%%u/ location = maildir:/var/vmail/domain1.com/%%u:CONTROL=/var/vmail/%d/controlprivate/%%u: INDEX=/var/vmail/%d/sharedindexprivate/%%u subscriptions = no ##list = children list = yes
namespace { type = shared separator = / prefix = domain2.com/%%u/ location = maildir:/var/vmail/domain2.com/%%u:CONTROL=/var/vmail/%d/controlprivate/%%u: INDEX=/var/vmail/%d/sharedindexprivate/%%u subscriptions = no ##list = children list = yes
-----Original Message----- From: dovecot-bounces+razor=meganet.net@dovecot.org [mailto:dovecot-bounces+razor=meganet.net@dovecot.org] On Behalf Of Timo Sirainen Sent: Thursday, January 27, 2011 8:20 PM To: PA Cc: 'Dovecot Mailing List' Subject: Re: [Dovecot] dovecot ACL
Hi in Dovecot 2.x with virtual domains, is there a way specify what domains can create shared directories and who can't? For example I have 3 domains, domain1.com, domain2.com and domain3.com. Let's say I only want domain1.com's users to create shared folders how can I go about doing
On Thu, 2011-01-27 at 13:10 -0500, PA wrote: this.
One dirty way would be to enable imap_acl plugin only for users in domain1.com, i.e. override mail_plugins setting to include imap_acl only for domain1.com users in userdb extra fields. http://wiki.dovecot.org/UserDatabase/ExtraFields