[Dovecot] seting acl for master user?
Hello!
I'm sorry, but i don't really understand it the way it is written in the wiki, so i'm trying my luck here =) i followed the wiki for creating a master user (the non-sql-version) and i can login as another user via this master user. my dovecot version is 1.2.9 on an ubuntu server 10.4.3 lts.
what i don't get is the acl-setting, so that the master-user can access all the other users mails and folders. i made the changes in the dovecot.conf as written in the wiki: protocol imap { mail_plugins = acl imap_acl } protocol lda { mail_plugins = sieve acl } plugin { acl = vfile:/etc/dovecot/acls }
in my case I only want the master user (called cyrus) to be able to do everything with/in all mailboxes, so I made a file /etc/dovecot/acls/default that reads "user=cyrus lrwstipekxa".
i'm pretty sure i'm missing something rather obvious here, but somehow i'm just stuck. any help would be greatly appreciated. thanks in advance =)
silvana
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
Am 18.11.2011 14:34, schrieb oni-neko@gmx.net:
Hello!
I'm sorry, but i don't really understand it the way it is written in the wiki, so i'm trying my luck here =) i followed the wiki for creating a master user (the non-sql-version) and i can login as another user via this master user. my dovecot version is 1.2.9 on an ubuntu server 10.4.3 lts.
what i don't get is the acl-setting, so that the master-user can access all the other users mails and folders. i made the changes in the dovecot.conf as written in the wiki: protocol imap { mail_plugins = acl imap_acl } protocol lda { mail_plugins = sieve acl } plugin { acl = vfile:/etc/dovecot/acls }
in my case I only want the master user (called cyrus) to be able to do everything with/in all mailboxes, so I made a file /etc/dovecot/acls/default that reads "user=cyrus lrwstipekxa".
i'm pretty sure i'm missing something rather obvious here, but somehow i'm just stuck. any help would be greatly appreciated. thanks in advance =)
silvana
are you sure that you dont mixed up master users with acl
normally you use master user like described here
http://wiki.dovecot.org/Authentication/MasterUsers
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On Fri, 2011-11-18 at 14:34 +0100, oni-neko@gmx.net wrote:
what i don't get is the acl-setting, so that the master-user can access all the other users mails and folders. .. in my case I only want the master user (called cyrus) to be able to do everything with/in all mailboxes, so I made a file /etc/dovecot/acls/default that reads "user=cyrus lrwstipekxa".
Unfortunately currently there is no default ACL file. The above would create an ACL file for a mailbox called "default". I'll need to get the default ACLs implemented some day..
But if you don't need ACLs for anything else, you can simply disable the ACL plugin and the master user will have access to everything. If you do need ACLs, there are some kludges you can still do.
thank you very much for the reply, it works now, after i removed all the acl-stuff. =)
i don't really know why it didn't work directly after i set up the master user (but before trying around with acls), but hey, I'm not complaning that it's working now =)
thanks again and sorry for the late re =)
bye sil
-------- Original-Nachricht --------
Datum: Fri, 18 Nov 2011 19:22:02 +0200 Von: Timo Sirainen tss@iki.fi An: oni-neko@gmx.net CC: dovecot@dovecot.org Betreff: Re: [Dovecot] seting acl for master user?
On Fri, 2011-11-18 at 14:34 +0100, oni-neko@gmx.net wrote:
what i don't get is the acl-setting, so that the master-user can access all the other users mails and folders. .. in my case I only want the master user (called cyrus) to be able to do everything with/in all mailboxes, so I made a file /etc/dovecot/acls/default that reads "user=cyrus lrwstipekxa".
Unfortunately currently there is no default ACL file. The above would create an ACL file for a mailbox called "default". I'll need to get the default ACLs implemented some day..
But if you don't need ACLs for anything else, you can simply disable the ACL plugin and the master user will have access to everything. If you do need ACLs, there are some kludges you can still do.
-- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
participants (3)
-
oni-neko@gmx.net
-
Robert Schetterer
-
Timo Sirainen