[Exim] about condition?

Top Page
Delete this message
Reply to this message
Author: Tatsuhiro Nishi
Date:  
To: exim-users
Subject: [Exim] about condition?
Hi.

I'm testing Exim4.30.
I can't understanding well about "condition" in router section.
I want to check to "condition" whether it is correct.

I want to set up so that my Exim forwarding to hostA.example.co.jp, when
/exim/hostA-domains.db has an $sender_address_domain.

My configuration is below.

from_domain_routing_to_hostA:
  driver        = manualroute
  transport     = remote_smtp
  condition     = ${lookup{$sender_address_domain}dbm{/exim/hostA-domains.db}{yes}{no}}
  route_list    = * hostA.example.co.jp


When db_file has $sender_address_domain, the condition equal yes. And
routing to hostA.
When db_file has not $sender_address_domain, the condition is no. And
skip this router.

Is it correct?



Regards,
Nishi