Stefan Jurisch wrote:
Hello,
can I anywhere get the name of the currently logged in user?
I'm still implementing a custom ACL plugin (IMAP commands MYRIGHTS, GETACL,
SETACL, DELETEACL), and for some functions (for example storing the current
folder's ACL in combination with this username) I need to obtain the currently
logged in IMAP user.
Is this possible? If yes - how?
All of Dovecot's settings are passed via environment variables from
master process to mail processes. This incudes userdb information:
user, UID, GID etc.
Thanks in advance.
Best regards
Stefan
Uldis