@ This is a sample foreign mail protocol that hooks to VMS MAIL toD allow VMS MAIL user's to send mail to foreign mail delivery systems.@ This is NOT intended to be directly usable by anyone unless theyA have our UUCP distribution (in which case they already got this).   @ This should, however, provide a model on which to build your ownB foreign mail interface.  I regret that I haven't documented thingsB terribly well here, but a LOT of work went into decoding MAIL codeC listings to figure this out and I didn't have much time in all that H to write everything down.  Hopefully, if anyone REALLY wants to use this they can follow the code.   I By the way, the file with the extension .PAS_DEBUG_OFF and .OBJ_DEBUG_OFF L are copies of the UUCP_MAIL code with the DEBUG flag disabled.   This is forL any systems who do not have a Pascal compiler to modify the flag themselves.P Simply rename the file to .OBJ and relink.  See DESCRIP.MMS for build procedures or use MMS yourself.  L Everything here applies ONLY to VMS V4.0 and beyond.  This code is currentlyM running under V4.5.  Do not expect ANY of this to have ANY bearing whatsoever F 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.   H I am not officially supporting any of this, but will be glad to see whatF I can do to help if you have any troubles.  If you make any changes or0 improvements, I'd appreciate hearing about them.  @ It should also be fairly straightforward to convert this to workB the DEC/shell UUCP.  You would need to modify RMAIL.C for incoming7 mail and UUCP_MAIL.PAS' use of "uux" for outgoing mail.   I See the files UUCP_MAIL_DOC.RNO for documentation on UUCP_MAIL itself and H 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  J This submission is an update of my Spring '85 UUCP_MAIL submission.  There0 have been a few important bug fixes to the code.  L Please don't contact me about getting our UUCP port that this was originallyN developed for unless you already have an AT&T and Berkeley UNIX source licenseI and feel you really must have it.  We won't be using it much longer since J DEC now provides a UUCP with their DEC/shell product.  It does not have anI interface to MAIL, but the code here should be easily modified to provide I such an interface.  I would've liked to have done so for this submission, H but have not had the time.  (For the real reason, see the "Final Note:")  
 A final note:   I We are in the process of switching all mail traffic over to the PMDF mail J system rather than this UUCP_MAIL code.  PMDF is a general-purpose foreignN mail delivery system available for VAX/VMS.  The PMDF mail system does includeI 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   B Before hacking this code to work for your mail delivery needs, youH ought to check out PMDF.  There's a good chance it already supports what you want to do. 