Solved

Exchange 2007 will not receive emails from outside world

Posted on 2009-07-12
13
404 Views
Last Modified: 2012-05-07
For the past 3 days I have been trying to get Exchange 2007 to receive email from outside sources with no luck.  Most people will not post their domain names and ip addresses but I need to get this done and its driving me crazy.

internal domain name is Compmia.local
internal domain controller name is srvw2k8.compmia.local
exchange server name is srvw2k8exch.compmia.local

I have a sonicwall 2040 pro
added nat and opened ports for mail.

my website address is compmia.com
subdomain for mail is mail.compmia.com
modem static ip address is 72.156.20.251

Compmia.com (mx record) points to mail.compmia.com
Mail.compmia.com (a record) points to 72.156.20.251 which is my modem static ip address.
Mail.compmia.com (mx record) points to mx01.1and1.com which is my domain host.

I don't know which to make the trusted domain, compmia.local or compmia.com
my user are created with their email at .local, i know how to change it in the policy to .com but which do I use.

I created the connectors to us anonymous

does my isp have to do anything else for this to work or do I only need the changes i made from my domain host.

dns settings on my domain controller, I can really use some help on that.

I dont know why I cant receive email, Ive tried many things for the last 3 days, any help is appreciated, thanks.
0
Comment
Question by:bbrunet
  • 5
  • 4
  • 2
  • +1
13 Comments
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 24836052
Telnetting to the IP you list on port 25 does not come back with your mail server!
Is you server configured to use port 25?
Are all your services started?
0
 
LVL 65

Expert Comment

by:Mestha
ID: 24836055
Is this SBS or the full product?
If it is the full product, then go through this Exchange team article:
http://msexchangeteam.com/archive/2006/11/17/431555.aspx

If it is SBS, then ensure that you have completed the wizards.

The most common problem is not enabling anonymous on the Receive Connector.

If I telnet to mail.compmia.com on port 25, the ehlo doesn't look correct.

It should look like this:

220 server.example.co.uk Microsoft ESMTP MAIL Service ready at Sun, 12 Jul 2009 23
:10:41 +0100
ehlo
250-host.example.co.uk Hello [192.168.3.101]
250-SIZE
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-X-ANONYMOUSTLS
250-AUTH NTLM
250-X-EXPS GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250-XEXCH50
250 XRDST

it actually looks like this:

220 mail.compmia.com Microsoft ESMTP MAIL Service ready at Sun, 12 Jul 2009 18:0
5:29 -0400
ehlo
250-mail.compmia.com Hello [123.123.123.123]
250-SIZE 10485760
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN
250-8BITMIME
250-BINARYMIME
250 CHUNKING

That could be a sign of interference somewhere - the firewall maybe.
Simon.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 24836140
Simon, I know you are good, but you must have special powers - I get absolutely zip when telnetting on port 25!
0
 

Author Comment

by:bbrunet
ID: 24836326
This is the full product, exchange 2007 enterprise with server 2008 enterprise.

guys this is what I have

 in receive connector

general tab
fqdn this connector will provide, mail.compmia.com

network tab, local ip addresses, all available ipv4 addresses port 25
receive mail from remote servers that have these ip addresses: 0.0.0.0-255.255.255.255

authentication tab, I have checked off, transport layer security, enable domain security, basic authentication.

permission groups tab, i have all checked except partners.

hub transport, Accepted domains tab, i have two domains compmia.com(true) and compmia.local(false)

In send connector this is what I have.
general tab, fqdn this connector will provide in response to helo or ehlo, mail.compmia.com

address space tab, smtp * cost 1

Network tab,  checked off use dns "mx" records to route mail automatically.

source server tab, my mail server name which is srvw2k8exch
0
 
LVL 70

Expert Comment

by:Chris Dent
ID: 24837941

Can we send to "Administrator@"? Assuming not since I get unable to relay for that particular address.

Chris
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 24838055
This are the replies that I get:
administrator@compmia.com on 13/07/2009 10:02
            You do not have permission to send to this recipient.  For assistance, contact your system administrator.
            <mail.mymailserver.co.uk #5.7.1 smtp;550 5.7.1 Unable to relay>
postmaster@compmia.com on 13/07/2009 10:04
            You do not have permission to send to this recipient.  For assistance, contact your system administrator.
            <mail.mymailserver.co.uk #5.7.1 smtp;550 5.7.1 Unable to relay>
0
Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

 
LVL 70

Accepted Solution

by:
Chris Dent earned 250 total points
ID: 24838059

Which may indicate a problem with the "Accepted Domains", but we should try it with a valid recipient first (if neither of those are) :)

Chris
0
 
LVL 76

Assisted Solution

by:Alan Hardisty
Alan Hardisty earned 250 total points
ID: 24838065
It's no use having your local users with .local email addresses as when they send out - they will send out as .local which will never find it's way back to you.
Set the default email address to .com and trust this domain.
0
 

Author Comment

by:bbrunet
ID: 24856315
chris-dent had the correct idea, I hade my accepted domain, when first setup with a typo error.  Unless of having compmia.com on both places I had put compia.com and I did not see the typo error.  Thanks for all of your help guys.  Yes its embarrassing.
0
 

Author Comment

by:bbrunet
ID: 24856321
alanhardisty also had it correct and pointed me in the correct direction with email addresses had to be with .com and not .local. thanks.
0
 

Author Comment

by:bbrunet
ID: 24856328
I want to give chris and alan 250 each I dont know how to do it, can someone correct this, thanks.
0
 

Author Closing Comment

by:bbrunet
ID: 31602633
Thanks a lot guys.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now