|
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: Wietse Venema (wietse
porcupine.org)
Date: Thu Apr 01 2004 - 14:41:43 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Marc Cuypers:
> 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?
This has nothing to do with MX lookups, and therefore the whole MX
issue is a red herring.
If mail for some IP address must be redirected to a different IP
address, then use IP address redirection (masquerading).
With ipf, one would specify:
rdr fxp0 1.2.3.4 port 25 -> 2.3.4.5 port 25 tcp
This is just one of many possibilities to solve the problem at the
IP level.
Wietse
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]