Code

bugfix: better regex in query function
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Sep 2008 08:24:43 +0000 (08:24 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Sep 2008 08:24:43 +0000 (08:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12386 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/client/events/mailqueue.pm

index 9f07f685e85e0943509c3c7539ca02eff242e36e..2be72bd6626ab0a001e555a65aceb524326a289e 100644 (file)
@@ -144,7 +144,7 @@ sub mailqueue_query {
 
             $msg_id = $result_l[$i];
             $result_collection->{$j}->{'msg_id'} = $msg_id;
-            $result_l[$i+1] =~ /^([\!| ])\s+(\d+) (\w{3} \w{3} \d+ \d+:\d+:\d+)\s+([\w.-]+@[\w.-]+)\s+/ ;
+            $result_l[$i+1] =~ /^([\!| ])\s+(\d+)\s+(\w{3}\s+\w{3}\s+\d+\s+\d+:\d+:\d+)\s+([\w.-]+@[\w.-]+)\s+/ ;
             $result_collection->{$j}->{'msg_hold'} =  $1 eq "!" ? 1 : 0 ;
             $result_collection->{$j}->{'msg_size'} = $2;
             $result_collection->{$j}->{'arrival_time'} = $3;