[vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Manuzhai
Paul Oehler wrote: I believe I've seen this happen when the vpopmail/vchkpw user/group ids are incorrect - that is, they don't match the value specified in the assign file. Well, this looks maybe kind of off: enrai users # cd /var/vpopmail/bin/ enrai bin # ls -l total 1504 -rwx--x--x 1 root

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Rainer Duffner
Manuzhai wrote: Paul Oehler wrote: I believe I've seen this happen when the vpopmail/vchkpw user/group ids are incorrect - that is, they don't match the value specified in the assign file. Well, this looks maybe kind of off: enrai users # cd /var/vpopmail/bin/ enrai bin # ls -l total 1504

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Boris Pavlov
Bill Gradwohl wrote: I had this problem a few weeks ago on a Fedora Core 4 system, and it turned out to be a problem somewhere in the kernel or support libraries. I reported it and it was resolved when a new kernel build came out. can you post here some more info - it will not be fedora, but

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Bill Gradwohl
On Thu, 2006-06-15 at 12:54 +0300, Boris Pavlov wrote: can you post here some more info - it will not be fedora, but if this is a kernel problem it can catch all of the distros. My report : https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=191543 got rolled up into another existing error

Re: [vchkpw] CHKUSER for non-netqmail, non-stock-qmail

2006-06-15 Thread tonix (Antonio Nati)
Cut away all these lines: if (relayclient) { --addr.len; if (!stralloc_cats(addr,relayclient)) die_nomem(); if (!stralloc_0(addr)) die_nomem(); } else #ifndef TLS if (!addrallowed()) { err_nogateway(); return; } #else if (!addrallowed()) { if (ssl) { STACK_OF(X509_NAME) *sk; X509

[vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Manuzhai
Rainer Duffner wrote: I've got everything owned by vpopmail:vchkpw. Maybe that is the problem. Both enrai bin # chown root:root vchkpw and enrai bin # chown vpopmail:vpopmail * don't work; it still segfaults. Rainer Duffner wrote: Also, the output of id vpopmail is of interest. (To see

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Bill Gradwohl
On Thu, 2006-06-15 at 15:41 +0200, Manuzhai wrote: Bill Gradwohl wrote: I had this problem a few weeks ago on a Fedora Core 4 system, and it turned out to be a problem somewhere in the kernel or support libraries. I reported it and it was resolved when a new kernel build came out. It's

Re: [vchkpw] CHKUSER for non-netqmail, non-stock-qmail

2006-06-15 Thread Rainer Duffner
tonix (Antonio Nati) wrote: Cut away all these lines: and put the following code: /* start chkuser code */ switch (chkuser_realrcpt (mailfrom, addr)) { case CHKUSER_KO: return; break; case CHKUSER_RELAYING: --addr.len; if

[vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Manuzhai
Bill Gradwohl wrote: It may not have been the kernel directly, but clib or one of the other O/S components. Think about it, Something changed on your box and you're segfaulting. That's exactly what happened to me and it was O/S related. Had nothing to do with vpopmail. Well, it wasn't the

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Bill Gradwohl
On Thu, 2006-06-15 at 17:24 +0200, Manuzhai wrote: Well, it wasn't the kernel, and it also wasn't glibc. I upgraded to a newer /bin/login, could that have anything to do with it? It was something on your box, and you'll have to figure out what it was that changed. You can follow the bugzilla

[vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Manuzhai
Manuzhai wrote: Any ideas on what I can do to fix this? (Always nice, a little self-quoting...) Okay, so I figured out what the problem is, I think. Lots of nice little fprintf(stderr, ...)'s later, I've come to the conclusion that Matt Brookings was right on the money stating that your

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Ken Jones
Manuzhai wrote: Manuzhai wrote: Any ideas on what I can do to fix this? (Always nice, a little self-quoting...) Okay, so I figured out what the problem is, I think. Lots of nice little fprintf(stderr, ...)'s later, I've come to the conclusion that Matt Brookings was right on the money

Re: [vchkpw] CHKUSER for non-netqmail, non-stock-qmail

2006-06-15 Thread tonix (Antonio Nati)
At 16.15 15/06/2006, you wrote: tonix (Antonio Nati) wrote: Cut away all these lines: and put the following code: /* start chkuser code */ switch (chkuser_realrcpt (mailfrom, addr)) { case CHKUSER_KO: return; break; case CHKUSER_RELAYING: --addr.len;

[vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Robin Bowes
Manuzhai wrote: What trips up vpopmail: the localhost line. I'm not sure whether this *should* be valid or not, but the extract_domain() function in vpopmail.c sure doesn't like it. I hit this problem too: http://sourceforge.net/mailarchive/forum.php?thread_id=9950580forum_id=34827 R.

Re: [vchkpw] CHKUSER for non-netqmail, non-stock-qmail

2006-06-15 Thread Rainer Duffner
tonix (Antonio Nati) schrieb: At 16.15 15/06/2006, you wrote: Thanks, Tonino. But isn't that snippet needed for the TLS-support? If you are using specific certificates on client side you probably need it, otherwise it is completely unuseful. Ah, yes. So the TLS-patch would support