help relaying mail with two servers with postfix virtual domains/mysql configuration

Discussion in 'Server Operation' started by garbagedigger, May 6, 2008.

  1. garbagedigger

    garbagedigger New Member

    I followed the: virtual-users-and-domains-postfix-courier-mysql-fedora8
    on two servers and it worked great!

    Each virtual domain, for the purpose of receiving mail, has its own A x.x.x.x record and mx record pointing to each mail server.

    Here is an example:
    email.example.com. A x.x.x.x
    email2.example.com. A x.x.x.x

    example.com. MX 0 email.example.com.
    example.com. MX 10 email2.example.com.


    I have it so there is a primary and secondary mail server. Mail works great except I only like to connect to one server to get my mail :p. So how do I tell the secondary mail server to relay all of its messages to the primary based on the postfix/mysql configuration I currently have on both servers?

    Are there any good resources on this or does anyone have any advice?

    Thanks!
     
    Last edited: May 6, 2008
  2. falko

    falko Super Moderator Howtoforge Staff

Share This Page