Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 1997 08:19:54 +0930
From:      Greg Lehey <grog@lemis.com>
To:        root@ns1.apginet.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Re-write sendmail sender address rules?
Message-ID:  <19970919081954.06679@lemis.com>
In-Reply-To: <9709172252.AA11588@ns1.apginet.com>; from root@ns1.apginet.com on Wed, Sep 17, 1997 at 05:52:19PM -0500
References:  <9709172252.AA11588@ns1.apginet.com>

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



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