Auteur: Robert Kehl Date: À: Pat Lashley, exim-users Sujet: Re: [Exim] Multi-condition ACL statement in a macro possible?
----- Original Message -----
From: "Pat Lashley" <patl+cyrus@???>
Sent: Saturday, September 13, 2003 8:01 AM
Subject: [Exim] Multi-condition ACL statement in a macro possible?
> warn message = X-Test: YES
> condition = ${if {$h_subject}{macro test}{yes}{no}}
>
> No matter what combination of \ and \n I try, it seems to always
> make the condition part of the X-Test header's value. Or an "unknown
> ACL condition/modifier" error message.
This is the intended behaviour IMHO. A macro simply substitutes it's
name through it's exact contents. An example - you define a multiline
macro using \ like this:
The \ won't be touched, it appears in the result as it appears in the
macro. To get around this, define each line as a single macro and omit
the \ like shown below: