From owner-freebsd-questions Sat Nov 4 15:42:32 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA24290 for questions-outgoing; Sat, 4 Nov 1995 15:42:32 -0800 Received: from kryten.atinc.com (kryten.Atinc.COM [198.138.38.7]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA24285 for ; Sat, 4 Nov 1995 15:42:28 -0800 Received: (jmb@localhost) by kryten.atinc.com (8.6.9/8.3) id SAA02431; Sat, 4 Nov 1995 18:28:40 -0500 Date: Sat, 4 Nov 1995 18:28:39 -0500 (EST) From: "Jonathan M. Bresler" Subject: Re: Configuring sendmail To: Robert Gorichanaz cc: freebsd-questions@freebsd.org In-Reply-To: <199511032324.XAA22260@hollywood.cinenet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Fri, 3 Nov 1995, Robert Gorichanaz wrote: > > Part 2: Here's where it gets tricky. I need to change the From: lines > and Return Path: lines from > > user@internal-machine-name.domain-name.com > to > user@domain-name.com MASQUERADE_AS() macro will accomplish this. (o'reilly sendmail book p 747 see also EXPOSED_USER() macro. nemeth (red book) p 492) have all mail from the inside forwarded to the machine that will rewrite the addresses (probably not thre firewall machine, better to run smapd from tis's fwtk on the firewall) and then forward the mail thru the firewall. Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. FreeBSD Postmaster jmb@FreeBSD.Org | 2341 Jeff Davis Hwy play go. | Arlington, VA 22202 ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346