[Dovecot] user login on behalf of another user
Timo Sirainen
tss at iki.fi
Mon Feb 6 17:05:51 EET 2012
On 5.2.2012, at 18.53, rog7993 at web.de wrote:
> we are searching for a possibility to configure a user login on behalf of another user with a PAM backend. This reminds to the behavior of a master user. But a master user can access the mailboxes of all users. We need this more restricted.
Master user doesn't necessarily have access to all users' mailboxes. In the passdb lookup you can decide if this master user is allowed to be this destination user. For example if you used passdb checkpassword, you could look at USER and MASTER_USER environment variables to figure out if this combination should be allowed or not. The checkpassword script can also do the actual authentication via PAM (I'd think there's a way to call it somehow).
More information about the dovecot
mailing list