On Thu, 7 Oct 2004, B Bolinder wrote: >I am trying to get Binc 1.2.10final to work with qmail/vpopmail on >Mandrake 10.0. Everything is installed and qmail/vpopmail is delivering >into Maildir. I compiled Binc with ssl-support, but for the time being I >am trying to get it working without ssl. Hence, in the Authentication >section of "bincimap.conf" I have set "allow plain auth in nonssl = "yes" >and disable starttls = "no". Binc is up and running, but I get some >errors that I am not sure about: ps aux | grep imap yields:
Okay, let's see here... >root 1843 0.0 0.0 1424 236 ? S 01:22 0:00 readproctitle service >errors: ...incimap: file does not exist?multilog: fatal: unable to open directory >/opt/binc/var/log/bincimap-ssl: file does not exist?multilog: fatal: unable to open >directory /opt/binc/var/log/bincimap: file does not exist?multilog: fatal: unable to >open directory /opt/binc/var/log/bincimap-ssl: file does not exist?multilog: fatal: >unable to open directory /opt/binc/var/log/bincimap: file does not exist? I guess these are old messages; since I can see you are running multilog, and multilog wouldn't start if those directories were missing. >root 1848 0.0 0.0 1432 284 ? S 01:22 0:00 supervise imap >root 1862 0.0 0.0 1432 284 ? S 01:22 0:00 supervise imaps >root 3214 0.0 0.0 1456 304 ? S 01:33 0:00 tcpserver -c 100 -u 0 >-g 0 -l localhost -HDRP 0 143 /opt/binc/bin/bincimap-up --logtype=multilog >--conf=/opt/binc/etc/bincimap.conf -- /bin/checkpassword /opt/binc/bin/bincimapd >root 3219 0.0 0.0 1456 292 ? S 01:33 0:00 tcpserver -c 100 -u 0 >-g 0 -l localhost -HDRP 0 993 /opt/binc/bin/bincimap-up --logtype=multilog >--conf=/opt/binc/etc/bincimap.conf --ssl -- /bin/checkpassword /opt/binc/bin/bincimapd These show that Binc is running properly. >root 3467 0.0 0.0 1444 272 ? S 01:35 0:00 multilog t n5 s1048576 >/opt/binc/var/log/bincimap-ssl >root 3468 0.0 0.0 1444 276 ? S 01:35 0:00 multilog t n5 s1048576 >/opt/binc/var/log/bincimap >root 3623 0.0 0.2 2448 1084 pts0 T 01:57 0:00 vi etc/bincimap.conf >root 3659 0.0 0.1 2132 788 pts0 R 02:06 0:00 grep imap And these show that you're editing bincimap.conf ;-). Hehe. >Also, I am not able to connect from KMail 1.6.1 (running on another machine), but get >an "AUTHENTICATION FAILED" message and the logfile, i.e. >/opt/binc/var/log/bincimap/current contains: >@400000004165d84634fa6e6c 3628 1 [EMAIL PROTECTED]:] shutting down (client >disconnected) - read:28 bytes, wrote:319 bytes. >@400000004165d8620bbcf77c 3626 2 [EMAIL PROTECTED]:] shutting down (client >disconnected) - read:80 bytes, wrote:505 bytes. >@400000004165d8680440208c 3629 0 [EMAIL PROTECTED]:] connection from 10.0.0.3 >@400000004165d8680485a954 3629 1 [EMAIL PROTECTED]:] [auth module] invocation of >/bin/checkpassword failed: No such file or directory Oh, looky here. It seems you are missing /bin/checkpassword. You should visit cr.yp.to and download, compile and install checkpassword, or download and install one of the rpms from http://www.qmail.org/rpms/qmail-addons/. If you try to compile checkpassword and it fails, run this: perl -pi -e 's/extern int errno;/#include <errno.h>/;' error.h (Why doesn't the author DjB update his tools with this fix?) >while /opt/binc/var/log/bincimap-ssl/current is empty. This file will only get data in it if you connect to port 993, but you're experimenting with plain text port 143. >I am rather new to this, so any suggestions for what could be wrong are >most welcome. I'm sure you'll get it working after installing checkpassword. Andreas :-) -- 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."
