On Wed, 26 Feb 2003, Sigmund Gudvangen wrote: >Yesterday I just typed in my ps fax output and looking at the response from Andreas I >realised that I had committed a typo. Sorry for wasting your time. Here is the output >from "ps faxwww > pslogfile": > 187 ? SW 0:00 [kjournald] > 188 ? SW 0:00 [kjournald] > 480 ? S 0:00 syslogd -m 0
This seems right. >It seems that all relevant processes are running? I don't know why I get >the "readproctitle service errors:" though; daemontools seems to be >working just fine with qmail. As long as readproctitle has only a bunch of dots after it, there is no error. :) >netstat shows that all relevant ports are open: >netstat -vnl >Active Internet connections (only servers) >Proto Recv-Q Send-Q Local Address Foreign Address State >tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN >tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN >tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN >tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN >Active UNIX domain sockets (only servers) >Proto RefCnt Flags Type State I-Node Path >unix 2 [ ACC ] STREAM LISTENING 1507 /dev/gpmctl Yes, that seems right too. >I tried to telnet into port 143 and I got the Welcome copyright greeting. Good. >I have tried to connect from Netscape Mailreader (v. 4.79), as it has >got an option to switch on/off SSL; under Preferences | Mailserver | >Edit | IMAP. With SSL on the mailserver iptables log shows an incoming >call on port 993 and with SSL off it shows an incoming call on port 143. >In neither case is the call accepted (the firewall lets them through); I >also get the password dialogue, with the correct host and usernames. >However, when I type in the password it immediately returns with "Login >failed". (This is without SSL.) I tested with this version of Netscape mail and it worked fine, so I'm a bit confused. >I have installed Bernstein's checkpassword and tested it as proposed on >http://cr.yp.to/checkpwd/install.html /var/qmail/bin/qmail-popup >hostname /bin/checkpassword pwd. This test succeeded, i.e. I was >authenticated. Ok. >Could it be that I need to tell bincimap about checkpassword? A link perhaps? No, the supervise run file is enough. >Also, should these files be empty? No, they shouldn't! ;) Check /var/log/messages and see if there is any output there. Also try to run "openssl s_client -connect 127.0.0.1:993" and see if you get the greeting. If you get a greeting, try the command: 1 LOGIN <username> <password> Replace <username> and <password> without the '<' and '>'. for example: 1 LOGIN jacko myp4sswd See what reply you get. Andy :-) -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | Nil desperandum

