Brian Pinkney wrote:
> I beleive I patched and compiled qmail-smtp correctly with qmail-smtp-auth
> and replaced the original file with it. The way I start qmail is with
> tcpserver with the following script:
>
[snip]
>
> Also I checked the FAQ for qmail-smtp-auth and the only explanatin it
> provided was that I might want to run checkpassword as suid 'root'. I
> don't beleive this is it because checkpassword runs well for
authenticating
> my pop3 server.
Your pop3 server is probably already running with root permissions, so by
the time checkpassword is fired up, it has approval to look at your
/etc/shadow file. qmail-smtpd runs as qmaild, not root, so checkpassword
will not initially have permission to look at /etc/shadow, hence, the need
to make the program suid root.
---Kris Kelley