[Dovecot] get username of logged in user

Timo Sirainen tss at iki.fi
Thu Jan 15 17:38:12 EET 2009


On Thu, 2009-01-15 at 10:34 +0100, 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.

Why a custom one? Do you mean all IMAP commands from scratch? Why not
use the existing acl and imap_acl plugins and only implement a new ACL
backend instead of the default vfile one?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090115/4e03f733/attachment.bin 


More information about the dovecot mailing list