Stefan Ritt wrote: |
soren poulsen wrote: |
Hi
I am trying to use this line from the documentation:
Execute new = echo "New message wiht ID $message id of type $type from $long_name on $remote_host" >> /tmp/elog.log
It does not seem to have the intended effect (of printing a line with the message id, etc in the file /tmp/elog.log
)
How can I make this line work ?
Soren
|
Have you started the server with the "-x" flag as written in the documentation?
|
Thanks a lot for replying despite the heat. Yes, I executed with the "-x" flag.
It is just a quoting problem, I guess. This line works:
Execute new = echo New message with ID $message id of type $type from $long_name on $remote_host >> /tmp/elog.log
It evaluates to:
SHELL "echo New message with ID 24706 of type elogtype from Soren Poulsen on 137.138.22.11 >> /tmp/elog.log"
So next step is to replace "new" with "edit" and "delete".
That works as well.
Soren
|