home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / vmsnet / mail / mx / 1246 < prev    next >
Encoding:
Text File  |  1993-01-11  |  2.2 KB  |  58 lines

  1. Newsgroups: vmsnet.mail.mx
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!news.larc.nasa.gov!ames!tgv.com!MADISON
  3. From: madison@tgv.com (Matt Madison)
  4. Subject: Re: Also need rewrite rules help
  5. Message-ID: <1993Jan11.174848.26485@news.arc.nasa.gov>
  6. Sender: usenet@news.arc.nasa.gov
  7. Reply-To: madison@tgv.com
  8. Organization: The Foundation for Dinner Peas
  9. References: <1993Jan10.170816.1@woods.ulowell.edu>
  10. Date: Mon, 11 Jan 1993 17:48:48 GMT
  11. Lines: 45
  12.  
  13. In article <1993Jan10.170816.1@woods.ulowell.edu>, byrnee@woods.ulowell.edu writes:
  14. >To do this from VAXmail I would type:
  15. >
  16. >TO: mx%"'MRGATE::AM::username'@nodex.ulowell.edu"
  17. >
  18. >What rewrite rule would essentially translate:
  19. >
  20. >username@nodex.ulowell.edu    to    'MRGATE::AM::username'@nodex.ulowell.edu ?
  21. >
  22. >I have tried every combination I can think of, but nothing works.  I would
  23. >like to avoid the obvious, which is setting all VAXmail accounts to Mailworks.
  24. >(NOT a pretty solution for 13,000 accounts!)
  25.  
  26. What I would suggest is to set up a new domain name - call it something
  27. like mrgate.nodex.ulowell.edu or something like that - with an MX record
  28. pointing to nodex.  That makes the rewrite simple:
  29.  
  30.     "<{user}@mrgate.nodex.ulowell.edu>" ->
  31.     "<""MRGATE::AM::{user}""@nodex.ulowell.edu>"
  32.  
  33. If you have MX V3.1C, you could also use the improved name_conversion interface
  34. in that version that lets you rewrite an entire address, so your users'
  35. return addresses would look cleaner.  A bit of coding would be required,
  36. though.
  37.  
  38. If you didn't want to add the extra record in the DNS, you should still be
  39. able to work it with the following pair of rewrite rules:
  40.  
  41.     "<""MRGATE::{anything}""@nodex.ulowell.edu>" ->
  42.     "<""MRGATE::{anything}""@nodex.ulowell.edu>"
  43.  
  44. and
  45.  
  46.     "<{user}@nodex.ulowell.edu>" -> "<""MRGATE::AM::{user}@nodex.ulowell.edu>"
  47.  
  48. The first rewrite rule, which does nothing to the address, prevents the
  49. gatewayed addresses from getting rewritten any further.
  50.  
  51. Using the extra DNS host name has the added advantage that users could then
  52. choose whether they wanted to use VMS Mail or MAILworks.
  53.  
  54. -Matt
  55. --
  56. Matthew Madison | madison@tgv.com    | +1 408 427 4366
  57. TGV, Inc.       | 603 Mission Street | Santa Cruz, CA 95060 USA
  58.