Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!oliveb!glacier!mips!djl From: djl@mips.UUCP (Dan Levin) Newsgroups: net.mail Subject: Re: hiding local nodes Message-ID: <634@mips.UUCP> Date: Tue, 19-Aug-86 23:38:10 EDT Article-I.D.: mips.634 Posted: Tue Aug 19 23:38:10 1986 Date-Received: Wed, 20-Aug-86 23:25:51 EDT References: <219@munsell.UUCP> Organization: MIPS Computer Systems, Sunnyvale, CA Lines: 33 > In a network of Suns, is there a way to hide the existance of all the > local clients so that mail that escapes to the outside world does *not* > have local names on it? Decided to post, since this is of general interest. Here are the two chunks of my sendmail.cf that do the dirty work... # known SMTP/ethernet hosts CSescargot boson mips2 CSpachyderm pachy derm CSdumbo S4 # hide local etherhosts from the outside world. relies on mail to # localhost!user being correctly delivered to all network host users R$=w!$=S:$- $1!$3 mips!h:u => mips!u Your milage may vary, depending on your local setup. I have not tried this under 4.3bsd yet. The important part is to put whatever rule you need in S4, the sender address rewriting rule (again, this is under 4.2, I understand that 4.3bsd is a bit different). The basic idea is to set up a class containing your local hosts (can be read in from a file for a cleaner implementation than above), and then catch sender addresses that match that class and rewrite them. You then need to ensure that each user receives correctly mail delivered to the main host of course. -- ***dan {decwrl, glacier}!mips!djl The Sun is Shining -- Home At Last!