RE: [Bug 1006293] Re: exiqgrep fails to parse output of exim4 -bp if the mail message is less than 1k

2012-05-30 Thread Milton Ngan
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 

  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
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1006293] [NEW] exiqgrep fails to parse output of exim4 -bp if the mail message is less than 1k

2012-05-30 Thread Milton Ngan
Public bug reported:

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 

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+(<.*?>)/) {

** Affects: exim4 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs