Re: Relay inbound mail to another server

2009-06-07 Thread mouss
Ulrich Mierendorff a écrit : > [snip] > Ok, I am now using ex1.example.com as myhostname and it works perfectly. > Mouss, Magnus, thank you so much! > But I do not understand one thing: Do I also have to add ex1 to DNS? > yes. and make it resolve to the (public) IP of server B. Otherwise, your m

Re: Relay inbound mail to another server

2009-06-07 Thread Ulrich Mierendorff
mouss wrote: Ulrich Mierendorff a écrit : mouss wrote: Ulrich Mierendorff a écrit : Magnus Bäck wrote: On Sunday, June 07, 2009 at 17:02 CEST, Ulrich Mierendorff wrote: My current configuration looks like this one: ... myhostname = example.com m

Re: Relay inbound mail to another server

2009-06-07 Thread mouss
Ulrich Mierendorff a écrit : > mouss wrote: >> Ulrich Mierendorff a écrit : >> >>> Magnus Bäck wrote: >>> On Sunday, June 07, 2009 at 17:02 CEST, Ulrich Mierendorff wrote: > My current configuration looks like this one: > ... > myhostname = exa

Re: Relay inbound mail to another server

2009-06-07 Thread Ulrich Mierendorff
Magnus Bäck wrote: On Sunday, June 07, 2009 at 21:46 CEST, Ulrich Mierendorff wrote: mouss wrote: Then change the hostname of server B. why do you set myhostname = example.com try with something like myhostname = joe.example.com where joe.example.com resolves in DNS. Ideally

Re: Relay inbound mail to another server

2009-06-07 Thread Magnus Bäck
On Sunday, June 07, 2009 at 21:46 CEST, Ulrich Mierendorff wrote: > mouss wrote: > > > Then change the hostname of server B. why do you set > > myhostname = example.com > > > > try with something like > > > > myhostname = joe.example.com > > > > where joe.example.com resolves in DNS. Ideally

Re: Relay inbound mail to another server

2009-06-07 Thread Ulrich Mierendorff
mouss wrote: Ulrich Mierendorff a écrit : Magnus Bäck wrote: On Sunday, June 07, 2009 at 17:02 CEST, Ulrich Mierendorff wrote: My current configuration looks like this one: ... myhostname = example.com myorigin = /etc/mailname mydomain = example.com mydestination = $mydoma

Re: Relay inbound mail to another server

2009-06-07 Thread mouss
Ulrich Mierendorff a écrit : > Magnus Bäck wrote: >> On Sunday, June 07, 2009 at 17:02 CEST, >> Ulrich Mierendorff wrote: >> >> >>> My current configuration looks like this one: >>> ... >>> myhostname = example.com >>> myorigin = /etc/mailname >>> mydomain = example.com >>> mydestination =

Re: Relay inbound mail to another server

2009-06-07 Thread Ulrich Mierendorff
Magnus Bäck wrote: On Sunday, June 07, 2009 at 17:02 CEST, Ulrich Mierendorff wrote: My current configuration looks like this one: ... myhostname = example.com myorigin = /etc/mailname mydomain = example.com mydestination = $mydomain, localhost Is this server B? If so, why does

Re: Relay inbound mail to another server

2009-06-07 Thread Magnus Bäck
On Sunday, June 07, 2009 at 17:02 CEST, Ulrich Mierendorff wrote: > mouss wrote: > > > if you don't configure B to deliver mail for example.com, then it > > should lookup DNS and pass the mail to A. > > > > if at loss, you can still use transport_maps: > > > > example.com relay:[serverA] > >

Re: Relay inbound mail to another server

2009-06-07 Thread Ulrich Mierendorff
mouss wrote: Ulrich Mierendorff a écrit : Hi, 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

Re: Relay inbound mail to another server

2009-06-07 Thread mouss
Ulrich Mierendorff a écrit : > Hi, > > 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 >

Re: Relay inbound mail to another server

2009-06-07 Thread Magnus Bäck
On Sunday, June 07, 2009 at 16:12 CEST, Ulrich Mierendorff 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 fr

Relay inbound mail to another server

2009-06-07 Thread Ulrich Mierendorff
Hi, 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