Re: [Exim] ${if eq ... } in pipe command

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Peter Radcliffe
Datum:  
To: exim-users
Betreff: Re: [Exim] ${if eq ... } in pipe command
Philip Hazel <ph10@???> probably said:
> You need some internal quoting in there. Exim expands each individual
> argument separately. Because you have (necessarily) got spaces in your
> ${if item, you have to quote that argument. Try
>
>   command = "perl -T /usr/local/rt/bin/rtmux.pl \
>                      rt-mailgate helpdesk \
>                      \"${if eq {$local_part}{rt} {correspond}{action}}\""


Weird, this is only applicable to 'command =' lines ?
I notice now it's in the spec. Doh. Didn't occur to me that the two would
be different.

Thanks,
P.

-- 
pir               pir@???      pir@???      pir@???