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 . 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!
Take a look here: http://www.howtoforge.com/postfix_backup_mx But I haven't tested this with the virtual setup.