home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / vmsnet / mail / misc / 69 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  2.6 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!slacvx.slac.stanford.edu!fairfield
  2. From: fairfield@slacvx.slac.stanford.edu
  3. Newsgroups: vmsnet.mail.misc
  4. Subject: Re: Undocumented "Set Forward" command?
  5. Message-ID: <1992Aug14.133256.1@slacvx.slac.stanford.edu>
  6. Date: 14 Aug 92 21:32:56 GMT
  7. References: <BszM3G.7rv@space.physics.uiowa.edu>
  8. Sender: news@unixhub.SLAC.Stanford.EDU
  9. Organization: Stanford Linear Accelerator Center
  10. Lines: 48
  11. Nntp-Posting-Host: slacvx.slac.stanford.edu
  12.  
  13. In article <BszM3G.7rv@space.physics.uiowa.edu>, dyson@sunfish.physics.uiowa.edu (Richard L. Dyson) writes:
  14. > I seem to remember reading about an undocumented feature of VMS MAIL
  15. > that allowed you to set a forwarding address as usual, but that would
  16. > also allow a copy of the incoming mail msg to be left in the original
  17. > mailbox AS WELL AS one being sent to the forwarding address.
  18.  
  19.     Previous to VMS V5, you could set your mail forwarding to a list
  20. of names, e.g.,
  21.  
  22.     MAIL> SET FORWARD "USER1,USER2"
  23.  
  24. The trick was to use a leading _underscore_, like so:
  25.  
  26.     MAIL> SET FORW "NODE1::FAIRFIELD,_FAIRFIELD"
  27.  
  28. Then when mail delivered a message to FAIRFIELD on this node, one copy
  29. would get forwarded to NODE1::FAIRFIELD, the other to _FAIRFIELD on the
  30. local node.  The trick is that mail to _FAIRFIELD does NOT get forwarded.
  31. (The effect of the underscore to suppress mail forwarding still works
  32. under V5.5, only the _list_ of names in a forwarding address has been 
  33. disallowed.)
  34.  
  35.     Depending on your mail interface, you may still be able to get away 
  36. with this.  We are using PMDF and the syntax IN% within VMS MAIL to get 
  37. to PMDF's mail interface (mostly for Internet access).  PMDF hands off
  38. local address nicely to VMS MAIL, and allows a _list_ of names wihtin
  39. a single IN%"addr1,addr2" To: address.  Thus you can do:
  40.  
  41.     MAIL> SET FORW "IN%""FAIRFIELD@NODE1,_FAIRFIELD"""
  42.  
  43. and get the pre-V5 effect!  You'd need to experiment with other mail
  44. transports, like SMTP and MX, to see whether the above will work with
  45. them.
  46.  
  47.     Do use with caution: there is potential for creating mail deleivery
  48. loops...
  49.  
  50. > On a similiar subject... Does anyone know how to get a mail account to
  51. > forward an incoming msg to a LIST of usernames?
  52.  
  53.     You can do it with PMDF.
  54.  
  55. -- 
  56.  Dr. Kenneth H. Fairfield    |  Internet: Fairfield@Slacvx.Slac.Stanford.Edu
  57.  SLAC, P.O.Box 4349, MS 98   |  DECnet:   45537::FAIRFIELD (45537=SLACVX)
  58.  Stanford, CA   94309        |  BITNET    Fairfield@Slacvx
  59.  ----------------------------------------------------------------------------
  60.  These opinions are mine, not SLAC's, Stanford's, nor the DOE's...
  61.