Setting up a backup mail server, and I cannot figure out a to test it without bringing anything down.

I have a backup mail server which I am configuring, and I think I have it all configured the problem is I can't test this setup without bringing down our primary mail server.  Is there a way, like a host file for sendmail on a test email server that I can configure to simulate a primary mail server down situation, or should I approach this a different way?
Who is Participating?
bobgunzelConnect With a Mentor Commented: and will do some basic testing.
ChireruConnect With a Mentor Commented:
Run a telnet to the secondary server like so:

<=type, >=recieve from server

< telnet 25
< helo
>250 helo
< mail from:
>250 OK
< rcpt to:
>250 OK
< data
>354 begin
<Subject: This is a test
<If this is set up properly, the headers of this email should read "received from [your IP], received from secondary mx, then delievered by the primary mx."

Try it using an email address on the secondary, then try it again using an email somewhere else that you can check (it should DENY the message to a non-yourdomain address).
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:
Split: bobgunzel & Chireru

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

EE Cleanup Volunteer
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.

All Courses

From novice to tech pro — start learning today.