On Wednesday, October 31, 2001, at 03:52 AM, [EMAIL PROTECTED] wrote:
> [Redirected from the qmailadmin list] > > On Mon, 29 Oct 2001, Bill Shupp wrote: >> 1. Apply the smtp-auth patc to qmail found here: >> http://members.elysium.pl/brush/qmail-smtpd-auth/ > [snip - instructions on how to get smtp auth working with vpopmail] > > Hi, > I just did this, and I ran into a problem. > > qmail-smtpd runs like this(uid 101 = qmaild, gid 16 = nofiles) > tcpserver -v -c100 -R -H -X -x/var/service/qmail-smtpd/tcprules.cdb > -u101 > -g16 0 smtp qmail-smtpd /home/vpopmail/bin/vchkpw Don't you need /bin/true at the end? > vpopmail is installed as vpopmail.vchkpw (89.89) > qmaild is a member of vchkpw group > > The authentication works(when bad user or password the setgid > doesn't happen), but it doesn't return properly: > Oct 31 10:42:01 munin vpopmail[2864]: vchkpw: login success > [EMAIL PROTECTED]:xxx.xxx.xxx.xxx > Oct 31 10:42:01 munin vpopmail[2864]: vchkpw: setgid 89 failed errno 1 > [EMAIL PROTECTED]:xxx.xxx.xxx.xxx smtp-auth authentications are not logged in my environment. > Not sure why it would try a setgid after authentication worked.. I've > also tried running qmail-smtpd as qmaild.qmaild, but no difference. > > Any ideas? I'd try /bin/true at the end of the start script. Regards, Bill Shupp