• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

MX Records and RDNS lookups

I am moving my company email over to MS Online. Most of the process is already done except moving my MX records to MS Online. Right now my email comes into my exchange server and then forwards to MS Online. Once I change the MX records, I want to make sure that I can still use my current mail server for SMTP relay without the outgoing mail failing RDNS lookups. Does anyone know what DNS entries I need to make so that both mail servers can send out email, but I only want MS Online to receive mail.


Thanks!
0
baselhamad
Asked:
baselhamad
1 Solution
 
Gerald26Commented:
Just change your domain MX to MS Online Mail servers.
Your server will always be allowed to send mail and resolve recipients MX by itself, as long as it respects RFC 822 security and uses a public dns server (or there must be a forwarder on your internal DNS servers so your mail server can resolve external MX)
Keep a valid reverse DNS and FQDN to your public IP in your company DNS Zone , there will be no problem to relay mails using your server without jumping on MSOnline ones.



regards,

Gerald
0
 
PapertripCommented:
Aside from MX records and what Gerald said, you should create an SPF record for your domain and put the sending IP's of your server(s) and MS Online server(s).
0
 
baselhamadAuthor Commented:
I am not sure of the syntex of setting up an SPF record. Can anyone point me in the right direction?
0
 
PapertripCommented:
You add a TXT record to yourdomain.com which lists the IP's that are allowed to send mail for yourdomain.com

Here is a very simple example:
"v=spf1 ip4:206.125.149.108/29 ~all"

Open in new window

or
"v=spf1 ip4:206.125.149.108 ip4:206.125.149.109 ~all"

Open in new window


There is a lot of info out there on SPF record syntax, however there are best practices that should be followed, and not a lot of people understand those well.  I, on the other hand, understand it all very well :)  Things like using 'a' 'mx' and 'ptr' mechanisms when they are not needed, and overall syntax issues are common.

First I would contact MS Online to get their sending IP's, you can probably find it in a FAQ on their site.  Then get your IP, do some research on SPF records, and then paste your record here and I will review it and give any pointers, sound good?

0
 
SteveCommented:
if you dont already have an SPF record you wont be affected by changing the MX record to the MS online address.
Keep your rDNS entry in place and consider checking if you can add one to the MSoffice address you have been given, as their system will send mail and may need the rDNS entry for it ot be accepted.

if you have an SPF record, ensure that both the MSoffice server and your own server are listed.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now