Hi!

satish patel said the following, On Tuesday 12 September 2006 09:16 PM:
Dear

i have facing some problem i want to configure Qmail + ldap with squirrel mail now problem is my squirrel unable to login user ...it is ldap user

i got some error on

/var/qmail/log/qmail-imapd/current

@400000004506d427313e5c84 tcpserver: warning: dropping connection, unable to run /usr/local/sbin/imaplogin: file does not exist
@400000004506d427313e683c tcpserver: end 13678 status 28416
@400000004506d427313e6c24 tcpserver: status: 0/40



this red color line ....is problem what is it ????


It might be problem with your courier run script. Check below courier run script, I have used tpcsvd.

------------------------------------------------------------------------
XXX:~# cat /var/service/courier-imapd/run
#!/bin/sh

export IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"
export DEBUGLEVEL="32"

exec tcpsvd -v -l 0 0 143 /usr/lib/courier/courier/imaplogin \
        /var/qmail/bin/auth_imap /usr/bin/imapd Maildir 2>&1

------------------------------------------------------------------------

After successful running IMAP server, you can check your IMAP Seerver + Authentication is working fine by using telnet. Check below conversation with IMAP server using telnet.

------------------------------------------------------------------------
[EMAIL PROTECTED]:~$ telnet 192.168.0.5 143
              ----------------------
Trying 192.168.0.5...
Connected to 192.168.0.5.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.
10 LOGIN hardik hardik
----------------------
10 OK LOGIN Ok.
30 LOGOUT
--------
* BYE Courier-IMAP server shutting down
30 OK LOGOUT completed
Connection closed by foreign host.
[EMAIL PROTECTED]:~$
-----------------------------------------------------------------------------

--
Hardik Dalwadi
SysAdmin, NIF.





Reply via email to