On Wed, Jan 12, 2005 at 11:31:24PM -0500, Jason 'XenoPhage' Frisvold wrote:
> First off, this is bincIMAP 1.2.11final. I've installed via RPM
> (recompiled via SRPM). Netqmail 1.0.5 with the SMTP-AUTH, TLS, and
> qmail-spp patches. Vpopmail 5.4.9, compiled with MySQL support.
>
> The long and short is this. When logging in with the correct
> username and password, the logs show this :
>
> @4000000041e5f37307772bc4 596 1 [EMAIL PROTECTED]:]
> <[EMAIL PROTECTED]> authentication failed:
> /home/vpopmail/bin/vchkpw died by signal 11
Signal 11 is SIGSEGV; Segmentation fault. This means that vchkpw is
performing an illegal memory access and gets killed by the kernel.
I'm not sure why this would happen. :(
The largest difference between the two execution environments you
tested (regular shell vs. via bincimap-up) is probably the resource
limits set by the softlimit call in the default run file that comes
with Binc. Perhaps have a look at the values in there?
Other than that, I suggest running vchkpw under strace in the run
file, e.g. change the vchkpw line from
/path/to/vpopmail/bin/vchkpw \
to
strace -s 256 -o /tmp/vchkpw.out /path/to/vpopmail/bin/vchkpw \
and restart the tcpserver process, connect and try to log in, and
then send /tmp/vchkpw.out to the list if you can't find anything
obvious in it yourself. (Note, the file will contain your password.)
//Peter