[Exim] about condition?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tatsuhiro Nishi
Date:  
À: exim-users
Sujet: [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