ACL user

Timo Sirainen tss at iki.fi
Mon Feb 8 10:50:14 UTC 2016


On 05 Feb 2016, at 17:42, Peter Chiochetti <pch at myzel.net> wrote:
> 
> How would I go, If I wanted ACL processing to
> start with  %{auth_user} instead of %{user}
> when determining rights?

You could kludge it by returning master_user=%{auth_user} in userdb, but that might affect other things.. But since this has been asked a few times, I finally implemented it in a bit cleaner way:

https://github.com/dovecot/core/commit/dd5683e19979085fdfe9f269876f2a91ea604679

So you can do:

plugin {
  acl_user = %{auth_user}
}



More information about the dovecot mailing list