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

Top Page
Delete this message
Reply to this message
Author: Peter Radcliffe
Date:  
To: exim-users
Subject: 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@???