*BSD News Article 54717


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!chi-news.cic.net!usc!sdd.hp.com!hp-pcd!hp-cv!reuter.cse.ogi.edu!news.willamette.edu!news.orst.edu!news.uidaho.edu!usenet
From: Faried Nawaz <fn@uidaho.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help with Sendmail
Date: 05 Nov 1995 20:28:27 -0800
Organization: yow
Lines: 25
Sender: nawaz921@brownlee.cs.uidaho.edu
Distribution: world
Message-ID: <imwx9ebc44.fsf@brownlee.cs.uidaho.edu>
References: <47e973$mlr@hollywood.cinenet.net>
Reply-To: fn@uidaho.edu
NNTP-Posting-Host: brownlee.cs.uidaho.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
In-reply-to: wraith@cinenet.net's message of 3 Nov 1995 15:39:15 -0800

In article <47e973$mlr@hollywood.cinenet.net> wraith@cinenet.net (Robert Gorichanaz) writes:

$ I need a quick hand with a rewrite rule for sendmail with FreeBSD.
$ 
$ We have an internal network, a freebsd firewall, and connection to
$ the internet.
$ 
$ What I need to do is, for all internal mail crossing the firewall,
$ change the From: and Return_Path: lines from:
$ 
$ 		user@machine-name.domain-name.com
$ 
$ to
$ 
$ 		user@domain-name.com

DM domain-name.com

in your /etc/sendmail.cf?


$ Anyone out there have more expertise than I?

if you're going to have to do a lot of sendmail stuff in the future, i
suggest you buy the O' Reilly & Assoc sendmail book.