Link to home
Start Free TrialLog in
Avatar of karki chhatra
karki chhatra

asked on

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.
Avatar of John Easton
John Easton
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
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?
ASKER CERTIFIED SOLUTION
Avatar of Leroy Luff
Leroy Luff
Flag of South Africa 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
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
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.