To make Postfix highly-available, you mount the configuration, queue and mailbox directories from a highly-available file store.
Then, you replace a broken Postfix server simply by mounting the configuration, queue and mailbox directories on a different server and giving that server the IP address of the broken server. Making the IMAP server highly-available goes along similar lines. Wietse