This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.

Password database extra fields

The primary purpose of a password database lookup is the return the password for a given user. It may however also return other fields which are treated specially:

How to return these extra fields depends on the password database you use. See the [wiki:PasswordDatabase password database] pages how to do it. Some passdbs however don't support returning them at all, such as [wiki:PasswordDatabase/PAM PAM].

The password database may also return fields prefixed with userdb_. These fields are only saved and used later as if they came from the [wiki:UserDatabase user database]'s extra fields. Typically this is done only when using [wiki:UserDatabase/Prefetch prefetch userdb].