* Ralf Hildebrandt <ralf.hildebra...@charite.de>:
> # mailq | tail
> -- 2954 Kbytes in 421 Requests.
> 
> # postfix-2.9-20110321/auxiliary/qshape/qshape.pl active deferred hold
>                                          T  5 10 20 40 80 160 320 640 1280 
> 1280+
>                                   TOTAL 74  0  0  0  0  0   0   0   0 0    74

It should probably handle old and new IDs precisely, but this makes it
work for me:

--- postfix-2.9-20110320/auxiliary/qshape/qshape.pl2007-03-08 
15:39:42.000000000 +0100
+++ postfix-2.9-20110321/auxiliary/qshape/qshape.pl2011-03-23 
18:43:06.000000000 +0100
@@ -212,7 +212,7 @@
 
 sub qenv {
     my ($qfile) = @_;
-    return unless $qfile =~ m{(^|/)[A-F0-9]{6,}$};
+    return unless $qfile =~ m{(^|/)[A-Za-z0-9]{6,16}$};
     my @st = lstat($qfile);
     return unless (@st > 0 && -f _ && (($st[2] & 0733) == 0700));
                 

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebra...@charite.de | http://www.charite.de
            

Reply via email to