Re: [Exim] Quoting "$pipe_addresses" in pipe command

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: I. Forbes
Cc: exim-users
Asunto: Re: [Exim] Quoting "$pipe_addresses" in pipe command
On Thu, 17 Apr 2003, I. Forbes wrote:

> I am using the following "pipe" transport to forward mail through my
> virus scanning script:
>
> pyscan:
>   driver = pipe
>   command = "/usr/local/lib/pyscan/pyscan.py \
>                       -f<$sender_address> \
>                       $pipe_addresses"


<snip>

> sh: -c: line 1: unexpected EOF while looking for matching `''
> sh: -c: line 2: syntax error: unexpected end of file


"sh:" suggests that this error is coming from a shell. Where are you
invoking a shell? The pipe transport you quoted does not invoke a
shell itself.

My guess is that the problem lies in /usr/local/lib/pyscan/pyscan.py.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.