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

Posted on 2005-04-13
Last Modified: 2010-03-18
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?
Question by:jgbauer
    LVL 4

    Accepted Solution

    by: and will do some basic testing.
    LVL 5

    Assisted Solution

    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).
    LVL 25

    Expert Comment

    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

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    731 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now