Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 83f4dee9c38335376d3dbd436bccc3a0 > files > 657

dovecot-2.3.6-1.mga7.aarch64.rpm

Pre-Authenticated Sessions
==========================

For debugging purpose or to perform IMAP actions on-behalf of an user, you can
use pre-authenticated sessions. You can do this by simply running:

---%<-------------------------------------------------------------------------
/usr/local/libexec/dovecot/imap
---%<-------------------------------------------------------------------------

And you can start talking IMAP via stdin/stdout. This doesn't change process's
UID, GID, or get any userdb settings. If you want to emulate a full regular
login, you can execute

---%<-------------------------------------------------------------------------
/usr/local/libexec/dovecot/imap -u username
---%<-------------------------------------------------------------------------

Of course, you may need to run the above command as root if it needs to change
process's uid/gid.

(This file was created from the wiki on 2019-04-30 04:42)