Re: [Exim] How run some command?

Góra strony
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
Dla: user
CC: exim-users
Temat: Re: [Exim] How run some command?
user@??? wrote:

> 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..


How about using ${run} in an unused option, and return a empty string,
or the default? Or (ab)using the transport-filter?

Nico