Re: [exim] first_delivery condition help

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tony Finch
Datum:  
To: derti
CC: exim-users
Betreff: Re: [exim] first_delivery condition help
On Tue, 5 Apr 2005, derti wrote:
>
> remote_smtp:
> transport_filter = ${if first_delivery {...}\
> {..}}
> results in:
>
> Expansion of "${if" from command "${if first_delivery {/dk/el_dksign -o
> /dk/input.txt -l /dk/log.txt}{/dk/el_dksign -d user@??? -o
> /dk/input.txt -s 2}}" in transport filter failed: condition name expected, but
> found ""


transport_filter (like other command settings in Exim) splits on
whitespace before expansion, so you must quote the ${if to prevent this.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}