[Bug 2574] Not local reject

Exim Bugzilla via Exim-dev <[email protected]>
Newsgroups gmane.mail.exim.devel
Message-ID <[email protected]/>
https://bugs.exim.org/show_bug.cgi?id=2574

--- Comment #3 from Jan Pazdziora <[email protected]> ---
The
https://github.com/Exim/exim/commit/8465050bcc16513cc5e7fa492a1b9615fd382c95
which did

diff --git a/src/src/utils/eximstats.src b/src/src/utils/eximstats.src
index 12552df68..f89e4eeb6 100644
--- a/src/src/utils/eximstats.src
+++ b/src/src/utils/eximstats.src
@@ -1915,7 +1915,7 @@ sub generate_parser {
     # Rejects can have no MSGID...
     if ($flag eq "Re" && $id !~ /^[-0-9a-zA-Z]+$/) {
       $id   = "reject:" . ++$rej_id;
-      $extra -= 17;
+      $extra -= length($id) + 1;
     }
 ';

does not seem like the correct fix.

First it looks at $id after it got that synthetic value "reject:...", which is
not what the input log line had.

Even if I flip the order of those lines to look at the original value of $id, I
get no nonlocals recognized, at least compared to the trivial $extra -= 24;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.