[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

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

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?

Thanks for any help,
Ole Gjerde

Reply via email to