30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
MBOX-Line: From jjmckay at comaxis.com Thu Dec 5 13:56:50 2013
|
|
To: imap-protocol@u.washington.edu
|
|
From: Jeff McKay <jjmckay@comaxis.com>
|
|
Date: Fri Jun 8 12:34:51 2018
|
|
Subject: [Imap-protocol] Kerio and authenticate plain
|
|
Message-ID: <52A0F6A2.8090108@comaxis.com>
|
|
|
|
I am trying to use authenticate plain with a Kerio imap server and not
|
|
having much luck.
|
|
The idea is to use the admin name and password in order to log in to a
|
|
user account and
|
|
access the user's folders. This appears to work but in fact I get
|
|
access to the admin folders,
|
|
not the user's.
|
|
|
|
Basically I am constructing a buffer that looks like:
|
|
<useraccount>0<adminaccount>0<adminpassword>
|
|
(the 0 being a binary byte=x00.) I base64 encode this, issue
|
|
"authenticate plain" wait for the prompt,
|
|
then send the encoded data. Server responds authentication successful,
|
|
however I am logged into
|
|
the admin account, not the user.
|
|
|
|
I have used this code successfully with other imap servers that support
|
|
auth plain, so I know it
|
|
works. Is there something screwy about Kerio?
|
|
|
|
|
|
|