From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6c17d90a68d3b318,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,6c17d90a68d3b318,start X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1992-10-26 06:45:32 PST Xref: sparky comp.unix.ultrix:7887 comp.sys.dec:5659 Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!decwrl!decwrl!morrow.stanford.edu!DrWho.Stanford.EDU!edgar From: edgar@DrWho.Stanford.EDU (Edgar Holmann) Newsgroups: comp.unix.ultrix,comp.sys.dec Subject: corrupted mbox files Date: 26 Oct 1992 21:56:27 GMT Organization: Stanford University Sender: edgar@Nova.Stanford.EDU Message-ID: <1chpibINN427@morrow.stanford.edu> NNTP-Posting-Host: drwho.stanford.edu We just recently upgraded a DEC5400 to Ultrix4.2a and we have been experiencing some problems with the mbox. I narrowed it down to a simple case where I have two mail messages in the spool directory. I start with a non-existing mbox file in my home directory. Then I run mail (/usr/ucb/mail) to read mail in the system box and read one of the messages. I then q out of it which saves one message in mbox and leaves the second in the system directory. At this point, if I analyze my mbox file, the mail program has appended a character ^@ at the end of the message. I presume this is a new way of signaling an end of message since 4.1 didn't use to do this. Well the problem is that when I do the same procedure so that I read the second message that I had in the system directory and then q out of it and get the second message to be saved in mbox the From line which is the indicator of a new message has the ^@ at the beginning and this messes things up. When I look at my mbox with 'mail -f' it thinks it only has a single message since the second one is not recognized because of the ^@ character. If one saves many more messages in mbox, they still show up as a single character until mbox is edited and the trailing ^@ is deleted then new headers will show up when using 'mail -f'. So, is there some setup that we need to change or how do I go about fixing this? Has anybody else experienced this problem? We have a cluster composed of the 5400, several 3100's and 5000's and suns. The suns deal with transfering the data from the spool directory to the mbox with no problems so we have been telling users to use the suns to read their mail but a fix would be a much better approach. Please reply by email and I'll post answers. Thanks, edgar -- Edgar Holmann UUCP: decwrl!nova!edgar@uunet.uu.net edgar@Nova.stanford.edu BITNET: edgar%Nova.stanford.edu@stanford