Hello community
I have a problem with my haleo installation. It works great just out of the box.
I do all the logging with syslog-ng and the haleo plugin. So I log to syslog-ng the postfix log as well.
It appears in haleo, everything is right so far. But this morning I discovered that haleo does NOT show me the e-mail addresses in the message column as it should.
Here is an example:
haleo output:
postfix/virtual[24500]: 5E082764049: to=, orig_to=, relay=virtual, delay=0.62, delays=0.43/0.01/0/0.18, dsn=2.0.0, status=sent (delivered to maildir)
and message in the haleo database:
postfix/virtual[24500]: 5E082764049: to=<xxx@test.de>, orig_to=<blub@test.de>, relay=virtual, delay=0.62, delays=0.43/0.01/0/0.18, dsn=2.0.0, status=sent (delivered to maildir)
kind regards
dagonet
haleo plugin not showing e-mail addresses
Moderators: Developers, Moderators
Hi community,
after spending hours and hours for research I finally find the solution:
changing line 345 in haloe.php from
<?php print ($haloe_message[$haloe_config["textField"]]);?>
to
<?php print htmlspecialchars($haloe_message[$haloe_config["textField"]]);?>
did the trick. Look at http://www.php.net/manual/de/function.h ... lchars.php
After appling this function the output of haloe was correct.
regards
Dagonet
after spending hours and hours for research I finally find the solution:
changing line 345 in haloe.php from
<?php print ($haloe_message[$haloe_config["textField"]]);?>
to
<?php print htmlspecialchars($haloe_message[$haloe_config["textField"]]);?>
did the trick. Look at http://www.php.net/manual/de/function.h ... lchars.php
After appling this function the output of haloe was correct.
regards
Dagonet
Who is online
Users browsing this forum: No registered users and 2 guests