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

** 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

Reply via email to