!include /etc/dovecot/dovecot-sql.conf.ext

# Dovecot 2.4 removed the checkpassword passdb driver.
# Primary + app-password verification is done by a Lua passdb that shells to
# limristem's Python helper (same argon2id logic as the old checkpassword).
# User attributes (home/uid/quota) still come from SQL userdb.

passdb limristem {
  driver = lua
  lua_file = /etc/dovecot/limristem-auth-passdb.lua
}

userdb sql {
  driver = sql
}
