This is a sample foreign mail protocol that hooks to VMS MAIL to allow VMS MAIL user's to send mail to foreign mail delivery systems. This is NOT intended to be directly usable by anyone unless they have our UUCP distribution (in which case they already got this). This should, however, provide a model on which to build your own foreign mail interface. I regret that I haven't documented things terribly well here, but a LOT of work went into decoding MAIL code listings to figure this out and I didn't have much time in all that to write everything down. Hopefully, if anyone REALLY wants to use this they can follow the code. By the way, the file with the extension .PAS_DEBUG_OFF and .OBJ_DEBUG_OFF are copies of the UUCP_MAIL code with the DEBUG flag disabled. This is for any systems who do not have a Pascal compiler to modify the flag themselves. Simply rename the file to .OBJ and relink. See DESCRIP.MMS for build procedures or use MMS yourself. Everything here applies ONLY to VMS V4.0 and beyond. This code is currently running under V4.5. Do not expect ANY of this to have ANY bearing whatsoever on ANY VMS system running ANYTHING prior to V4.0!!! This may not work when VMS 5.0 is released, I don't know yet. I am not officially supporting any of this, but will be glad to see what I can do to help if you have any troubles. If you make any changes or improvements, I'd appreciate hearing about them. It should also be fairly straightforward to convert this to work the DEC/shell UUCP. You would need to modify RMAIL.C for incoming mail and UUCP_MAIL.PAS' use of "uux" for outgoing mail. See the files UUCP_MAIL_DOC.RNO for documentation on UUCP_MAIL itself and NOTES.TXT for notes on foreign protocol interfaces in general. I can be reached either electronically at: BITNET: kvc@engvax.scg.hac.com (use YMIR.BITNET as gateway) UUCP: scgvaxd!engvax!kvc Internet: kvc@engvax.scg.hac.com or kvc%engvax@oberon.usc.edu or audibly at: (213) 606-1092 or physically at: Kevin Carosso Hughes Aircraft Co. Space and Communications Group PO Box 92919 Building S-40/T310 Los Angeles, Ca. 90009 USA This submission is an update of my Spring '85 UUCP_MAIL submission. There have been a few important bug fixes to the code. Please don't contact me about getting our UUCP port that this was originally developed for unless you already have an AT&T and Berkeley UNIX source license and feel you really must have it. We won't be using it much longer since DEC now provides a UUCP with their DEC/shell product. It does not have an interface to MAIL, but the code here should be easily modified to provide such an interface. I would've liked to have done so for this submission, but have not had the time. (For the real reason, see the "Final Note:") A final note: We are in the process of switching all mail traffic over to the PMDF mail system rather than this UUCP_MAIL code. PMDF is a general-purpose foreign mail delivery system available for VAX/VMS. The PMDF mail system does include support for DEC/shell UUCP as well as other delivery mechanisms. PMDF is available for the cost of distribution from: Ned Freed PMDF Project Harvey Mudd College Claremont, CA 91711 USA (714) 621-8006 Before hacking this code to work for your mail delivery needs, you ought to check out PMDF. There's a good chance it already supports what you want to do.