Re: [exim] making run work

Página Inicial
Delete this message
Reply to this message
Autor: Marc Perkel
Data:  
Para: exim-users
Assunto: Re: [exim] making run work
I'll look again. I do have #!/bin/bash at the top. And I changed it to
run /bin/echo

still stumped

Jakob Hirsch wrote:

> Marc Perkel wrote:
>
>> I'm trying to get this to work in an ACL but the run part isn't running:
>
>
> What do you mean by "isn't running"? The script is not executed or you
> get always back "no"?
>
>>        condition = ${run{/etc/exim/scripts/dict-attack 
>> $sender_host_address}{yes}{no}}

>>
>> the dict-attack script is just and echo statement
>>
>> echo "$*" >> file
>
>
> You have only this in the file? If yes, you have to put "#!/bin/bash"
> on the top, as exim will not start a shell for you. If no, you made
> sure exim can execute the script, the script can write to "file"
> (wherever it is, you did not give a path)?
>
>
> A nice way to test is (like always):
>
> echo '${run{/tmp/test.sh $sender_host_address}{yes}{no}}' | exim -d
> -bh 1.2.3.4 -be
>
>


--
Marc Perkel - marc@???

Spam Filter: http://www.junkemailfilter.com
    My Blog: http://marc.perkel.com
My Religion: http://www.churchofreality.org
~ "If it's real - we believe in it!" ~