Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 1995 18:28:39 -0500 (EST)
From:      "Jonathan M. Bresler" <jmb@kryten.Atinc.COM>
To:        Robert Gorichanaz <wraith@hollywood.cinenet.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Configuring sendmail
Message-ID:  <Pine.3.89.9511041856.G1620-0100000@kryten.atinc.com>
In-Reply-To: <199511032324.XAA22260@hollywood.cinenet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.3.89.9511041856.G1620-0100000>