Le Thu 23/04/2009, Marc Jauvin disait
> Victor Duchovni <victor.ducho...@morganstanley.com> wrote:
>
>> On Thu, Apr 23, 2009 at 03:15:48PM -0400, Marc Jauvin wrote:
>>
>>> Note: using iptables to reroute traffic for Godaddy's IP address does work,
>>> but it's unlikely to work reliably if they change those IP addresses (or
>>> add new ones to the mix).
>>
>> Well, how would Postfix know it is Godaddy's SMTP server? You have to
>> know either the name or the IP address, so apply the fix at the naming
>> or routing level.
>
> Yes, it would have to be done based on the mx records' hostname...
>
> Outside of postfix, how would you apply a fix at the naming level under Linux?

You could use a local dns server which would serve another IP address for this 
name. It is easy to do with unbound and its local_data.

-- 
Erwan

Reply via email to