Link to home
Start Free TrialLog in
Avatar of TomKat14
TomKat14

asked on

Configuring Outlook Express 6 to access mail via IMAP through an Exchange 03 Server.

Hello Experts,
I enabled IMAP on our Exchange server by turning on the service and setting it to automatic.  I enabled port 143 and 993 on our firewall.  I am getting an error with authentication listed below.  I looked around and saw that it could possibly be that what I'm putting for a username is not correct.  Expert help would be appreciated.

Configuration:
   Account: mail.domain.com (IMAP)
   Server: mail.domain.com
   User name: user.name
   Protocol: IMAP
   Port: 143
   Secure(SSL): 1
   Code: 800ccc03
Avatar of Mestha
Mestha
Flag of United Kingdom of Great Britain and Northern Ireland image

What format are you using for the username?

Username
Username@domain
Domain\username
domain\username\alias

Something else?
From memory it is one of the last two.

-M
Avatar of TomKat14
TomKat14

ASKER

I used all the formats.  Our domain name (internal) does not match our sitename (website) so I'm not sure if that would be the problem.  I had a co-worker say he could get it to work using domain (sitename without the www)\username (windows logon)\alias (alias@sitename).  I tried that and could not get it to pan out.  I started out just using the username.
You public domain name has nothing to do with it. It is all about your internal domain.
domain\username should work, as should username@domain.local - where domain.local is the FQDN of your account using the internal domain - which may or may not match your email address.
I don't think it will be alias, that is for POP3. I get them mixed up sometimes. Rarely deploy IMAP, prefer to use RPC over HTTPS if possible.

If you are trying to use an SSL certificate, then ensure that it is a trusted certificate. If it is not then that will cause a failure because the client cannot handle a certificate prompt.

-M
I still cannot seem to get it to work.  I am configuring this all internally to troubleshoot another issue I'm having.  I turned off SSL and still could not get it to connect.  The SSL on our server is a selfSSL.  Would RPC work for an iPhone?
If you update the iPhone to the latest software then you have native Exchange ActiveSync support and don't have to worry about getting IMAP to work.

Although I would suggest replacing the Self Generated SSL certificate for a commercial one. GoDaddy are the cheapest https://DomainsForExchange.net/ 

Try a telnet test to the server directly.
http://support.microsoft.com/kb/189326

That may give you an idea if things are working or not.

-M
I tried out the site and ran the command on my computer and got :

* OK Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 (exch.innovation) ready.

I just can't figure out the proper command structure to login with.  If you note above our FQDN is not setup properly.  Usually you would see exch.innovation.local.  I type the following for the commands to login but to no avail.

? domain.com/user.name/user.name@domain.com
Error: "Expected SPACE not found".

? domain/user.name/alias (same as username)
Error: "No space following tag in IMAP command".
You missed the password.

? LOGIN domain/username/alias password

It is not domain.com, but your NETBIOS domain name.

Check the alias, isn't always the same as the username.

-M
It looks like it took but i get an error:

? NO Cleartext login on this server requires the use of transport level security (SSL/TLS).

Do I have to create a new SSL cert just to get this to work so I can actually login?  The SSL that we have is a selfSSL and I just want to be able to it to login for verification.  But when you said I don't need this to get my iPhone to work then I can just open up a new question about getting the iPhone to work if I can't find one already done here on EE.
ASKER CERTIFIED SOLUTION
Avatar of Mestha
Mestha
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
OK turned off SSL for the meantime and got it to work.  Guess we need a new SSL.  Got it to work using the (Telnet IP address of Mail server (Exchange) 143) command in cmd and configured outlook express to see everything internally.  This doesn't really help for people trying to get this to work externally but it helped me to temporarily setup an iPhone to retrieve mail via IMAP through VPN.

Outlook Express setup
incoming mail: servername
outgoing mail: smtp.domain.com
account: domain/user.name/user.name

iphone setup
username: domain/user.name/user.name
domain: domainname
server: x.x.x.x (ip address)

We made sure that VPN was turned on and realized that our DNS is not setup correctly which is the reason for the ip address on the iPhone.  Looks like I have a lot of work ahead of me but this works for what I trying to troubleshoot which was verifying that I had IMAP setup properly.