summaryrefslogtreecommitdiffstats
path: root/doc/wiki/PreAuth.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:51:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:51:24 +0000
commitf7548d6d28c313cf80e6f3ef89aed16a19815df1 (patch)
treea3f6f2a3f247293bee59ecd28e8cd8ceb6ca064a /doc/wiki/PreAuth.txt
parentInitial commit. (diff)
downloaddovecot-f7548d6d28c313cf80e6f3ef89aed16a19815df1.tar.xz
dovecot-f7548d6d28c313cf80e6f3ef89aed16a19815df1.zip
Adding upstream version 1:2.3.19.1+dfsg1.upstream/1%2.3.19.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/wiki/PreAuth.txt')
-rw-r--r--doc/wiki/PreAuth.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/wiki/PreAuth.txt b/doc/wiki/PreAuth.txt
new file mode 100644
index 0000000..97ec73c
--- /dev/null
+++ b/doc/wiki/PreAuth.txt
@@ -0,0 +1,22 @@
+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-06-19 12:42)