Re: [Exim] smart host/smart relay

Page principale
Supprimer ce message
Répondre à ce message
Auteur: adi
Date:  
À: R.M. Dikshie F.
CC: exim-users
Sujet: Re: [Exim] smart host/smart relay
On Tue, Aug 14, 2001 at 07:50:43PM +0700, R.M. Dikshie F. wrote:
> 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)


make sure you put that router *after* lookuphost router.

> 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 ?


smart_route:
driver = domainlist
transport = remote_smtp
route_list = *.com mx2.itb.ac.id bydns_a

lookuphost:
driver = lookuphost
transport = remote_smtp
ignore_target_hosts = 127.0.0.0/8

Regards,

P.Y. Adi Prasaja