|
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
Victor.Duchovni
morganstanley.com
Date: Mon Jun 02 2003 - 09:19:28 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, 31 May 2003, Joshua Myles wrote:
> My problem is that aliases on mail.bar.foo.edu are being ignored. For
> example, my aliases file includes
>
> root: jamyles
> postmaster: root
>
> If I send mail to postmaster
mail.bar.foo.edu, the message is sent to
> root
foo.edu instead of jamyles
foo.edu (or, ideally, to
> jamyles
mail.bar.foo.edu).
>
When $myorigin is not local (is not listed in $mydestination), you must
put a local domain qualified on all aliases that you want to deliver
locally:
root: jamyles
some.local.domain
postmaster: root
some.local.domain
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.
Use masquerade_domains (and if necessary canonical_maps) to rewrite the
headers and envelope so that outbound mail carries the desired domain
qualifier.
--
Viktor.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]