On 07/20/2013 09:49 AM, Mike Cardwell wrote:
I want a transport_filter to execute under certain conditions only. I
attempted making it so that if the condition didn't succeed then it
expanded to an empty string, but that didn't work. E.g:

   transport_filter = "${if CONDITION{command to filter though}{}}"

This won't work because the split-by-whitespace is done before expansions...

Is there a good solution for this?

Could you pass the condition to the filter and have it decide to do nothing?
--
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/

Reply via email to