<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 30. Aug 2022, at 5.13, Jack Snodgrass <<a href="mailto:jack@mylinuxguy.net" class="">jack@mylinuxguy.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" class="">
<div class=""><p class=""><br class="">
</p><p class="">I am using this file: <br class="">
</p><p class="">dovecot-sql.conf.ext</p><p class="">and in there I have a <br class="">
</p><p class="">connect = "host=<dbserver> dbname=<dbname>
user=<dbuser> password=<dbpass>"</p><p class=""><br class="">
</p><p class="">My <dbserver> was down and I lost mail access for a few
days before I realized that there was an issue. How can I specify
a backup server so that if my primary sql server goes down, a
backup sql server will be queried?<br class="">
</p></div></div></blockquote><br class=""></div><div>Use haproxy.</div><div><br class=""></div><div>Sami</div><div><br class=""></div><br class=""></body></html>