From owner-freebsd-questions Thu Sep 18 15:50:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA14437 for questions-outgoing; Thu, 18 Sep 1997 15:50:23 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA14399 for ; Thu, 18 Sep 1997 15:50:06 -0700 (PDT) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id IAA28512; Fri, 19 Sep 1997 08:19:54 +0930 (CST) Message-ID: <19970919081954.06679@lemis.com> Date: Fri, 19 Sep 1997 08:19:54 +0930 From: Greg Lehey To: root@ns1.apginet.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Re-write sendmail sender address rules? References: <9709172252.AA11588@ns1.apginet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <9709172252.AA11588@ns1.apginet.com>; from root@ns1.apginet.com on Wed, Sep 17, 1997 at 05:52:19PM -0500 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, Sep 17, 1997 at 05:52:19PM -0500, root@ns1.apginet.com wrote: > Greetings, > > We are working on using sendmail as a relay host for internal mail > servers. So far, the internal mail servers are forwarding all > outbound mail to the main mail server. However, once that relay > sends the mail, the "FROM" field still reveals the relay's true > host name. > > What method can be used to "hide" the host name so that all mail > appears to come from "user@domain.tld" ? Find the following line in /etc/sendmail.cf: # who I masquerade as (null for no masquerading) (see also $=M) DM Change it to: # who I masquerade as (null for no masquerading) (see also $=M) DMdomain.tld Then send a SIGHUP to the sendmail process. Greg