-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] 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
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 <email address hidden>
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+(<.*?>)/) {
12.04 LTS.
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] 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
-- /bugs.launchpad .net/bugs/ 1006293
You received this bug notification because you are subscribed to the bug
report.
https:/
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 <email address hidden>
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+( <.*?>)/ ) { w+)\s+( (?:\d+( ?:\.\d+ )?[A-Z] ?)?)\s* (\w{6}- \w{6}-\ w{2})\s+ (<.*?>) /) {
+ if ($line =~ /^\s*(\
To manage notifications about this bug go to: /bugs.launchpad .net/ubuntu/ +source/ exim4/+ bug/1006293/ +subscriptions
https:/