[Dovecot] live and backup auth database

Tomi Hakala tomi.hakala at pobox.fi
Wed Jan 9 17:55:03 EET 2008


John Lyons wrote:
> 
> Is there a way of setting dovecot to use two mysql authentication 
> databases, either in a live/failover format or a round robin method.

Yes, just provide as many MySQL hosts as you wish in "sql.conf"

"connect = host=mysql1 host=mysql2 dbname=mail user=dovecot .."

MySQL hosts are queried in round-robin fashion.

Tomi



More information about the dovecot mailing list