[exim] run a command

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Cyborg
日付:  
To: Exim-users
題目: [exim] run a command
Hi all,

there is this nice "run{/enter/bin/here args}{1}{put fail string here}"
construct. According to docs, it sets $value with the output of the cmd
used.

how can i make that visible ?

this is not working, because it's an example :

drop  message    = you have been blacklisted.
         condition = ${run{/usr/bin/id >/tmp/id}{yes}{yes}}


(id will try to id the term ">/tmp/id" instead of reroute the output to it.)

How do i get the output of id ( not to find that userdata ) and log it
to the mainlog ?


best regards,

Marius