[Imap-protocol] Kerio and authenticate plain

Jeff McKay <[email protected]>
Newsgroups gmane.mail.imap.general
Message-ID <[email protected]>
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?


_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.