OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: redirecting mail after mx resolving

From: Marc Cuypers (mozillaflexicyber.be)
Date: Thu Apr 01 2004 - 14:00:18 CST


Wietse Venema wrote:
> Marc Cuypers:
>
>>Hi,
>>
>>I looked in a lot of places but I can't find the answer.
>>
>>This is what I want to do:
>> redirect email, that should be sent to a certain mail-server (according
>>to the mx record), to another mail-server of my choosing.
>
>
> If you know that you are going to override the mail host for some
> recipient domain, specify a transport map entry for that recipient
> domain.
>
If I'm not mistaken, I need to know the domain for which I want to
override the mail-server, before I create the transport table. But...
I want to override all domains that are hosted by a certain provider,
so I don't know which domains that will be. Only at the moment the mx-
record is resolved I know it's a mail-server of that provider, and at
that moment I can decide to direct the e-mail via another mail-server.
Can this be done with the transport-map? If not, can it be done?

-- Marc