> Hello everybody,
>
>   Currently I have a qmail, courier-imap, and vpopmail (mysql) setup
> going (running under Gentoo on Xen) and I am having problems.  Please
> excuse me if this turns out to not be a vpopmail issue, but at this
> point I believe that it is.  I can't receive mail to my domain users
> just fine, however nobody can smtp-auth to send mail out.  The
> following is what is showing up in my logs.  Any help would be greatly
> appreciated.  Thanks.
>
> Mar 16 04:43:20 zues vpopmail[19467]: vchkpw-smtp: (PLAIN) login
> success [EMAIL PROTECTED]:211.168.233.97
> Mar 16 04:43:20 zues vpopmail[19467]: vchkpw-smtp: null user name
> given :211.168.233.97
>
>
> If it help the "guide" I have been using to try and get this setup
> going is located at the following URI
> http://forums.gentoo.org/viewtopic-t-382072.html
>

I have almost the same scenario here, running qmail, vpopmail courier under
XEN, but compiling from sources and not using from packages. And its on
Debian Etch, kernel 2.6.18-xen.

More strange, after install "make install-strip" and configure
courier-authlib to use authvchkpw, any user can login into POP and IMAP
services, but login not working with smtp-auth.

I simple do:

tar xzf vpopmail-5.4.25.tar.gz
cd vpopmail-5.4.25.tar.gz
./configure --enable-maildrop --enable-auth-module=mysql
--enable-mysql-limits --enable-valias --enable-qmail-ext
--enable-onchange-script --enable-incdir=/usr/include/mysql
--enable-libdir=/usr/lib/mysql

and...
[EMAIL PROTECTED]:/extra/src/vpopmail/vpopmail-5.4.25# ./vchkpw
Segmentation fault

I think is a vchkpw problem, as you can see, it's segfault.


[EMAIL PROTECTED]:/extra/src/vpopmail/vpopmail-5.4.25# gdb --quiet ./vchkpw
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /extra/src/vpopmail/vpopmail-5.4.25/vchkpw
[Thread debugging using libthread_db enabled]
[New Thread 47210544857744 (LWP 29940)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47210544857744 (LWP 29940)]
0x00002af00f501349 in strstr () from /lib/libc.so.6
(gdb)


[EMAIL PROTECTED]:/extra/src/vpopmail/vpopmail-5.4.25# strace ./vchkpw
execve("./vchkpw", ["./vchkpw"], [/* 19 vars */]) = 0
brk(0)                                  = 0x61b000
...
(QUOTE)
...
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 29951 detached


My system is: uname -a
Linux devel 2.6.18-xen #1 SMP Mon Dec 3 18:30:06 BRST 2007 x86_64 GNU/Linux

I got the same problem on x86_32 too. Always inside a PVM of XEN, out of
XEN, vchkpw works fine.

I do a workarround with my patched qmail (AUTH_CDB patch) from JMS qmail
patch, onchance script maintain a /var/qmail/control/auth.cdb in sync with
vpopmail user db, so I can login via smtp-auth with AUTH_CDB qmail patch.

But I'd like to see vchkpw working fine inside a virtual machine...   :)

Regards,
Thiago Martins


!DSPAM:475b362632001244519970!

Reply via email to