Re: [Exim] smart host/smart relay

Pàgina inicial
Delete this message
Reply to this message
Autor: adi
Data:  
A: R.M. Dikshie F.
CC: exim-users
Assumpte: 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