summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9424dc5)
raw | patch | inline | side by side (parent: 9424dc5)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 Apr 2010 14:58:07 +0000 (14:58 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 Apr 2010 14:58:07 +0000 (14:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17527 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/client/events/mailqueue.pm | patch | blob | history |
index 9e0d05e260e8900d20f2332e35b026337354bce0..5845a047f614f6bfc59dab3cb7ea93cfe6dd7bf7 100644 (file)
my $out_msg;
&main::daemon_log("DEBUG: run /usr/bin/mailq\n", 7);
- my $result = qx("/usr/bin/mailq");
+ # my $result = qx("/usr/bin/mailq");
+ my $result = qx("cat /tmp/test-mailq");
my @result_l = split(/([0-9A-Z]{10,12})/, $result);
if (length($result) == 0) {
&main::daemon_log("$session_id WARNING: $error_string", 3);
}
- # If query was successful, add resutls to answer
+ # If query was successful, add results to answer
if ($query_positiv) {
- $j++;
+ $j++;
+ foreach my $key (keys %{ $act_result }) {
+ $act_result->{$key} =~ s/\</\<\;/g;
+ $act_result->{$key} =~ s/\>/\>\;/g;
+ }
$result_collection->{$j} = $act_result;
}
}