Split incomming e-mails to two different servers

Posted on 2007-10-04
Last Modified: 2013-12-16
I would like to split incoming e-mails to two different servers.

The reason is because we are installing a new server and we would like this server to recive all incoming mails for a while before we turn of the old e-mail server.

Is it possible to split the all incoming e-mails? So  Postfix will send the same mail to both the new and the old??
Question by:GMH77
    LVL 13

    Accepted Solution

    I have never done this myself, however something like this should work:

    virtual_maps = hash:/etc/postfix/virtual


    Author Comment

    Thx for answering.

    So this will make all emails delivered to company  * delivered to both serveres.
    In our case this is an Exchange 2007 and another Linux server that we want emails to be delivered to.

    It is important that all incomming emails gets delivered to both servers
    LVL 13

    Expert Comment

    After reading the documentation I believe so.  As mentioned I haven't done this myself, but yes it will take one inbound email from lets say and it is destined for

    As long as both email servers Exchange 2007 & alternative linux server are set to accept email for you shouldn't have an issue.  All incoming emails for will be sent to both mail servers.

    Your /etc/postfix/virtual file should look something like:,

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    728 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

    20 Experts available now in Live!

    Get 1:1 Help Now