Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!ames!ucbcad!ucbvax!UOFMCC.BITNET!UOWRAK From: UOWRAK@UOFMCC.BITNET.UUCP Newsgroups: mod.computers.vax Subject: VMSmail Message-ID: <8701270944.AA07458@ucbvax.Berkeley.EDU> Date: Mon, 26-Jan-87 11:22:00 EST Article-I.D.: ucbvax.8701270944.AA07458 Posted: Mon Jan 26 11:22:00 1987 Date-Received: Wed, 28-Jan-87 06:48:15 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 67 Approved: info-vax@sri-kl.arpa MGRANOFF@CLARKU.BITNET has asked about sources of information concerning VMSmail protocols. WOLFATBBNG has asked for a technique for moving folders of V4 mail. First, look at the three MAIL*.COM files in SYS$EXAMPLES for some hints and tricks. Second, there was an article "Mail Subroutine" in the VAX Professional for August 1986 which tells how to force stuff into VMSmail without using the MAIL utility, giving you a kind of backdoor callable MAIL. (Wouldn't it be nice if DEC created and documented MAILSHR.EXE or some such). Jerry - it is possible to transfer V4 folders via the MAIL utility right now, in a reasonably clean way. On your source system: $ SET DIR your_mail_directory $ MAIL MAIL>SET FOLDER folder_name MAIL>EXTRACT/ALL folder_name ! Repeat the above two steps for each folder to be transferred. MAIL>EXIT This will generate a number of sequential (V3-type) mail files in your default directory. They are "good" V3-type files except that each must have a single line of added at the beginning. Use your favourite text editor; automate as much as possible. The files will be called folder_name.TXT. Then BACKUP all of these files to you favourite transport medium. Note: this gives your one sequential file for each folder. On your target system Use BACKUP to restore the sequential files into your mail directory. Then $SET DEF your_mail_directory $MAIL MAIL>SET FILE folder_name.TXT MAIL>COPY/ALL folder_name MAIL ! repeat the above two steps for each folder MAIL>EXIT This will copy mail from the sequential file folder_name.TXT into a folder in your master V4 mail file MAIL.MAI. If you did not remember to stick a at the front of each sequential folder file, you will lose a bit of header info in the first piece of mail in each folder. Don't forget that you can write command files to do all this stuff for you. Details for this I leave to you. Roger Kingsley Computer Services University of Winnipeg PS - I have used the tricks described in VAX Professional to do the following: 1) my BITNET mail arrives on an Amdahl system and stops there 2) I forward it to my VAX over a HASP link as card images (punch queue output) 3) I "receive" VMSmail with a modest (200-line or so) FORTRAN program which copies my "card deck" over single-node DECnet. I have not done anything fancy to get my mail out of VMS to BITNET; I just log onto my Amdahl host, and send out of Big Blue software. =====