Sendmail masquerading configuration

Warren Block wblock at
Sun Feb 6 09:08:07 PST 2005

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 at, I
> want it to be root at instead.


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

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

-Warren Block * Rapid City, South Dakota USA

More information about the freebsd-questions mailing list