It doesn't appear that ckhuser is your problem, so I'd not change
chkuser_settings.h. That will simplify things a bit.

The problem appears to be with TLS.

First thing, I'd get back to the standard toaster:
# qmailctl stop
# rpmbuild --rebuild --with cnt40 --target `uname -m` $QMLT
# rpm -Uvh --replacefiles --replacepkgs
/usr/src/redhat/RPMS/i686/qmail-toaster-*.i686.rpm

Any errors? Look for possible TLS related warnings.

# qmailctl start

Do you get the same result from strace?

Chris Godwin wrote:
> i386
> 
> I have reinstalled just that rpm via the following commands:
> 
> rpm -Uvh $QMLT
>   cd /usr/src/redhat/SPECS
>   sed 's/sleep 5/nano
> \/usr\/src\/redhat\/BUILD\/qmail-1.03\/chkuser_settings.h/g'
> qmail-toaster.spec > qmail-toaster.spec2 || exit 1
>   mv qmail-toaster.spec2 qmail-toaster.spec
>   rpmbuild -bb --with cnt40 qmail-toaster.spec
>   cd ../RPMS/i386/
>   qmailctl stop
>   rpm -Uvh --replacefiles --replacepkgs qmail-*.rpm
>   qmailctl start
> 
> Chris Godwin
> Linux/Unix Consultant
> Network Logistic, Inc.
> Get help at http://www.networklogistic.com/help
> 
> 
> -----Original Message-----
> From: Eric "Shubes" [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 04, 2006 3:17 PM
> To: [email protected]
> Subject: Re: [qmailtoaster] STARTTLS Segmentation Fault
> 
> Is this a 64-bit machine?
> What did you use for ARCH= value in cnt40-install-script.sh?
> 
> Chris Godwin wrote:
>> When I do this:
>>
>>  
>>
>> /var/qmail/bin/qmail-smtpd
>>
>> 220 ha.networklogistic.net - Welcome to Qmail Toaster Ver. 1.3 SMTP
>> Server ESMTP
>>
>> ehlo
>>
>> 250-ha.networklogistic.net - Welcome to Qmail Toaster Ver. 1.3 SMTP
> Server
>> 250-STARTTLS
>>
>> 250-PIPELINING
>>
>> 250-8BITMIME
>>
>> 250-SIZE 20971520
>>
>> 250 AUTH LOGIN PLAIN CRAM-MD5
>>
>> starttls
>>
>> Segmentation fault
>>
>>  
>>
>> I get this:
>>
>>  
>>
>> select(1, [0], NULL, NULL, {1154, 135000}) = 1 (in [0], left {1146,
> 148000})
>> read(0, "ehlo localhost\r\n", 1024)     = 16
>>
>> stat64("control/servercert.pem", {st_mode=S_IFREG|0777, st_size=1689,
>> ...}) = 0
>>
>> select(2, NULL, [1], NULL, {1200, 0})   = 1 (out [1], left {1200, 0})
>>
>> write(1, "250-ha.networklogistic.net - Wel"..., 170) = 170
>>
>> select(1, [0], NULL, NULL, {1200, 0})   = 1 (in [0], left {1193,
> 949000})
>> read(0, "starttls\r\n", 1024)           = 10
>>
>> brk(0)                                  = 0x9cf4000
>>
>> brk(0x9d15000)                          = 0x9cf4000
>>
>> mmap2(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
>> -1, 0) = 0xb7ee8000
>>
>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>>
>>  
>>
>> Does anyone have any ideas?
>>
>>  
>>
>> *Chris Godwin*
>> /Linux/Unix Consultant
>> /*Network Logistic, Inc.
>> *Get help at http://www.networklogistic.com/help
>> <http://www.networklogistic.com/help>
>>
>>  
>>
> 
> 


-- 
-Eric 'shubes'

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to