[tpop3d-discuss] APOP from flat files

Paul Makepeace Paul.Makepeace at realprogrammers.com
Tue, 4 Feb 2003 20:29:17 +0000

Perhaps I'm being dense, but is this possible? Are people only using
APOP with MySQL/perl/other?


I was thinking of patching out fgetpwent() from auth_flatfile.c so that
it a) wouldn't require redundant trailing :::: [which confused the hell
out of me the first time I used this] b) could allow the
{scheme}password technique instead.

It's been a while since I paid much attention to the source so perhaps
better ideas might be out there...

This line of enquiry is mostly motivated by a friend moving from
qpopper, which uses gdbm for its auth db. It did occur to use auth-perl
but not everyone wants to link against a perl binary... I must admit, I
quite like the idea of using some form of DBM file, e.g. GDBM or CDB
*without* having to pull in perl or exec something. I know there's a
move toward not proliferating a million-and-one auth drivers but I
imagine this might be quite small. Any thoughts?


Paul Makepeace ....................................... http://paulm.com/

"What is that peculiar smell? Don't know. Must be the drugs."
   -- http://paulm.com/toys/surrealism/