Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 1997 08:06:30 -0400 (EDT)
From:      Brian Clapper <bmc@WillsCreek.COM>
To:        questions@FreeBSD.ORG
Subject:   Re: Re-write sendmail sender address rules?
Message-ID:  <199709181206.IAA00477@current.willscreek.com>
In-Reply-To: <971121@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
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" ?
>
> Please send any replies to root@ns1.apginet.com.
>
> Thanks.

Assuming you're using sendmail 8.8.something, see the README file in the
`cf' subdirectory of the sendmail source tree.  You want the stuff on host
masquerading.  In particular, see the section entitled "MASQUERADING AND
RELAYING", and read the paragraphs describing "allmasquerade",
"limited_masquerade", and "masquerade_entire_domain" in the "FEATURE"
section.

See http://www.sendmail.org/ for pointers to other docs and sources of help.
-----
Brian Clapper, bmc@WillsCreek.COM, http://WWW.WillsCreek.COM/
Injustice anywhere is a threat to justice everywhere.
        -- Martin Luther King, Jr.



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