Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site cstvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!mcvax!ukc!cstvax!scott From: scott@cstvax.UUCP (Scott Larnach) Newsgroups: net.bugs.4bsd,net.unix Subject: sendmail bug (non-VAXen 4.2) Message-ID: <372@cstvax.UUCP> Date: Thu, 24-Oct-85 16:33:38 EDT Article-I.D.: cstvax.372 Posted: Thu Oct 24 16:33:38 1985 Date-Received: Mon, 21-Oct-85 00:43:31 EDT References: <669@dcl-cs.UUCP> Reply-To: scott@cstvax.UUCP (Scott Larnach) Distribution: net Organization: Unix Support, Edinburgh Regional Computing Centre Lines: 25 Xref: watmath net.bugs.4bsd:1813 net.unix:5953 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 /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