sendmail bug (non-VAXen 4.2)

Scott Larnach scott at cstvax.UUCP
Fri Oct 25 06:33:38 AEST 1985


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 at uk.ac.ed.cstvax
Edinburgh Unix Support		Arpa:  scott at cstvax.ed.ac.uk
Tel:	+44 31 667 1081 x2629	Uucp:  scott at cstvax.uucp



More information about the Comp.unix mailing list