Hi I am trialing your .NET secure mail product for a project that I am involved in. I'm really impressed with the product so far.

Essentially I am migrating a lot of IMAP accounts and need to be able to log-on with an Admin account that has impersonation rights on all the normal accounts. The Rebex Imap class has a Login method, but it only supports a single user name and password. How can I login using AUTHENTICATE PLAIN to impersonate another account?

Thanks, Wayne

asked 04 Feb '10, 09:46

Wayne's gravatar image

Wayne
181
accept rate: 0%


This is not supported yet in the official release. It looks like we missed this when implementing the IMAP component in 2005/2006. However, adding this was easy and it will be avaiable in the next release. If anyone is interested in a beta, please let us know at support@rebex.net!

Note: This covers RFC 4616, not the non-standard way for doing the same thing used by Exchange 2003 (which was already supported).

link

answered 04 Feb '10, 16:56

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.2k18
accept rate: 32%

Support for this has been added in Rebex (Secure) Mail 1.0.3723.0. If you need to impersonate another account, pass a userName to the Login method that consists of "authorization identity", NUL character and "authentication identity".

C#:

Imap imap = new Imap();
imap.Connect(serverName);
imap.Login(authorizationUserName + '\0' + authenticationUserName, password);
link

answered 21 Feb '11, 14:41

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.2k18
accept rate: 32%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×71

Asked: 04 Feb '10, 09:46

Seen: 808 times

Last updated: 21 Feb '11, 14:41