30 Aug
2022
30 Aug
'22
11:18 a.m.
On 30. Aug 2022, at 5.13, Jack Snodgrass jack@mylinuxguy.net wrote:
I am using this file:
dovecot-sql.conf.ext
and in there I have a
connect = "host=<dbserver> dbname=<dbname> user=<dbuser> password=<dbpass>"
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?
Use haproxy.
Sami