Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2003 12:53:28 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        questions@freebsd.org
Subject:   Re: How do I change the envelope from address in sendmail
Message-ID:  <20030614005328.GA27382@grimoire.chen.org.nz>
In-Reply-To: <3EEA6D43.3050101@potentialtech.com>
References:  <3EEA6D43.3050101@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 13, 2003 at 08:33:07PM -0400, Bill Moran wrote:

[...]
> howtos I found, but it doesn't seem to be helping.  What's the proper way to
> get sendmail to use user@domain.com instead of user@machine.domain.com?

You have to add the following into your /etc/mail/`hostname`.mc file.

    MASQUERADE_AS(domain.com)
    FEATURE(`masquerade_envelope')

Cheers.
-- 
Jonathan Chen <jonc@chen.org.nz>
------------------------------------------------------------------------
"We laugh in the face of danger, we drop icecubes down the vest of fear"
                                                 - Edmond Blackadder III



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