[comp.mail.sendmail] Segmentation faults from sendmail

crowston@athena.mit.edu (Kevin G Crowston) (11/30/89)

I'm running sendmail on AU/X 1.1 on a Mac II w/ 5 MB of memory.
I didn't change the .cf file from the distribution except to add
my host name, domain and the host we hide behind.  The banner 
shows the version as Sendmail 5.59/SMI-3.2.

Mostly it works okay.  However, for some messages sendmail crashes
with a segmentation error.  These seem to be messages sent to the
distribution lists we have, where the names are kept in separate files 
and :included in /usr/lib/aliases, although some messages to these
lists do get through okay... 

I tried tracing the queue as it ran, but it wasn't very enlightening.
The mailing list has members on the local host as well as on one other
machine; I saw sendmail use SMTP to successfully deliver the message
to the other machine, then print out the command line for the local
deliveries.  Right after doing that it got the segmentation error.
This results in empty messages on the local machine, that is, the From 
line is written, but nothing else (suggesting, I guess, that sendmail
crashed after forking /bin/mail but before piping over the message
contents).  

However, when I tried editing the qf file to reduce the number of recipients,
the problem disappeared for one message and moved for the other.  For the
other, the segmentation error happened right at the beginning;
right after it started to run the message, it said it was parsing the
sender's address and then crashed.

I've tried turning on debugging flags to get more information, but there's
very little documentation; the manual says they can't be kept up to date
and to consult the source... which doesn't help much for a binary only site.   

So, questions:

	1)  does anyone know what's wrong and how to fix it?
        2)  can anyone suggest how to debug it?
        3)  does anyone have sources for a "later and greater" version
            or at least one that lists the debug flags?

In a word, help!

Kevin Crowston