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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Peter Bowyer
日付:  
To: exim users
題目: 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