[Dovecot] Can I stop users from creating and renaming folders?
Hello
I have a Dovecot IMAP account running. It's a shared account between a few people.
I want to stop users being able to rename existing folders and to stop them creating new ones.
I've searched for this, so I suspect the answer is no.
Is it possible?
Thanks
View this message in context: http://www.nabble.com/Can-I-stop-users-from-creating-and-renaming-folders--t... Sent from the Dovecot mailing list archive at Nabble.com.
Linspeed wrote:
I want to stop users being able to rename existing folders and to stop them creating new ones.
I think this might help: http://wiki.dovecot.org/ACL
Anders.
Anders-19 wrote:
I think this might help: http://wiki.dovecot.org/ACL
Anders.
Hello
I can't get it working.
I've added this line to my configuration:
plugin { acl = vfile:/etc/dovecot/acls }
And I have /etc/dovecot/acls as follows: user=mail rw
(where mail is the username of the user)
Also tried these options instead: user=mail lrwstie user=mail (i.e. no access at all) owner rw
But still I am allowed admin access for renaming and deleting folders.
Does anyone know why it's not working?
I'm running Dovecot version 1.0.13
Thanks
View this message in context: http://www.nabble.com/Can-I-stop-users-from-creating-and-renaming-folders--t... Sent from the Dovecot mailing list archive at Nabble.com.
Linspeed wrote:
Anders-19 wrote:
I think this might help: http://wiki.dovecot.org/ACL
I've added this line to my configuration:
plugin { acl = vfile:/etc/dovecot/acls }
And I have /etc/dovecot/acls as follows:
Read the wiki more closely. I think your file is fine, but it is in a wrong location.
The acl parameter is a directory. Inside that directory, you name the ACL files the same as the mailbox that they apply to. However, as this is a configuration for a single user, you may want to put it into the single mailbox that it affects.
If you turn on debug logging, you can see all the ACL files that Dovecot tries to open.
I'm running Dovecot version 1.0.13
I only tried ACL with 1.1, I do not know whether there are some limitations in 1.0.
Anders.
participants (2)
-
Anders
-
Linspeed