[prev in list] [next in list] [prev in thread] [next in thread]
List: exim-users
Subject: Re: [exim] failed: condition name expected, but found ""
From: Wayne via Exim-users <exim-users () exim ! org>
Date: 2021-04-27 17:29:16
Message-ID: 20210427172916.GC6155 () ln-1 ! useunix ! net
[Download RAW message or body]
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@domain.com 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
--
## 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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic