[Exim] forwarding to exchange boxen

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Dan Kappus
Data:  
Para: exim-users
Asunto: [Exim] forwarding to exchange boxen
>
> > I've been stumped with this for a while now.
> >
> > We have Exim on a Unix box and an Exchange server on out local network.
> >
> > Basically we want to support our two domains, domainA.com and domainB.com.
> > domianA.com's MX record points to our Exim Mail server which can be seen on
> > the internet. We have set-up domianB.com's MX record to also point to the
> > Exim mail server. We are trying to get Exim then to pass any messages for
> > domainB.com to the Exchange Server. What do we need to do? Currently
> > domainA.com is working fine. Also I can send from Exchange to anyone on


> > domainA.com. External messages to domainB.com are just getting stuck on the
> > Exim machine.
>
> You need to tell Exim (a) to accept mail for domainB.com for relaying,
> by setting relay_domains, and (b) where to send the messages for
> domainB.com by setting up a domainlist router. Check out the examples
> for mail hubbing in the documentatino of domainlist.

Moreover, add a transport and a router as such:
(this is what I did, and it's in the FAQ)

transport

forward_elsewhere:
driver = smtp
hosts = your exchange server
gethostbyname = true/false
delay_after_cutoff = true

driver

forward_elsewhere
driver = smartuser
transport = forward_elsewhere
new_address = $local_part@???

Regards,

Dan Kappus, Systems Administrator
SquareTrade, Inc., www.squaretrade.com

"Building trust in transactions."