OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: "virtual" for some addresses and "transport" for the rest

Victor.Duchovnimorganstanley.com
Date: Thu Apr 15 2004 - 10:54:18 CDT


On Thu, 15 Apr 2004, Thomas Kaehn wrote:

> Hello,
>
> is it possible to use Postfix-style virtual aliases for some addresses
> within a domain, while sending the rest to a transport destination?
>
> Example:
>
> virtual:
> test.dom ANY
> localtest.dom local

Remove the "test.com ANY" key and it will work. Make test.dom a relay
domain:

        relay_domains = test.dom ...

>
> transport:
> test.dom smtp:[192.168.11.11]
>
> Unfortunately Postfix rejects mail for unknown recipients instead of
> consulting the transport map.
>

Virtual alias domains only exist as translation tables to real domains on
the primary MX for the domain, forwarding them would cause loops. If the
machine hosting some of the mailboxes is remote, the domain is a relay
domain.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.