Postfix/virtual Pb

Joost van Baal joostvb at logreport.org
Sat Feb 2 12:40:19 CET 2002


On Sat, Feb 02, 2002 at 12:16:53AM +0100, Joost van Baal wrote:
> On Fri, Feb 01, 2002 at 10:21:50AM +0100, gross, cedric wrote:
> >  
> >  I found a problem with postfix and virtual transport.
> 
> I've taken a quick look at the problem; changing
> 
>  /^(local|smtp|lmtp)$/
> 
> to
> 
>  /^(local|smtp|lmtp|virtual)$/
> 
> in postfix2dlf deals with _part_ of the problem.  (I've committed this
> change to cvs.)  I was able to generate a report from your log, but
> there are still some other problems with the size fields.  I will look
> at these the next days.

I did take a look, the bug is fixed now.  Next to above change, change

    $msgs{$qid}{'size'} = $size;

to
 
    if (!$msgs{$qid}{'size'} or $msgs{$qid}{'size'} eq '-') {
        $msgs{$qid}{'size'} = $size;
    }

in postfix2dlf.  This will make sure no 'Argument "-" isn't numeric'
error messages will show up.

I just commited this change to cvs.  If you still encounter problems, do
not hesitate to contact us!

Bye,

Joost

-- 
Joost van Baal              . .           http://www.logreport.org/
                           .   .
/^LogReport$/               . .               joostvb at logreport.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/development/attachments/20020202/18bf4c5c/attachment.bin 


More information about the Development mailing list