[comp.mail.sendmail] sendmail dies when given unknown domain

ip@cns.umist.ac.uk (Ian Pallfreeman) (09/06/89)

I'm running a slightly-modified UK-2.1 on a 4.0.3 Sun 3/280 using the 
provided sendmail (@(#)SendMail version 1.9 of 88/02/08). Everything is
fine and dandy except when somebody gives me an unknown domain, which
causes a segmentation fault:

sun% /usr/lib/sendmail -v nobody@nowhere < /dev/null
nobody@nowhere... Domain Unknown
Segmentation fault
sun%

I vaguely remember somebody mentioning the "OP" stuff in a similar context,
but that doesn't seem to make any difference, in or out. Other than getting
a fixed sendmail, is there any way I can stop this happening?

Thanks in anticipation,

Ian.

{SERC/ECF Sys/Net Support, ian@uk.ac.umist}

Andrew.Findlay@brunel.ac.uk (Andrew Findlay) (09/06/89)

|I'm running a slightly-modified UK-2.1 on a 4.0.3 Sun 3/280 using the 
|provided sendmail (@(#)SendMail version 1.9 of 88/02/08). Everything is
|fine and dandy except when somebody gives me an unknown domain, which
|causes a segmentation fault:
|
|sun% /usr/lib/sendmail -v nobody@nowhere < /dev/null
|nobody@nowhere... Domain Unknown
|Segmentation fault

This sounds like a bug in the original code sent out from Berkeley,
but Sun should really have fixed it! In the case I am thinking of,
*any* bounced mail causes a seg fault. The error is in savemail.c and
involves passing NULL to strcmp() - OK (but bad practise) on VAX, duff
on Sun.

|I vaguely remember somebody mentioning the "OP" stuff in a similar context,
|but that doesn't seem to make any difference, in or out. Other than getting
|a fixed sendmail, is there any way I can stop this happening?

Get a fixed Sendmail anyway. Here are the details:


This distribution is available by NIFTP in the UK, from:

Host:   uk.ac.brunel.me
User:   guest
Passwd: your e-mail address
File:   <SRC>sendmail.5.61.IDA.tar.Z
Type:   BINARY
Size:   Approx 700k in compressed form


Also by FTAM (ISODE, IS over IS)

Host:   brunel
User:   ANON
File:   sendmail.5.61.IDA.tar.Z


The IDA enhancements are included, but it still handles 'old-style'
.cf files in exactly the same way.

The latest fixes were put in the distribution on 18 August.

Andrew
-- 

---------------------------------------------------------------------
|  From Andrew Findlay at Brunel University, Uxbridge, UB8 3PH, UK  |
|  Andrew.Findlay@brunel.ac.uk          phone: +44 895 74000 x2512  |
---------------------------------------------------------------------