Solved

Configure outgoing mail direct via dns

Posted on 2007-11-14
4
786 Views
Last Modified: 2009-01-12
I am running exchange 2003.  Recently we've been having problems with outgoing mail queing up and not leaving the building.  I spoke to my ISP who said to configure exchange to send the email directly out using DNS rather than using "mailhost.isp.com"

How do i make this change??

The exchange server is on a private network 192.168.2.xxx  we use a NAT router for incoming outgoing traffic.
0
Comment
Question by:JCSUK
  • 2
4 Comments
 
LVL 22

Expert Comment

by:kristinaw
Comment Utility
check under your routing groups and see if you have a connector there that has an entry of mailhost.isp.com, or it's ip address. if so, check the radio button above it 'use dns'. the other place to look is directly on the smtp virtual server, delivery tab, advanced. removed the smarthost entry. restart exchange services.

kris.
0
 
LVL 19

Accepted Solution

by:
feptias earned 500 total points
Comment Utility
There is something else you should be aware of. If your Exchange server starts sending emails directly out then you should also check that the public DNS for your mail server is correct, otherwise it will look like a spamming server and it is quite likely that some of the mail you try to send will be rejected.

The DNS records you need are something like this (remember this is the DNS for your domain on the Internet, not the internal DNS that is used by Active Directory and usually runs on the Domain Controller):
Host (A)    mailsvr1.mydomain.com    <external IP address of your NAT router>
PTR (rDNS)   <external IP address of your NAT router>   mailsvr1.mydomain.com

Then make sure your Exchange server is announcing itself as mailsvr1.mydomain.com. This is on the same form as the Smarthost entry mentioned above: SMTP Virtual Server Properties->Delivery tab->Advanced button. It is the box called "Fully qualified domain name". (I used the name mailsvr1, but you can use whatever name you want or perhaps you already have a name on an existing Host A record).

The Host (A) record is probably located on the DNS servers run by the company that your domain name is registered with. Often they provide a web control panel for making changes to your DNS. However, the PTR record is located on the DNS servers operated by your ISP. You will have to contact their tech support department and ask them to add a Reverse DNS entry for your mail server - they should know exactly what you are talking about because it is a very common request.
0
 

Author Comment

by:JCSUK
Comment Utility
Hi sorry for taking so long to reply.
ok i've checked my A record which points to the IP of my NAT router but looking at my PTR record which should be set to my email servers domain name it appears to be set to my ISP?? ( I starred out some of my IP address info)

***.**.68.82.in-addr.arpa 82-68-**-***.dsl.in-addr.zen.co.uk. [TTL=86400]
64.8.23.***.in-addr.arpa bastion04.mail.zen.co.uk. [TTL=14400]

So looking at this can i assume i need to call my ISP and change the PTR record?

Thanks
0
 
LVL 19

Expert Comment

by:feptias
Comment Utility
Your ISP should be able to fix this for you. They "own" the IP address so they are the ones that have to configure the PTR record on their name servers. It is a very common request for users who have a static IP address - they should have no trouble understanding and implementing your request.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
To show how to generate a certificate request 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 >> Certificates…
how to add IIS SMTP to handle application/Scanner relays into office 365.

772 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

16 Experts available now in Live!

Get 1:1 Help Now