Downloaded, installed setup (tcpserver & multilog) and all working except authentication, of which I'm using a custom (perl based) checkpasswd which works with both qmail and vmailmgr.
For all following info (including the strace), my password is replaced by 'mypasswdhere'.
It seems a bit odd -- my login attempt says this:
[EMAIL PROTECTED] bincimap]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Welcome to Binc IMAP Copyright (C) 2002-2004 Andreas Aardal Hanssen at 2005-02-02 10:52:03 EST
1 LOGIN z mypasswdhere
* BYE The server died unexpectedly. Please contact your system administrator for more information.
Connection closed by foreign host.
..... but as the logs keep saying this:
2005-02-02 10:28:49.520161500 17480 0 [EMAIL PROTECTED]:] connection from 127.0.0.1
2005-02-02 10:28:53.756955500 17480 1 [EMAIL PROTECTED]:] <z> authentication failed: server returned 111 (internal error)
2005-02-02 10:28:53.756962500 17480 2 [EMAIL PROTECTED]:] shutting down - read:20 bytes, wrote:252 bytes.
..... but the (hopefully relevant) portion of strace shows that it did in fact authenticate successfully:
8910 write(5, "port 143 login successful UID 65"..., 57) = -1 EBADF (Bad file descriptor)
8910 close(5) = 0
8910 chdir("/home/vv30/55/z") = 0
8910 setgroups32(0x1, 0xbffff270) = 0
8910 setregid32(0xffffffff, 0x64) = 0
8910 getegid32() = 100
8910 setregid32(0x64, 0xffffffff) = 0
8910 getgid32() = 100
8910 setresuid32(0xffffffff, 0xff98, 0xffffffff) = 0
8910 geteuid32() = 65432
8910 setreuid32(0xff98, 0xffffffff) = 0
8910 getuid32() = 65432
8910 getpid() = 8910
=-=-=-=-=
I (of course) googled & searched the archives. I'm running BincIMAP 1.2.11; netqmail 1.05 with a *few* extra patches; vmailmgr version <mumble> -- I can look that one up if necessary.
Of course, I realize this may not be near enough information, so I have put my custom zchkpasswd.pl here, the full strace (90K ish) and a tail of the logs, my run script & my bincimap.conf files here:
http://www.30below.com/~zmerch/qmail/bincimap/
=-=-=-=-=
I also tried setting the config to both: jail user = "qmaill", ==> and "root" jail group = "nofiles" ==> and "root"
[[ and the /var/qmail/bincimap directory is owned by qmaill:nofiles ]]
path = "Maildir", ==> also "." (per a webpage I found WRT 1.2.7-final)
and the server output & logs are unchanged.
I'm not sure what else it could be, so thanks in advance for any help at all -- and if there's any testing or other info y'all need, please feel free to ask!
Thanks! Roger "Merch" Merchberger
-- Roger "Merch" Merchberger -- SysAdmin, Iceberg Computers [EMAIL PROTECTED]
What do you do when Life gives you lemons, and you don't *like* lemonade?????????????
