Exchange 2003 Incoming Email (Full Version)

All Forums >> [Microsoft Exchange 2003] >> Installation



Message


johnb80 -> Exchange 2003 Incoming Email (11.Mar.2006 4:07:05 PM)

Hi,
I'm trying to setup an exchange server for my lab in order to do practicals for Exchange 2003 mcse elective. I have no problem getting Exchange servers to talk to each other but i have become stuck with incoming mail.

The setup I have is a registered domain mydomain.co.uk and a fixed IP address. i have access to the DNS configuartion on the net but I dont seem to be able to get incoming emails. I have an mx record set as servername.mydomain.co.uk.
mail A my ip address.

Have I missed something ?

All help greatfully received.

Regards - John




Xguru -> RE: Exchange 2003 Incoming Email (12.Mar.2006 5:26:39 AM)

I feel all is fine.... Can you try and telnet on servername.yourdomain.co.uk from an external or remote computer. If your exchange server replies then you should get emails if not then you have a misconfiguration on the MX.

XGURU




johnb80 -> RE: Exchange 2003 Incoming Email (12.Mar.2006 8:06:30 AM)

Hi,
I tried telnet www.mydomain.com and got the reply "could not open connection to the host on port 23".

I'm going to ask a really dumb question here, is port 23 significant to exchange (don't all shout back, I'm new). I have the firewall locked down, what ports should I have open.

Really appreciate your help, once I get this stage done I'll be a lot happier.

Kind Regards - John




Xguru -> RE: Exchange 2003 Incoming Email (12.Mar.2006 9:25:17 AM)

Chill john...

SMTP functions on port 25 and telnet is just the transport provider.

Have SMTP port 25 open on the firewall, and nat the external IP to your internal exchange server IP. This way all inbound email will hit your external ip and would hit the exchange bcoz of the Nat.

when this is done telnet your MX record "telnet xxx.xxx.xxx.xxx 25" or "telnet servername.yourdomain.co.uk 25".

No question is dumb, as long as you clear your MCSE i am happy to answer any number of questions.

XGURU




johnb80 -> RE: Exchange 2003 Incoming Email (12.Mar.2006 10:17:09 AM)

Hi,
Telnet www.servername.mydomain.co.uk 25 responds with 220 servername.mydomain.co.uk Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Sun, 12 Mar 2006 09:11:51 +0000

I assume it means we get to the server OK, but no mail arrives. If I send email internally it gets through fine, externally it doesn't. Nothing is held up in queue's anywhere.

I really appreciate your help - THANK YOU

Where do I go from here ?

Regards - John




bej -> RE: Exchange 2003 Incoming Email (13.Mar.2006 10:35:41 AM)

Do you get any error messages when sending from an external address?
Turn up SMTP logging and enable Message Tracking on the Exchange server to see if any messages arrives at all.




degradable -> RE: Exchange 2003 Incoming Email (13.Mar.2006 6:58:07 PM)

As our colleague said "Turn on logging"

Connect using Telnet to port 25 (as already discussed) Type as written but change names to valid addresses.  Presuming Recipient policy etc been applied (Chat about that soon) Ensure you add the final Full Stop/Period as shown

Now from the prompt
type
helo  {Press Return}
Expect to get something like "250 tnsw23kdc1.lobbster-adsl.demon.co.uk Hello IP Address"
mail from:test@test.com  {Press Return}
250 2.1.0 test@test.com....Sender OK
rcpt to:validemailaddress@yourdomain.com{Press Return}
rcpt to:validemailaddress@yourdomain.com
data{Press Return}
354 Start mail input; end with <CRLF>.<CRLF
This is a test
.
250 2.6.0 <TNSW23KDC1nJPAsUFIk00000001@>yourdomain.com Queued mail for delivery
Quit
221 2.0.0 tnsw23kdc1.yourdomain.com Service closing transmission channel


Let us know what you get returned and what you see in the log files (c:\window\system32\logfiles\SMTPSVC1  assuming logging on smtp and one virtual server etc etc




johnb80 -> RE: Exchange 2003 Incoming Email (13.Mar.2006 8:25:45 PM)

quote:

ORIGINAL: degradable

As our colleague said "Turn on logging"

Connect using Telnet to port 25 (as already discussed) Type as written but change names to valid addresses.  Presuming Recipient policy etc been applied (Chat about that soon) Ensure you add the final Full Stop/Period as shown

Now from the prompt
type
helo  {Press Return}
Expect to get something like "250 tnsw23kdc1.lobbster-adsl.demon.co.uk Hello IP Address"
mail from:test@test.com  {Press Return}
250 2.1.0 test@test.com....Sender OK
rcpt to:validemailaddress@yourdomain.com{Press Return}
rcpt to:validemailaddress@yourdomain.com

All goes as expected up to here, it then says 'unable to relay for username@mydomain.com'

Why does it think a relay is involved ?

Regards - JB




AdminFix -> RE: Exchange 2003 Incoming Email (13.Mar.2006 8:43:46 PM)

Hey John,

Based on your symptoms, it looks to me that your AD domains is possibly in MyDomain.Local Format and you haven't yet added a recipient policy for your SMTP domain. I would suggest you to open the Exchange System Manager -> Recipients -> Recipient Policies -> Default Policy -> Email Addresses.

Here you need to add a new SMTP domain. Once you are done, reboot the computer once. It will help expediate DS 2 Metabase Replication.

This should resolve the issue.




johnb80 -> RE: Exchange 2003 Incoming Email (13.Mar.2006 11:15:33 PM)

Hi,
Yep, spot on. I had in fact got the SMTP address wrong in the default policy (.com instead of .co.uk). I made that mistake when i set the server up, I changed the domain name but not the recipient default policy. I had changed the email address on the user account to test it out. Changing the policy solved it all.

A huge thankyou to everyone that helped me in this seemingly black magic world of exchange. I now have my first exchange server up and running and can now rest easy and continue with my labs etc ready for my exams.

Thanks again - John




Page: [1]