
ob at e-gitt
Apr 14, 2011, 2:54 AM
Post #1 of 1
(332 views)
Permalink
|
|
[Bug 1103] New: exiqgrep fails on messages smaller 1K
|
|
------- You are receiving this mail because: ------- You are on the CC list for the bug. http://bugs.exim.org/show_bug.cgi?id=1103 Summary: exiqgrep fails on messages smaller 1K Product: Exim Version: 4.75 Platform: All OS/Version: All Status: NEW Severity: bug Priority: low Component: Exigrep AssignedTo: nigel [at] exim ReportedBy: ob [at] e-gitt CC: exim-dev [at] exim exiqgrep gets a parse error ("Line mismatch") on mails smaller than 1K: exim lists those messages with only the number of bytes and no unit, the regex reading the line expects a unit in every case: The original line is in function collect: if ($line =~ /^\s*(\w+)\s+((?:\d+(?:\.\d+)?[A-Z])?)\s*(\w{6}-\w{6}-\w{2})\s+(<.*?>)/) { I propose the following change: if ($line =~ /^\s*(\w+)\s+((?:\d+(?:\.\d+)?[A-Z]{0,1})?)\s*(\w{6}-\w{6}-\w{2})\s+(<.*?>)/) { -- Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email -- ## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
|