Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!ukc!edcastle!cs.glasgow.ac.uk!daemon From: Andrew.Findlay@brunel.ac.uk (Andrew Findlay) Newsgroups: mail.uk-sendmail-workers,comp.mail.sendmail Subject: Re: sendmail dies when given unknown domain Message-ID: <15738.8909061433@Suleika.me.brunel.ac.uk> Date: 6 Sep 89 14:33:33 GMT Sender: daemon@cs.glasgow.ac.uk Lines: 51 Approved: usenet@cs.glasgow.ac.uk In-Reply-To: <13350.8909061355@sun.cns.umist.ac.uk>; from "Ian Pallfreeman" at Sep 6, 89 2:55 pm X-Mailer: ELM [version 2.2-hd PL 10] |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: 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 | ---------------------------------------------------------------------