OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: $myorigin, $mydestination, and local delivery

From: Joshua Myles (jamylesmtu.edu)
Date: Mon Jun 02 2003 - 09:41:59 CDT


On Mon, 2 Jun 2003 Victor.Duchovnimorganstanley.com wrote:

> This said, it is far better to set myorigin == $myhostname, and to
> ensure that $myhostname is listed in $mydestination on any host
> which performs local mail delivery.

That's what I suspected. It seems nasty to use $myorigin = foo.edu and then
work around all of the things that break with that setting, like having an
alias file full of

   root: rootmail.bar.foo.edu

> Use masquerade_domains (and if necessary canonical_maps) to rewrite the
> headers and envelope so that outbound mail carries the desired domain
> qualifier.

I'm working on this right now. Thanks for the pointers.

Josh