Re: [exim] Can I execute an external program in condition?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Peter Bowyer
Fecha:  
A: exim users
Asunto: Re: [exim] Can I execute an external program in condition?
On 15/03/06, Viktor Vislobokov <vvislobokov@???> wrote:
> Hi!
>
> Can I execute an external program in condition?
> Would you put an example here?


The ${run expansion item will do this - see

http://www.exim.org/exim-html-4.60/doc/html/spec.html/ch11.html#SECTexpansionitems

condition = ${run prog args}{0}{1}

Read carefully how the return code and standard output from the
command are handled.

Peter

--
Peter Bowyer
Email: peter@???
Tel: +44 1296 768003
VoIP: sip:peter@???
VoIP: *5048707000@???
FWD: **275*5048707000
VoipTalk: **473*5048707000