I'm trying to use an existing virtual user database instead of the users
in /etc/passwd, I got the script to create .qmail files and Maildirs, I
just can't get the pop login thing to work.  Is there a plain English
description of what/how checkpassword does?  How about what qmail-popup
spits out and what qmail-pop3d wants to see?

>From the man page:
"The information supplied on descriptor 3 is a login name terminated by
\0, a password terminated by \0, a timestamp terminated  by  \0,  and
possibly more data."

All I can retrieve from argv is "/var/qmail/bin/qmail-pop3d" and
"Maildir", there is nothing else there.  

"If the password is acceptable, checkpassword uses execvp to run
subprogram with the given arguments."  execvp isn't referenced in the
K&R book, what's it all about?

As to the flame war - if you need warning labels and RPMs to install
software, maybe you should do something else for a living (I'm seriously
considering truck-driver school).  If you think qmail is a bitch to deal
with, you really ought to try sendmail as a tarball.  I'm sure as hell
no guru, but a plain vanilla qmail installation is a lot easier to get
running than sendmail could ever hope to be.  Qmail took 4 hours out of
my life to install and configure on an $80 486 box (so much for the
"can't afford a test machine" argument).  It's happily delivering mail
for 8 domains now, and it freed up a pentium box for harder work.  The
docs for the add-ons and mods are cryptic and written in pure
geek-speak, but then, look at "sendmail.cf" - now there's a real treat.

Reply via email to