home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / vms / 13691 < prev    next >
Encoding:
Internet Message Format  |  1992-08-15  |  1.9 KB

  1. Path: sparky!uunet!comp.vuw.ac.nz!zl2tnm!toyunix!don
  2. Newsgroups: comp.os.vms
  3. Subject: Re: SET TRANSPORT command in VMS MAIL
  4. Message-ID: <1913228@zl2tnm.gen.nz>
  5. From: don@zl2tnm.gen.nz (Don Stokes)
  6. Date: 16 Aug 92 02:34:33 GMT
  7. Sender: news@zl2tnm.gen.nz (GNEWS Version 2.0 news poster.)
  8. Distribution: world
  9. Organization: The Wolery
  10. Lines: 38
  11.  
  12. leichter@lrw.com (Jerry Leichter) writes:
  13. >     MAIL> SEND
  14. >     To:     "sday@lacerta"
  15. > apparently doesn't work.)
  16.  
  17. The reason for this is that a bare quoted token is taken as a comment in
  18. VMS mail, rather like the () comments in RFC822.  For example,
  19.  
  20.     MAIL> SEND
  21.     To:    JANE "Hi there"
  22.  
  23. works fine, and the "Hi there" actually appears on the To: line of the
  24. JANE's received email. 
  25.  
  26. Unfortunately, this parsing is done before the SET TRANSPORT string is 
  27. prepended, so the comment is stripped off the recipient address before 
  28. the thing is converted to a parseable address.
  29.  
  30. Note that if you use PMDF (not sure about MX, and DECUS UUCP doesn't), you
  31. can specify addresses as lacerta::sday, and they'll be rewritten to 
  32. sday@lacerta, the only real snag being that the thing will be converted to
  33. uppercase which may confuse some un*x mailers which expect case sensitive
  34. userids.
  35.  
  36. > SET TRANSPORT doesn't change the way MAIL parses recipient names.  To do that,
  37. > you have to patch mail.  A patch to do this has been distributed on INFO-VAX
  38. > before - as I recall, Harvey Brydon wrote it.  I use it, which is why I can
  39. > only say that the example just above "apparently" doesn't work - I have no
  40. > easy way to test it with my patched mail code!
  41.  
  42. Does anyone have the patch, or a pointer to it?  I missed it when it came 
  43. out before for some reason.
  44.  
  45. --
  46. Don Stokes, ZL2TNM (DS555)                        don@zl2tnm.gen.nz (home)
  47. Network Manager, Computing Services Centre            don@vuw.ac.nz (work)
  48. Victoria University of Wellington, New Zealand              +64-4-495-5052
  49.