[net.unix] sendmail bug

chris@umcp-cs.UUCP (Chris Torek) (10/20/85)

The true fix, it seems to me, is to replace the `freeze' and `thaw'
code with a compiled .cf format, easily read but independent of
the exact binary version of sendmail and not containing all sorts
of random things that should *not* be saved.

At the same time, the uncompiled format of the configuration file
should be redesigned.  And sendmail should be split into many
programs---five at the very least:  two queue drivers (one for
input and one for output), an SMTP receiver, an SMTP sender, and
an address rewriter.  But I am not about to attempt this myself.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris@umcp-cs		ARPA:	chris@mimsy.umd.edu

campbell@maynard.UUCP (Larry Campbell) (10/21/85)

Mark Twain's comment about the weather seems to be appropriate
to sendmail as well:

    "Everyone complains about it but nobody does anything about it."
-- 
Larry Campbell                     decvax!genrad
The Boston Software Works, Inc.                 \
120 Fulton St.                 seismo!harvard!wjh12!maynard!campbell
Boston MA 02109                         /       /
                                   ihnp4  cbosgd

ARPA: campbell%maynard.uucp@harvard.ARPA  (broken because of bugs at Harvard)
  or: maynard.UUCP:campbell@harvard.ARPA  (works now but try above if no joy)

scott@cstvax.UUCP (Scott Larnach) (10/24/85)

In the article referred to above, Stephen Muir notes that freezing his
sendmail configuration file causes sendmail to blow up.
(Sun Unix 4.2 Release 2)

This is apparently due to the business of the VAX storing bytes on
the disk in reverse order. I noticed this on our Gould. On swapping
alternate bytes in the freeze file it works perfectly. And Stephen tells
me this cures the sun problem too. So if you have the same problem
run your freeze file through the following little program.
[ I was going to post my byteswapping program but someone has
pointed out to me that dd does that. How dare it?!? ]

Of course the best idea would be to do a proper fix to sendmail. I had
a wee shufty at the code and it seems to be just doing bog standard
raw read/write the memory area to/from the disk. Any takers? The code
is in <sendmail source>/main.c, functions freeze & thaw.

-- 
Scott Larnach			Janet: scott@uk.ac.ed.cstvax
Edinburgh Unix Support		Arpa:  scott@cstvax.ed.ac.uk
Tel:	+44 31 667 1081 x2629	Uucp:  scott@cstvax.uucp