How do I change the envelope from address in sendmail

Jonathan Chen jonc at chen.org.nz
Fri Jun 13 17:53:34 PDT 2003


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 at domain.com instead of user at 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 at chen.org.nz>
------------------------------------------------------------------------
"We laugh in the face of danger, we drop icecubes down the vest of fear"
                                                 - Edmond Blackadder III


More information about the freebsd-questions mailing list