On Monday 06 August 2007 11:30, Nico Rittner wrote:
> i want to rewrite (prefix) the Subject: Header in
> a redirect router depending on if a certain
> header is set/exists or not :
>
> headers_remove = X-BeenHere: Subject:
> headers_add = "Subject: ${if
> def:header_X-BeenHere:{$h_subject:}{[${uc:$local_part}]
> $h_subject:\nX-BeenHere: $tod_full}}"
>
> [...] The debug output claims
> that 'def:header_X-BeenHere:' expands to 'false',
> although it is set definitely.

Is X-BeenHere: present in the incoming mail, or added by the ACLs or a system 
filter? Otherwise $h_X-BeenHere: won't be set.

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

Attachment: pgph6xByX4FgH.pgp
Description: PGP signature

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to