Solved

Sending email to test environment

Posted on 2011-03-01
4
553 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Expert Comment

by:Praveen Balan
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:
Praveen Balan 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
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
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

730 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