Hi.

I downloaded the chkusr patch from
http://www.interazioni.it/opensource/chkuser/download/ and tried to
install it.

My Qmail setup is a straight qmailrocks setup from January this year.

I follow the instructions for chkusr to the best of my ability and I
believe I've gotten them right.

But when I test it afterwards I get a segmentation fault whenever I
type "mail" on a line.

Examples:
[EMAIL PROTECTED] qmail-1.03]# ./qmail-smtpd
220 mx2.example.com ESMTP
mail
Segmentation fault
[EMAIL PROTECTED] qmail-1.03]# ./qmail-smtpd
220 mx2.example.com ESMTP
helo
250 mx2.example.com
rcpt to: [EMAIL PROTECTED]
503 MAIL first (#5.5.1)
mail
Segmentation fault
[EMAIL PROTECTED] qmail-1.03]# ./qmail-smtpd
220 mx2.example.com ESMTP
mail from: [EMAIL PROTECTED]
Segmentation fault

I have found out that it is the additions to qmail-smtpd.c that causes
the fault. Both the addition in smtp_mail and in smtp_rcpt causes
segmentation fault. If I just add the code on the smtp_rcpt function I
get a regmentation fault whenever I send the "rcpt" command to smtpd.

Are there any obvious things I've missed that creates these faults?

Is there any way I can figure out exactly where in chkusr it fails?

Are there any alternatives to chkusr when using qmail/vpopmail?

Thank you!

Regards, 
Glenn F. Henriksen

Reply via email to