On Thu, November 25, 2004 1:33 pm, Erwin Hoffmann said:
> with the standard SMTP-Auth patch (I don't know which is included in your
> Gentoo patch) you don't need the hostname in the call of the PAM.
> Check "man qmail-smtpd" and read my
> http://www.fehcom.de/qmail/smtpauth.html

Heavy reading..poked around a bit more, but...

* The run file has not changed since it was working.
* The run file works if I replace vchkpw with checkpassword.

So...I'm going to assume, rather than spending too much time looking at
all the patches Gentoo applies, that the run file is acceptable.  It's not
the same as the standard one I applied to my own build before, as it only
works after STARTTLS and some other things...  Especially with the
indication that it's a permissions problem (as it was in the case of

I found that when I execute the following as the qmaild user:
printf "[EMAIL PROTECTED]" | /var/vpopmail/bin/vchkpw
/bin/id 3<&0

With the binary owned by root and not SUID, I get no response.
With the binary owned by vpopmail and SUID, I get no response.
With the binary owned by root and SUID, I get:
uid=89(vpopmail) gid=89(vpopmail) groups=200(nofiles)

I still haven't got smtp auth working with vchkpw yet, though...

Casey Allen Shobe

Reply via email to