Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!gatech!utkcs2!cygnusx1!moore From: moore@cygnusx1.cs.utk.edu (Keith Moore) Newsgroups: comp.mail.uucp Subject: Re: ambiguity. Keywords: Inet->uucp rfc822 vs rfc976 Message-ID: <805@utkcs2.cs.utk.edu> Date: 22 Mar 89 01:22:18 GMT References: <4857@hubcap.clemson.edu> Sender: news@utkcs2.cs.utk.edu Reply-To: moore@cygnusx1.cs.utk.edu (Keith Moore) Organization: CS Dept -- University of TN, Knoxville Lines: 53 In article <4857@hubcap.clemson.edu> hubcap@hubcap.clemson.edu (Mike Marshall) writes: >In order to eschew obfuscation, let me say that this --. > __________________| > V >Muucp, P=/usr/bin/uux, F=sDFhuU, S=11, R=12, M=100000, > >is the ruleset I want to talk about. > >How would you rewrite something that looked like > user@place.edu or even user%oneplace.edu@anotherplace.edu >if it managed to get slammed into the above mentioned ruleset? 1. "user@place.edu" If the sendmail/uux in question are running on "place.edu", then "user@place.edu" => "user" If place.edu has a UUCP name known to the gateway, (say "place"), then "user@place.edu" => "place!user" Otherwise, use the domain name and pure-bang syntax: "user@place.edu" => "place.edu!user" I prefer a pure-bang syntax rather than a mixed !@ syntax, because the pure-bang syntax is unambiguous and will probably work with any UUCP system up the line. As long as the above piece of mail stays within UUCP, it will probably be replyable. (All bets are off if it gets gatewayed to yet another network.) 2. "user%oneplace.edu@anotherplace.edu" If the sendmail/uux are running on "anotherplace.edu", and "anotherplace.edu" uses '%' to mean routing in the conventional manner, then this could be written as "oneplace.edu!user" or perhaps "oneplace!user" if "oneplace" were the UUCP equivalent for "oneplace.edu". Otherwise, if the sendmail is not running on "anotherplace.edu", and therefore cannot be sure that anotherplace uses the '%' convention to mean routing (and I *do* know of counterexamples), then the address should be rewritten as "anotherplace.edu!user%oneplace.edu", or perhaps "anotherplace!user%oneplace.edu". It is possible that the resulting mail will be unreplyable, since some mailers will try to route the mail to "anotherplace.edu!user" at "oneplace.edu" rather than to "user%oneplace.edu" at "anotherplace.edu". This is clearly incorrect, since interpretation of the '%' character in the local part of an address is left up to the destination host. This is about the best you can do with vanilla sendmail. -- Keith Moore UT Computer Science Dept. Internet/CSnet: moore@utkcs2.cs.utk.edu 107 Ayres Hall, UT Campus BITNET: moore@utkvx Knoxville Tennessee 37996-1301 Telephone: +1 615 974 0822