[exim] run a command

Pàgina inicial
Delete this message
Reply to this message
Autor: Cyborg
Data:  
A: Exim-users
Assumpte: [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