Re: [exim] Help debugging pipe transport

Inizio della pagina
Delete this message
Reply to this message
Autore: Brian Candler
Data:  
To: Jason Martens
CC: exim-users
Oggetto: Re: [exim] Help debugging pipe transport
On Thu, Apr 14, 2005 at 10:53:54AM -0500, Jason Martens wrote:
> I have a pipe transport set up to run a specific script, but when an
> e-mail gets routed to the transport, I get the following error message:
>
> 2005-04-14 09:07:38 1DM50L-0005dc-S3 **
> localpart@??? R=test_router T=test_transport:
> Child process of test_transport transport returned 127 (could mean
> unable to exec or command does not exist) from
> command: /usr/local/bin/testScript
>
> I've checked everything I could think of, but I can't figure out why the
> script won't execute. The permissions are 775. How can I get more
> debugging information to find out why it refuses to execute?


What's the first line of /usr/local/bin/testScript ?

If it says, for example

#!/usr/local/bin/perl

but /usr/local/bin/perl does not exist on your system (or is not accessible
to the user exim is running at right then), that might be the problem.

Brian.