Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!boulder!sunybcs!rutgers!ucla-cs!zen!ucbvax!VENUS.YCC.YALE.EDU!leichter From: leichter@VENUS.YCC.YALE.EDU ("Jerry Leichter") Newsgroups: comp.os.vms Subject: re: MAIL idiosyncrasy with sequential files Message-ID: <8708210731.AA27763@ucbvax.Berkeley.EDU> Date: Thu, 20-Aug-87 11:19:00 EDT Article-I.D.: ucbvax.8708210731.AA27763 Posted: Thu Aug 20 11:19:00 1987 Date-Received: Sat, 22-Aug-87 18:57:02 EDT Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: "Jerry Leichter" Distribution: world Organization: The ARPA Internet Lines: 30 I just discovered that MAIL still supports the old sequential files from version 3 of VMS. This gives you the possibility to nicely include any text in you mail file; I just used this to 'digest' some old digest files from info-vax.... Now, MAIL has some very strict rules as to what it will accept in this format: It will only parse the header (To:, From:, and Subj: fields) if they are precisely in that form (followed by a ), and preceeded by a form feed. Actually, a mail header must be preceeded by . (This is a security mechanism, added in something like V3.4 to prevent "spoofing": Before that, you could send someone a message that contained a formfeed followed by a valid- looking header and MAIL would decide it was a separate message - which you could make be "from" anyone. Since MAIL discarded 's when reading its input, you could no longer fake it out. Since these days mail files receiving new mail messages are only rarely sequential, and not amenable to this form of spoofing, so of the old error checks may no longer be there. In particular, I suspect that MAIL these days will send large files in block mode, and then not remove NUL's. OK, why not...but it forgets to put in a form feed at the beginning of a file if you extract your mail. And that's a nuisance! It didn't forget anything; YOU forgot the /MAIL qualifier on your EXTRACT command! -- Jerry ------