Clemens Hermann" <[EMAIL PROTECTED]> writes:

  > how can I use a password database instead of a textfile to authenticate
  > pop-users in qmail?


Easy. Make a C library that implements getpwnam() such that it looks
up users in a Berkeley DB or GDBM database, then link the library
into the stock checkpassword. No need to switch software or change any
existing source code.


  > Now my question: how many users can be kept within a text passord
  > file until it gets slow?


In my experience, about 10000 but it probably varies. I ran into that
limit a few years back and made a C library package as described above
that I can probably make available if you like.

Today, my server has roughly one million mail accounts and my current
password authentication scheme is a bit more sophisticated,
but that's another story.

-- 
Gjermund Sorseth

Reply via email to