home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / vmsnet / mail / mx / 1244 < prev    next >
Encoding:
Internet Message Format  |  1993-01-10  |  1.3 KB

  1. Path: sparky!uunet!usc!news.service.uci.edu!unogate!mvb.saic.com!mx-list
  2. From: "Jonathan E. Hardis" <hardis@garnet.nist.gov>
  3. Newsgroups: vmsnet.mail.mx
  4. Subject: RE: Looking for rewriting rules
  5. Message-ID: <009666AA.3DE21AA0.8578@garnet.nist.gov>
  6. Date: 10 Jan 1993 19:59:47 -0500 (EST)
  7. Organization: Mx-List<==>Vmsnet.Mail.Mx Gateway
  8. X-Gateway-Source-Info: Mailing List
  9. Lines: 25
  10.  
  11. > can someone please give me a hint where I can find the rules for address
  12. > rewriting (for MX of course).
  13.  
  14. The Message Exchange Management Guide, edition of March 1992, for MX V3.1,
  15. page 3-1.
  16.  
  17. > How can I deal with this situation? Is there a multitoken variable, like
  18. > {everything@uucphost.uucp}->{everything%uucphost.uucp@germany.eu.net},
  19. > because I never know the number of tokens of the first part...
  20.  
  21. To quote from the above reference, "the rule processor treats the addresses
  22. as ordinary text strings and does not understand the syntax of RFC 821
  23. addresses."  In other words, don't worry about tokenizing.
  24.  
  25. MCP> DEFINE REWRITE_RULE "<{u}@{h}.uucp>" "<{u}%{h}.uucp@germany.eu.net>"
  26. MCP> SAVE
  27. MCP> RESET
  28.  
  29. More to the point, why fool with rewrite rules?
  30.  
  31. MCP> DEFINE PATH *.UUCP    SMTP/ROUTE="germany.eu.net"
  32.                            ^^^^-or different, as appropriate
  33.  
  34. (Remember that the order of the DEFINE commands is important; you may have
  35. to edit CONFIG.MCP and start over.)
  36.