You may have missed my post yesterday in which I covered this... I ran into the same thing with Exchange 5.5, and followed an identical troubleshooting path to yours (starting with telnet to 143, and ending when I could logon with a different userid that matched its mailbox name). There may be other solutions to the problem, but I could only find one solution.
When the mailbox name does not match the domain username it's associated with, the only way I've found to solve the problem is to rename the mailbox to match the domain username. A PITA (pain-in-the-ass) to be sure, especially if you have many mailboxen that don't match their domain usernames. I tried passing authentication with multiple variations of the commandline NetBIOS syntax "/USER:[domainname\]username" for the username, but could not get this to work, as apparently the IMAP server in exchange will not parse this syntax for authentication. It appears that the exch 5.5 IMAP server first matches the username to mailbox names in the store. If there is no match, you get a rejection. If a match is found, it then passes that mailbox name to the SAM as a domain username, and if the SAM repsonds that the uname doesn't exist, then you get a failure. It seems that IMAP component doesn't look at the exchange directory to match up the mailbox name to the domain username. Thanks for this oversight M$! Only changing the mailbox name to match the userid worked for me. That said, my setup may not match yours, so your resulsts may vary. In my environment, the PDC is also the exchange 5.5 server, and I have no BDC, so there are no SAM DB synchronization issues for me to worry about in this regard. In addition, if you're using that Exchange add-on 'Key Management Server' that allows you to run Exchange as (gasp!) a standalone ISP type POP server (so you don't have to pay for thousands of NT CALs for your subscribers), Key Management Server would need to be well scrutinized in relation to this authentication issue as well. Hope this helps you out. Stan Leon Derczynski said: > Good morning! > > Sorry for the slightly off-topic post, I've not been able to get any > information so far and am kind of desperate! > > I'm having problems getting IMAP working with Exchange 5.5. I can telnet > in > to the server on port 143 and that works fine, and for a couple of users > I've successfully worked out the full login name of > Domain/Username/Mailbox > but can't get it for some other accounts. Is there a predefined method for > doing this, or a tool that'll tell you the primary mailbox of an account? > I've been into Exchange and tried all the mailbox names listed there, to > no > avail. I know it's working as some users can login to Squirrelmail but > don't > know where to turn next! Has anybody had any experience of this before? > > Many thanks, > > > Leon Derczynski > Software Engineer > Summit Media > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > -- > squirrelmail-users mailing list > List Address: [EMAIL PROTECTED] > List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 > List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
