Static Password DatabaseΒΆ

Static password database is typically used only for testing, proxying setups and perhaps some other special kind of setups. Static passdb allows all users to log in with any username. For password you return either:

  • password=secret: All users have secret as password.
  • nopassword: Users can log in with any password.

You can return any other Password database extra fields. You can use the standard variables everywhere.

Example:

Using Dovecot Director

passdb {
  driver = static
  args = nopassword=y
  default_fields = proxy=y host=127.0.0.1
}