Re: [Exim] running external commands

Top Page
Delete this message
Reply to this message
Author: B .Schulte
Date:  
To: exim-users
Subject: Re: [Exim] running external commands
Hello,


On Wednesday 30 June 2004 10:45, Philip Hazel wrote:
> On Sun, 27 Jun 2004, B .Schulte wrote:
> > /* very simple test (?) */
> > warn message = ${run {echo $sender_address $local_part@$domain}}
> >
> > - ---> I got no message, the condition check tells me the warning should
> > be printed ....
>
> "warn message=" adds the message as a header line to the incoming email
> message.
>
> Try "warn log_message" and see if anything is logged.


now I added $runrc to see the return code of the command.
- --> it's incredible what I see: the command seems to be absent ($runrc=127-->
command not found)... even if I try to give the full path to my command and
setting the permissions to world-executeable (!) ... oops


>
> --
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.
> Get the Exim 4 book:    http://www.uit.co.uk/exim-book

>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##


- --
- ------------------------------
B. Schulte
- ------------------------------