Hei sveis Morten, :-) On Tue, 25 Nov 2003, Morten Grunnet Buhl wrote: >when I do a telnet 10.0.0.5 143 an try to log in this happens >* OK Welcome to Binc IMAP v1.2.3 (c) Copyright 2002, 2003 Andreas Aardal >* Hanssen at 2003-11-25 16:01:44 CET >1 LOGIN >* BAD Syntax error: Expected userid after LOGIN SPACE >1 LOGIN user >* BAD Syntax error: Expected SPACE after LOGIN SPACE userid >1 LOGIN user passwd
At this point, the checkpassword stub is called. So this fails somehow, but I was hoping for more output from the stub in the logs. I'm guessing that the stub returns 0 as if everything went okay, while it actually didn't manage to execute bincimapd. >Connection closed by foreign host. >As you can see it works fine with error checking my syntax. Only when the >syntax is correct is closes the connection with this log >... >32435 1 [EMAIL PROTECTED]:] Unprivileged stub shutting down - read:0 >bytes, wrote:0 bytes. Could you try an strace? Try connecting to bincimap-up's pid when you've connected with telnet (strace -s 128 -f -p <pid>). Note the -f argument to follow bincimapd. See if the dump shows anything useful (typically the last lines before the crash). I can't say I know what's wrong, but the dump will contain some clues. If you can't figure it out, you can post the dump to this list and we'll see if it makes any sense. :-) You can also try some debug output from the stub if you have access to its sources. >I have searched the archives with no luck. Yes, we haven't seen this before. >I can pop3 fine with a slightly modified version of the run script >supplied with qmail-ldap. How did you modify it? Andy :-) -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | "It is better not to do something http://www.bincimap.org/ | than to do it poorly."
