12.04 LTS. -----Original Message----- From: boun...@canonical.com [mailto:boun...@canonical.com] On Behalf Of Chuck Short Sent: Wednesday, May 30, 2012 12:11 PM To: Milton Ngan Subject: [Bug 1006293] Re: exiqgrep fails to parse output of exim4 -bp if the mail message is less than 1k
Which version is this with? Thanks chuck ** Changed in: exim4 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1006293 Title: exiqgrep fails to parse output of exim4 -bp if the mail message is less than 1k Status in “exim4” package in Ubuntu: Incomplete Bug description: If you have a message in the queue that is less than 1k in size, exiqgrep will fail with a message like this: Line mismatch: 2m 719 1SZe77-00047t-V9 <r...@xxx.com> The problem is that the regular expression requires there to be a suffix on the size. Based on the previous implementations of exiqgrep, it looks like a ? is missing after the [A-Z]. - if ($line =~ /^\s*(\w+)\s+((?:\d+(?:\.\d+)?[A-Z])?)\s*(\w{6}-\w{6}-\w{2})\s+(<.*?>)/) { + if ($line =~ /^\s*(\w+)\s+((?:\d+(?:\.\d+)?[A-Z]?)?)\s*(\w{6}-\w{6}-\w{2})\s+(<.*?>)/) { To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/1006293/+subscriptions -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to exim4 in Ubuntu. https://bugs.launchpad.net/bugs/1006293 Title: exiqgrep fails to parse output of exim4 -bp if the mail message is less than 1k To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/1006293/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs