[Exim] How run some command?

Top Page
Delete this message
Reply to this message
Author: user
Date:  
To: exim-users
Subject: [Exim] How run some command?
Hi.

I have problem with configuration my exim. I want run command in
local_delivery transport. But (i think) its imposible, so i write this:

run:
driver = accept
condition = ${if !eq {$received_protocol}{run-done} {1}{0} }
transport = run_pipe

run_pipe:
driver = pipe
command = /usr/local/exim/exim -oMr run-done -bS; /usr/local/bin/runme
$sender_address

it dont work of course ;)

I want make something like that.. Can anybody help me with this problem?
Or perhaps exist other way for run command..

Thanks and sorry for this newbe question.