hi all it is possible to use a mirror of ISPConfig a backup mail server. if the master goes offline, I want the mirror to the mail store, and when the master comes back online that he receives mail from the mirror. I would like to use this dns record Priority: 10, Host: @, server1.maindomain.tld Priority: 20, Host: @, server2.maindomain.tld hope someone knows more about michael
You can do this with postfix transports by setting a transport on the second server that forwards the emails to the first server. But I would use a different setup where you use a cluster filesystem for /var/vmail so that all emails are accessible from both server and the mirroring function in ispconfig to mirror the configuration and accounts. So you can use the second server as well for imap and pop3 while the first server is down and the cluster filesystem replicates all emails and changes between the servers when the first server is up again.