From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,1012e977c21a7db2 X-Google-Attributes: gidf7344,public X-Google-Thread: f8c9b,1012e977c21a7db2 X-Google-Attributes: gidf8c9b,public X-Google-Thread: fc89c,1012e977c21a7db2 X-Google-Attributes: gidfc89c,public X-Google-Thread: f72b0,1012e977c21a7db2 X-Google-Attributes: gidf72b0,public X-Google-Thread: 1164f8,1012e977c21a7db2 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-07-22 01:25:14 PST Xref: sparky comp.os.vms:12643 comp.sys.dec:4126 comp.unix.misc:2987 comp.unix.programmer:3844 comp.unix.questions:9284 Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!sdd.hp.com!uakari.primate.wisc.edu!ames!nsisrv!news2.gsfc.nasa.gov!fish From: fish@daacdev1.stx.com Newsgroups: comp.os.vms,comp.sys.dec,comp.unix.misc,comp.unix.programmer,comp.unix.questions Subject: Re: VAM/VMS mail file format Keywords: mail ascii Message-ID: Date: 22 Jul 92 14:36:59 GMT References: <1992Jul20.104525.10364@avalon.nwc.navy.mil> Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet) Organization: Goddard Space Flight Center Nntp-Posting-Host: daacdev1.stx.com dejesus@archimedes.nwc.navy.mil (Francisco X DeJesus) writes: >I need to know if there is a way, on a Unix machine, to read/convert a >mail.mai file which was ftp'd from a VAX machine. >Here's the deal: mail is received on a VAX periodically. Also periodically >(every 15 minutes) a Unix machine will ftp to the VAX and get the mail.mai >file, which contains uuencoded data. The problem is that the mail.mai file >is not regular ASCII format, and cannot be stripped/decoded the way a >Unix mail file can. >To eliminate the obvious responses before they are made: I cannot just >forward or bounce the mail from the VAX machine to the Unix one (which is >why we're ftp'ing it - long story), and I cannot do the conversion on >the VAX because it would require me to log in and do it manually, and what >I'm trying to do is automate this (of course, if you know of a way to >automate the conversion on the VAX, *please* let me know!). >With that in mind, what do you recommend? I see converting the file on >the receiving Unix machine as the best option, but I'll need either a >converter program/script, or information about the .mai file format so >I can write one myself. Any help will be greatly appreciated!! what you need to do is just write a VMS DCL .com file that joes into mail does a read/new, extract/all and then ftp put's the extracted file to the unix box - i can send you a .com file i have that loops thru and picks only certain ones (using dir/from i think) -fish -- John R. Vanderpool INTERNET: fish@daacdev1.stx.com NASA/GSFC VOX: 301-513-1683 Hughes/STX Corporation FAX: 301-513-1608 "arcadian driftwood, gypsy tailwind; they call my home, the land of snow" -jrr