From 93b8d564ba3b05d261f6b2d7d0dc0be05db1c788 Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Sun, 11 May 2025 01:55:45 +0200 Subject: [PATCH] Remove parsing of NNTP-Posting-Host. NNTP-Posting-Host contains the client, not the server. Signed-off-by: Thomas Hochstein --- bin/gatherstats.pl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bin/gatherstats.pl b/bin/gatherstats.pl index 22ebcc8..6819b62 100755 --- a/bin/gatherstats.pl +++ b/bin/gatherstats.pl @@ -295,12 +295,6 @@ sub HostStats { # reset if IP address undef($Host) if $Host && $Host !~ /[g-z]/i; } - # NNTP-Posting-Host - if (!$Host && $Header{'nntp-posting-host'}) { - ($Host) = $Header{'nntp-posting-host'} =~ /^\s*([a-z0-9-_]+\.[a-z0-9-_.]+)/i; - # reset if IP address - undef($Host) if $Host && $Host !~ /[g-z]/i; - } # Path if (!$Host) { if ($Header{'path'} =~ /!([^!]+)!.POSTED!/) {