Re: [exim] $header_* not defined in router?

Top Page
Delete this message
Reply to this message
Author: Carlo Wood
Date:  
To: Magnus Holmgren
CC: exim-users
Subject: Re: [exim] $header_* not defined in router?
Ok, let me try again.

The following router:

spamtest:
  debug_print = "R: spamtest for $domain"
  domains = "${if exists{CONFDIR/hubbed_hosts}\
                   {partial-lsearch;CONFDIR/hubbed_hosts}\
              fail}"
  condition = ${if def:header_To: {yes}{no}}
  driver = manualroute
  same_domain_copy_routing = yes
  transport = remote_smtp
  route_data = ${lookup{$domain}partial-lsearch{CONFDIR/hubbed_hosts}}




Gives the result:


R: spamtest for alinoe.com
checking "condition"
spamtest router skipped: condition failure


Why does it fail? Please see the previous post for details
about how I sent the mail and what the contents of the mail
are (It does include a To: header).

--
Carlo Wood <carlo@???>