Thanks for your reply:

> >   When I connect POP daemon, tcpserver + qmail-pop3d, authentication is
;
> >   Does anyone have an idea?
; 
> First of all auth_pop has successfully authenticated your user and the
> last "+OK" is from qmail-pop3d.
;
> What version of qmail-ldap are you using?
> Any additional patches?

  Sorry that I forgot to show my environment:

OS : Redhat Linux 6.2J
MTA : qmail-1.03
      patch -> qmail-ldap-1.03-20010501.patch
               qmail-103.patch
               qmail-date-localtime.patch


  And I had tried another test, which is following:

---------------------------------------------------------------------
[root@cosmos bin]# env USER=ueda MAILDIR=/var/qmail/maildirs/ueda/Maildir HOME=/
var/qmail/maildirs/ueda /var/qmail/bin/qmail-pop3d Maildir
+OK
list
+OK
1 302
.
quit
+OK
[root@cosmos bin]#
---------------------------------------------------------------------

  From this test, I think qmail-pop3d works well with correct
environment variable(s), but when invoked from auth_pop with execvp(),
qmail-pop3d dies.

  I cannot understand what is different between execed from command line
and execed from auth_pop(with execvp()).


  Thanks for your attention.

-----
UEDA Hiroyuki <[EMAIL PROTECTED]>
Net Forest Inc., JAPAN

Reply via email to