Hello,

First of all, thanks mouss for the reply.

I have made few steps forward in my hub and spoke setup.
I set up the hub which is forwarding mail to the agencies' server based on a 
MySQL table.

The problem is located on agencies' servers. As I first said, I have only 1 
domain.
When I want to send a mail to a user from the other site (and same domain), I 
get this error:
"Recipient address rejected: User unknown in virtual mailbox table".

Indeed, the 2 agencies' servers are setup to be the final destination for the 
same domain.
I tried the "relay_recipient_maps" directive with no success.

Could someone help me please?
Let me know if you need more accurate details.
Best regards.
-- 
***************************
Jonathan Amiez
Administrateur système
j...@edatis.com
it-pa...@edatis.com
ad...@edatis.com
***************************
Le samedi 26 juin 2010 00:01:27, mouss a écrit :
> Jonathan Amiez a écrit :
> > Hello everyone.
> > 
> > I'm trying to set up a specific mail server configuration on 3 sites.
> > The first one is hosting a mailhub (with spam filter, etc.) and the
> > 2 others are agencies.
> > The 2 agencies use the same domain (eg. edatis.com) for mailing.
> > I'm currently working on the first agency's server.
> > Accounts are stored in MySQL db replicated on the 2 sites from the hub.
> > 
> > So, my problem is : if I don't care about "transport" statements, all
> > mail is delivered on the local agency server, and if I do, mail is
> > directly sent to the other agency, without passing by the mailhub.
> > I need all outgoing email (remote agency or internet) to pass by the hub.
> > 
> > I found very few inaccurate info about this setup (seems kind of unusual)
> > so I'm asking for help. The objective is also supporting an undefined
> > number of agency with this principle.
> > 
> > Here are my conf files :
> > [snip]
> 
> by default, mail goes to the MX of the domain. you can override that
> with local transport maps, but these maps only apply to you infrastructure.
> 
> if you want mail to go to joe.example.com, you need to configure an MX
> record in DNS:
> 
> example.com.  MX      10      joe.example.com.
> 
> (Warning: the leading dots aren't just for decoration).
> 
> an excellent DNS resource is:
>       http://www.zytrax.com/books/dns/

Reply via email to