Re: [exim] conditional transport filters?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy Harris
Datum:  
To: exim-users
Betreff: Re: [exim] conditional transport filters?
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.