Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2005 10:07:57 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Ian Moore <no-spam@swiftdsl.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sendmail masquerading configuration
Message-ID:  <20050206100326.A81527@wonkity.com>
In-Reply-To: <200502062037.02494.no-spam@swiftdsl.com.au>
References:  <200502062037.02494.no-spam@swiftdsl.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 6 Feb 2005, Ian Moore wrote:

> I want to make sendmail (on a 5.3-Release server) leave the host name out of
> the sender address when sending mail from that machine.
> I.E. mail from root currently has a sender address of root@myhost.foo.bar, I
> want it to be root@foo.bar instead.

[snip]

> I think that the masquerading settings have changed somewhat since I last did
> this. I read http://www.sendmail.org/m4/masquerading.html, it suggests
> MASQUERADE_AS(`host.domain') but when I tried that, it didn't work.

Adding MASQUERADE_DOMAIN(`myhost.foo.bar') to your .mc may be helpful.

-Warren Block * Rapid City, South Dakota USA



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