On 22/01/2020 15:02, Sander Smeenk via Exim-users wrote:
> warn
> add_header = X-SomeHeader: somevalue
> recipients = somerecip@???
> control = dkim_disable_verify
>
> I find that the header is added to -all- messages while i'd expect
> the 'recipients'-condition to prevent that. When the add_header and
> recipients line are swapped it does works as i'd expect.
>
> Is that behaviour ... expected? ;)
Yes.
The conditions and modifiers on a verb are run in
the sequence you give them. The only confusing
ones are "message" which are _evaluated_ in the
sequence youe write them, but only _applied_ at
the end of the ACL.
--
Cheers,
Jeremy