[Dovecot] Static list of users with passdb pam

Koen Vermeer koen at vermeer.tv
Thu Feb 7 16:58:47 EET 2008


On Thu, 2008-01-31 at 16:33 +0200, Timo Sirainen wrote:
> Either verify the user's existence in Postfix (I don't really know how,
> more of a postfix-users list question), or use something else than
> passdb pam + userdb static. There's just no way to ask from PAM if a
> user exists or not, and userdb static gives the same values for everyone
> so it can't verify users' existence either.

In that case: Is there any chance of a future user database that is like
a stripped-down passwd-file? The password field is never used for a
userdb, gecos and shell isn't used either, and the other fields are only
required if they are not fixed. Then, in the configuration file, the
uid, gid and home can be set to a fixed or default value (as can now be
done with passwd).

For now, I just fill the passwd-file like this:
[username1]::uid:gid::/path/[username1]::
[username2]::uid:gid::/path/[username2]::
which contains a lot of static data in each entry.

Best,
Koen





More information about the dovecot mailing list