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

Top Page
Delete this message
Reply to this message
Author: Magnus Holmgren
Date:  
To: exim-users
Subject: Re: [exim] $header_* not defined in router?
On Monday 02 April 2007 18:42, Graeme Fowler wrote:
> You missed the $ off header:
>
> condition = ${if def:header_To: {yes}{no}}
> should be
> condition = ${if def:$header_To: {yes}{no}}


No it should not. "def" takes a variable name (including header_*:); the
dollar sign would cause $header_To: to be expanded and whatever it contains
to be used as the variable to check.

> See http://www.exim.org/exim-html-4.66/doc/html/spec_html/ch11.html


Indeed.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans