[Bug 1006293] [NEW] exiqgrep fails to parse output of exim4 -bp if the mail message is less than 1k
Milton Ngan
milton at valvesoftware.com
Wed May 30 08:48:23 UTC 2012
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 <root at 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
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
More information about the Ubuntu-server-bugs
mailing list