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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Peter Radcliffe
Date:  
À: exim-users
Sujet: 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@???