> On 26/06/2026 16:58 EEST Евгений via dovecot <[email protected]> wrote:
> 
>  
> Hello everyone!
> 
>    In version 2.3.21, I used two databases where each passdb queried its own
>    database. After upgrading to 2.4.4, I cannot figure out how to restore
>    this functionality. Is it no longer possible to use two databases in a
>    single configuration after upgrade?
> 
>    Thank you for the best MDA!

Yes, it's possible. mysql as example, but works similarly with other databases.

mysql localhost {
  user = foo
  password = bar
}

passdb users-db1 {
  driver = sql
  mysql_dbname = db1
  sql_query = SELECT ...
}

passdb users-db2 {
  driver = sql
  mysql_dbname = db2
  sql_query = SELECT ...
}

Aki

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to