[Dovecot] Problems with masteruser
Неворотин Вадим
nevorotin at gmail.com
Fri Apr 16 21:51:10 EEST 2010
Thank you for your answer! I'll try to use it for my autoconfiguration
script after weekends)) I use AD as userdb and passdb and have a group
mailboxes, but main users for this mailboxes hasn't got any password. And I
need automatically subscribe my users to new group maiboxes. So
"full-access" masteruser is really good for me[?]
2010/4/16 Timo Sirainen <tss at iki.fi>
> On Fri, 2010-04-16 at 16:57 +0400, Неворотин Вадим wrote:
> > I've add
> >
> > $ENV{'MASTER_USER'} = $ENV{'USER'};
> >
> > to my postlogin-imap script, and it looks like that all is working, thank
> > you!!! I'll test it next week, but as I see ACL and base operations work,
> so
> > I think that all other works too))
> >
> > But what does it mean when I return in master_user field current user's
> > name?)))
>
> It means exactly what you do in your post-login script. It sets
> master_user to same as user.
>
> > But if I return in master_user not a current user name, but
> > something else?))) What master_user field control?))) (Sorry, I can't
> find
> > any information about this feature[?])
>
> master_user is used for the ACL checks. Currently it doesn't do anything
> else. So if you set master_user to "foo", it uses foo's ACLs when
> determining access to mailboxes. There's nothing special about master
> users after login, they're just usernames as any other usernames are.
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 912 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20100416/3ebc7738/attachment.gif
More information about the dovecot
mailing list