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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Carlo Wood
Fecha:  
A: Magnus Holmgren
Cc: exim-users
Asunto: 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@???>