Re: [exim] Help debugging pipe transport

Página Inicial
Delete this message
Reply to this message
Autor: Bob Johannessen
Data:  
Para: exim-users
Assunto: Re: [exim] Help debugging pipe transport
Jason Martens wrote:
> On Sat, 2005-04-16 at 13:47 +0200, Brian Candler wrote:
>>Try replacing /usr/local/bin/script with
>>
>>#!/bin/sh
>>date >>/tmp/script.log
>>id >>/tmp/script.log
>>cat - >>/tmp/script.log
>>exit 0
>
> Ok, I tried that, and all I get in /tmp/script.log is the id command
> output. The date and cat output is nowhere to be found. Do I need to
> use the "use_shell" option?


Try adding (replace /path/to/ with the path to the echo binary):

/path/to/echo $PATH >> /tmp/script.log

to the script. Looks to me like the PATH environment variable may
not be what you'd expect.


    Bob