On Sunday, June 07, 2009 at 16:12 CEST,
     Ulrich Mierendorff <ulrich.mierendo...@gmx.net> wrote:

> My email is handled by two servers A and B with different IPs.
> If someone sends an email to my domain "example.com", it will be
> received by server A and then stored on that server.
> If I send an email to someone else from {userna...@example.com,
> I will connect to server B that will then send this email.
> 
> On server B a postfix instance is running that handles the mail.
> 
> Everything I have described is working correctly, but I have a problem:
> If I want to send an email from {userna...@{example.com|localhost} to
> {userna...@{example.com|localhost}, it has to be relayed to server A,
> because this is my "inbox-server".
> So the question is, how can I configure postfix on my server B so
> that it relays all inbound mail (mail sent to example.com/localhost)
> to server A?

Unless you have a funky internal DNS setup (like a NATed internal
network where server B cannot connect to server A via the latter's
external address) or a poor configuration on server B you don't have
to do anything. Server B will, just like all other computers in the
world that don't think they're the final destination for example.com,
make an MX lookup in DNS for example.com and then contact server A.

-- 
Magnus Bäck
mag...@dsek.lth.se

Reply via email to