Re: [Exim] smart host/smart relay

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: John Burnham
Fecha:  
A: exim-users
Asunto: Re: [Exim] smart host/smart relay
> I try to make smart_route to relay emails like this :
>
>
> smart_route:
> driver = domainlist
> transport = remote_smtp
> route_list = * mx2.itb.ac.id bydns_a
>
>
> but all emails are delivery (direct) to destination.
> (*not* via mx2.itb.ac.id)
>
> How to solve my problems ?


The order of directors and routers in the config file matters - if you have
put this after a router that does an MX lookup and tries direct connection
then it will be that router that tries to deliver the mail.

>
> oh..one more thing, how to make smart_route configuration
> which only *.com (dot com) domain will send via mx2.itb.ac.id, and

others
> delivery (direct) to destination ?
>

route_list = *.com mx2.itb.ac.id bydns_a
probably.
John