[exim] Re: another transport filter question

Top Page
Delete this message
Reply to this message
Author: Ian Z via Exim-users
Date:  
To: exim-users
Subject: [exim] Re: another transport filter question
On Thu, Jan 04, 2024 at 11:41:47AM +0000, Jeremy Harris via Exim-users wrote:

> >    some_transport:
> >      transport_filter = /usr/local/bin/frobnicate_thing ${thing}


> > What happens when ${thing} expands to the empty string? Is it
> > passed as an empty argument to the program, does the program just
> > not get any args?


> The documentation does answer this question.


> "Exim breaks it up into arguments and then expands each argument separately"


I was very aware of this bit. Hard to use transport filters at all
without knowing this.

Conceivably, if exim detects that an arg is empty, it could just
remove it from the list of args. But by the terseness of your reply,
it looks like it doesn't. No worries, I'll cope as always.

--
Ian

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/