On Sat, Jul 29, 2006 at 04:04:01PM -0400, Sam Varshavchik wrote:
> >I'm using courier-imap as an imap proxy to an Exchange server. I wrote a
> >small script in Python to do the authentication with authpipe.
> >
> >The odd thing is that courier-imap uses the email address instead of the
> >username when loging to the Exchange server.
>
> Courier-IMAP uses whatever username it itself received from the client. If
> the IMAP client logs in as [EMAIL PROTECTED], and Courier-IMAP runs in proxy
> mode, it will itself log in as [EMAIL PROTECTED]
Looking at the source, I think the OP is correct: imaplogin.c says
ipi.uid=ainfo->address;
and in turn, 'address' is what's returned by authdaemond as ADDRESS=...
I believe this is not necessarily the same as the original login name.
Regards,
Brian.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap