On 25/04/2021 22:51, Wayne via Exim-users wrote:
transport_filter = ${if
match_address{$sender_address}{myfromaddress@somedomain}{/bin/mycmd}}
== [email protected] 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
--
## List details at https://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/