On 25/04/2021 22:51, Wayne via Exim-users wrote:
> transport_filter = ${if match_address{$sender_address}{myfromaddress@somedomain}{/bin/mycmd}}
> == recipient@??? R=dnslookup T=remote_smtp defer (0): Expansion of "${if" from command "${if match_address{$sender_address}{myfromaddress@somedomain}{/sbin/mycmd}}" in remote_smtp transport failed: condition name expected, but found ""
> >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
>
> "match_address" is listed under Expansion Conditions but that must
> not be what a "condition name" is?
The argument for a transport_filter option is split (by whitespace)
before each element is string-expanded. See the discussion in
the generic-options-for-transports chapter of the docs.
--
Cheers,
Jeremy