Link to home
Start Free TrialLog in
Avatar of detox1978
detox1978Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Change MX record

Hi,

We recently bought a company and are looking to move their mail gateway to our firewall (theirs lets loads of spam through).

Curently their MX record is

mailgateway.company1.com       1.1.1.1

and we have

mailgateway.company2.com       2.2.2.2

If I update their MX record to be identical to our will trip any spam flag etc...
SOLUTION
Avatar of Kimputer
Kimputer

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
Please be careful with updating the MX.
Do test this on a weekend/holiday where not so many people are depend on their email!

I strongly recommend a well planed and timely executed mailsystem move from company1 to company2. This process is highly depended on the mail systems you use and the number of mailboxes to move. Exchange offers may ways to do this.
Changing the MX for a domain is the last step you take after everything is well tested.

That said and to answer the question:
you can change the MX of course. It will not trip any spam, since only the server which handles incoming mail changes. You would set the MX of company1.com to mailgateway.company2.com. Be careful and check for possible SPF records and do not forget to change them as well!

But your mailgateway.company2.com needs to be able to handle company1.com:
- you need to configure the relay domain company1.com in your mailsystem  mailgateway.company2.com as well as all the mail boxes for compnay1 of course;
- If you have a static internal connection to the company1.com in your company2.com, then you can also create a forwarder to your old mail server for this domain; this way you would not have to move mailboxes.

If you do a firewall based spam filtering the best way with the smalest impact would be to use a free pubic IP from your company2.com as new mail ip for company1.com and then use a NAT port forward on your firewall in comany2 to mailgateway.company1.com (through your site to site VPN, if your comanys are not in the same place).

I highly recommend a well planed timely executed mailsystem move from company1 to company2. This process is highly depended on the mail systems you use and the number of mailboxes to move. There, chaning the MX for a domain is the last in many steps.
SOLUTION
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
Avatar of detox1978

ASKER

Thanks for the feedback.

We are using IBM Notes, so I know the email server and mail gateway will accept the emails for both email domains.

I was unsure if there would be any issues sending mail if the domain name did not matching the MX record domain (i.e. company1.com will have an mx record of mailgate.company2.com).

We are looking to make the change on Tuesday.

The TTL is 60 minutes.  Does this mean once I make the change everyone will have the updated details within 60 minutes?
ASKER CERTIFIED SOLUTION
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
UPdated the MX record of company1 to company2 and everything worked with any hitches.

Many thanks.