On 04/05/16 11:56, Felix Schwarz wrote:
> The docs [1] say
> transport_filter    Use: transports   Type: string†   Default: unset
> "If unset, or expanding to an empty string, no filtering is done. "
> 
> So I tried:
> transport_filter = ${if def:authenticated_id {}{ \
>       /usr/bin/rspamc ... \
> }}

> [1]
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-generic_options_for_transports.html
> 

The string is split on spaces first, and the parts expansion-item
expanded separately (the docs do point this out).  Your first item
was thus a bare "$if{".  You may be able to do what you want by
adding quoting.

-- 
## 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