SMTP-receive connector

Hi, i have registered my domain in godaddy.com, domain name is domainname.com and my mx record is mail.domainname.com and priority 10 and have only one mx record. I have created mx record and a record in my local dns server
DNS RECORD DETAILS ( IP ADDRESS OF LOCAL DNS SERVER 192.168.1.150)
Host and child domain : mail
FQDM:                  domainname.com
FQDM of mail server:       mail.domainname.com
PRIORITY:            10
Then I created A record
 NAME:                  mail
 FQDM:                  mail.domainname.com
 IP Address:            192.168.1.151 (my exchange server ip address)

PORT FORWARDING DETAILS:

External port            25
Internal port             25
Protocol             both
To ip address            192.168.1.151 (Exchange server ip address)

EXCHANGER SERVER DETAILS
Accepted domain: domainname.com
Send connector: Smart host
Received connector:  default

It seems everything is perfect about my configuration to send and received the mail from outside. Now my problem is I can able to send email to outside, but I can’t receive email from outside.
karki chhatraAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

John EastonDirectorCommented:
On your GoDaay DNS settings is your IP actually 192.168.1.151, or is this just a plceholder?

Addresses starting 192.x.x.x are not routable on the internet, they are private IP addresses.  You will need to enter your servers public IP address on GoDaddy.
Amit KumarCommented:
On Godaddy with which IP you have created MX record. It should be public IP of your internet facing SMTP Server.

If you have Exchange server IP is 192.168.1.151 then it should be mapped to a public IP, which will communicate in public.

Can you check mx records for your domain on MXToolbox which IP it is showing and match if your internet facing SMTP server's IP is matching with it or not?
Leroy LuffHead of IT & DIgitalCommented:
Your A record should be created on Go daddy with your public ip.

Though I normally point mx records straight to the public IP instead of a DNS name.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Md. MojahidCommented:
Configuring Exchange 2007/2010 to use a Smarthost

Routing all mails to a smarthost :
 
A Send Connector must already have been created and configured correctly on the Hub Transport server.
Open Exchange Management Console.
Click on the '+' next to Organization Configuration.
Select Hub Transport and select the 'Send Connectors' tab.
Right-click on the existing Send Connector, select 'Properties' and go to the Network tab.
Select "Route mail through the following smart hosts:" and click 'Add'.
Enter mxpool1.spamgateway.comodo.com (you need to use port 587).
If you have more then one Smarthost, repeat the previous two steps.
The changes to the Send Connector will take effect immediately without you having to reboot the server or restart any services.
 
In order to change the port to 587 you will have to issue the following command in the Exchange Powershell Console:

Set-SendConnector -identity "NAME OF CONNECTOR" -Port:587

Restart the transport service.

Routing all mails to a smarthost with Username Authentication:

A Send Connector must already have been created and configured correctly on the Hub Transport server.
Open Exchange Management Console.
Click on the + next to Organization Configuration.
Select Hub Transport and select the 'Send Connectors' tab.
Right-click on the existing Send Connector, select 'Properties' and go to the 'Network' tab.
Select "Route mail through the following smart hosts:" and click 'Add'.
Enter mxpool1.spamgateway.comodo.com, mxpool2.spamgateway.comodo.com in the FQDN section.
Click 'Change' under the smart-host authentication.
Select 'Basic Authentication' and tick the TLS box.
Add your newly created username and password.
Click 'OK '.
The changes to the Send Connector will take effect immediately without you having to reboot the server or restart any services.

In order to change the port to 587 you will have to issue the following command in the Exchange Powershell Console:

Set-SendConnector -identity "NAME OF CONNECTOR" -Port:587

Restart  the transport service.

For more

http://www.vkernel.ro/blog/how-to-set-up-exchange-send-connectors-with-a-smart-host
John EastonDirectorCommented:
Thank you for the screen shot of your GoDaddy DNS records which you sent via EE message.

This shows your MX record to be as follows:
Priority: 10
Host: mail
Points To: mail.yourdomain
TTL: 1 hr

It also shows your A record for mail.yourdomain is pointing to a public IP address starting 92.x.x.x.  Assuming this is your IP this looks correct to me.

I think your issue is with the host field.  Having double checked with GoDaddy's support pages (as I have never hosted with them) your setup would be for mail sent to the subdomain 'mail'.  I.e. info@mail.yourdomain.  If you replace the host field with an '@' sign (without the apostrophes) this will then handle mail for info@yourdomain.

Hope this helps.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.