Hello,
I try to define a destination which sends the log entry to root:
destination d_mailroot { program("/usr/bin/mail -s '[syslog] Exception
detected' root"); };
But this is not working. mail does not notice that it should close stdin and
send the mail. I think something like a EOF or at least in single line with a
dot.
How can I accomplish sending the mail?
Thanks,
Florian