Re: [exim] failed: condition name expected, but found ""

Top Page
Delete this message
Reply to this message
Author: Wayne
Date:  
To: Jeremy Harris via Exim-users
Subject: Re: [exim] failed: condition name expected, but found ""
On Sun, Apr 25, 2021 at 11:03:28PM +0100, Jeremy Harris via Exim-users wrote:
> 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


Damn, it just didn't sink in correctly when I read over the first
time. Got it working now.

Thanks Jeremy