Have you added your domain's entry in /etc/localdomains as well as in /etc/remotedomains.
In addition to this mx records should also set to point them to secondary mailserver.
Once the local mailserver fails for any reason then emails should route via secondary mail server.