Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 3/23/84; site cbosgd.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!mhuxl!ulysses!cbosgd!mark From: mark@cbosgd.UUCP (Mark Horton) Newsgroups: net.news.sa Subject: Re: net.news.map path info Message-ID: <273@cbosgd.UUCP> Date: Thu, 6-Sep-84 23:08:23 EDT Article-I.D.: cbosgd.273 Posted: Thu Sep 6 23:08:23 1984 Date-Received: Wed, 12-Sep-84 01:32:10 EDT References: <287@down.FUN> Organization: AT&T Bell Laboratories, Columbus Lines: 28 Both sun and masscomp are vexed by sendmail syntax; they would like mail from, say, sun!medusa!user to look like it came from sun!user. I'm sure there's a way to do this -- can anyone help? A correct solution would build an appropriate unix-mail From line (in addition to the header-phile From: or Sender: line). It really isn't hard to arrange this. I'll enclose the ruleset 13 from cbosgd. The 3rd line is the one that does this, the others are local hacks to deal with other flavors of syntax. We use this to hide our local Suns from the outside - I'm really on cbpavo right now, but this will appear to come from cbosgd. R$+ $:$>5$1 convert to old style R$=U!$+ $2 strip local name R$+<@$=S> $1 mark@cbpavo -> mark R$+<@$+.UUCP> $2.UUCP!$1 xxx@foo.uucp -> foo.uucp!xxx R$+ $:$U!$1 stick on our host name R$=U!$=R:$+ $:$1!$3 ucbvax!ucbvax:xxx => ucbvax!xxx Note that this is the easy part. For an organization to make this work, all the machines must be centrally administered. In particular, it must be true that if user@workstation exists, user@gateway also exists and is owned by the same person. (Watch out for "root" and other non-human logins.) Also, people must arrange that mail to their name on the gateway will be forwarded to their favorite workstation. Sharing the same password file among all the machines is one easy way to make this work, but you still need forwarding from the gateway.