Hi, All
I am using with vpopmail, sqwebmail,
and I wana my email system with smtp
authorazition.
then I get http://www.nimh.org/hacks/qmail-smtpd.c
to replace the original source in qmail,
and then complie, install .....
and my auth run script is as following:
/usr/local/bin/tcpserver -H -R -l 0 -t 1 -c 100 -x/etc/tcp.smtp.cdb -u604 -g601 \ 0 smtp /var/qmail/bin/qmail-smtpd.auth /home/vpopmail/bin/vchkpw /bin/true 2>&1 \ | /var/qmail/bin/splogger smtpd 3 & 604.601 is uid.gid of qmaild
and then I set suid/sgid to vchkpw
chmod 4755 /home/vpopmail/bin/vchkpw
but I failed, qmail can work with it, why ??
who can help me??
and is there another resolvement for auth of qmail-smtp relay
???
Thx!
|