Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2008 13:59:11 -0000
From:      "Barry Byrne" <barry.byrne@wbtsystems.com>
To:        "'Jerahmy Pocott'" <quakenet1@optusnet.com.au>, "'FreeBSD Questions'" <freebsd-questions@freebsd.org>
Subject:   RE: Sendmail: sub-domain masquerade as top level
Message-ID:  <009501c84e10$d147dc50$c5010c0a@SUNYA>
In-Reply-To: <8089C65A-1218-4FCE-8040-16D21296E3DE@optusnet.com.au>
References:  <8089C65A-1218-4FCE-8040-16D21296E3DE@optusnet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
 
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org 
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of 
> Jerahmy Pocott

> I'm having an issue with getting sendmail to masquerade
> as the top level domain when the host is a sub domain.
> 
> For example I want server.exmaple.com to send mail as
> user@example.com rather than user@server.example.com,
> how ever the masquerade options don't seem to work for
> this.. It works fine if the server is a different domain, but
> not when it's a sub domain..
> 
> How do I get this behavior?

Jerahmy,

You don't say what you've tried already. I use postfix these days, but from
memory, something like the following should work for you:

MASQUERADE_AS(`domain.com')
MASQUERADE_DOMAIN(`sub.domain.com')

 - Barry






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009501c84e10$d147dc50$c5010c0a>