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