Solved

Sending email to test environment

Posted on 2011-03-01
4
551 Views
Last Modified: 2012-06-22
Hi All,

I have a live network which is running a 2k3 and 2k7 exchange with external internet access. I am wanting to demote and uninstall 2k3 exchange. So i have created a test environement which is exact replica to the real one including ip address. With the exception of the external ip address which has change. how can i send an email to my test environment from external with the mx record still pointing to my live system. I have telnet to port 25 on my test setup but i need final verification that the changes i have done have worked. Can anyone suggest anything.

Many thanks in advanced
0
Comment
Question by:ncomper
  • 2
4 Comments
 
LVL 7

Expert Comment

by:PraveenBalan
ID: 35007648
You will have to use a dummy domain.

register A to point your test exchange gateway and corresponding MX record for your dummy domain(Demoteyourdomain.com) and do the testing. And register required records in case if you want send out emails from test setup(for e.g. PTR).

Because If you point the original MX record to the test setup, you will lose email.

-Praveen
0
 
LVL 2

Expert Comment

by:8ubterfug3
ID: 35007850
Depending on the level of testing you wish to carry out you may be able to get away with using telnet remotely to send test emails to your server without the need for a dummy domain or MX record.

From outside of your network open a command prompt on a PC and type...
telnet <ip address of test front end exchange server> 25
HELO sender_domain_name
MAIL FROM:you@hostname.com (ie, your email address)
RCPT TO:them@yourdomain.com (an email address on your test environment)
DATA
You type your message then hit enter, type a period on a line by itself, then hit enter
QUIT

This will only work if you do not check for valid SPF records since the remote server probably won't be an email server for another organization.
0
 
LVL 5

Author Comment

by:ncomper
ID: 35009457
8ubterfug3 - Thanks for reply, we have managed to test email from the system out but not back in because it will resolve back to live network.

PraveenBalan - I think this is what we need to do but can you explain in more detail please
0
 
LVL 7

Accepted Solution

by:
PraveenBalan earned 500 total points
ID: 35014950
lets assume that your dummy domain is demoteexchange.com

1. Configure the environment to accept and send emails from demoteexchange.com
2. Verify the email flow internally by sending test messages, and configuring the clients if needed.

Once you have confirmed that everything is working fine in your LAN, go for the public DNS registration.

1. Register your dummydomain in Public DNS(you may have to talk to your domain registration team).

2. If you manage your public DNS, have the following entries created.
Host A record for your sending/receiving gateway for the dummy exchange setup(i assume you use same server for sending and recieving, if not modify the steps accordingly).

mail.demoteexchange.com            A      XXXXX (where XXXXX is your public NAT ip of gateway)

Create MX record pointing the newly created Host A record.

demoteexchange.com      MX      preference:10  exchange:mail.demoteexchange.com
Note - the DNS team will understand it correctly.

3. If you plan to send out email, contact the ISP to have the spf and reverse DNS record created for the public IP corresponding to your dummy domain name.

Ideally the above should allow you to do the testing..

-Praveen
      



       
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you don't know how to downgrade, my instructions below should be helpful.
Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

773 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