INN commit: trunk/scripts (innreport_inn.pm)
INN Commit
rra at isc.org
Sun Jun 14 12:50:23 UTC 2020
Date: Sunday, June 14, 2020 @ 05:50:22
Author: iulius
Revision: 10386
innreport: silent normal behaviour from rnews
- Only "bad_article missing Message-ID" was skipped whereas other
header fields are also checked. Change to "bad_article missing ".
- Skip all "rejected 437" and "rejected 439" because responses
could be different with other news servers.
Modified:
trunk/scripts/innreport_inn.pm
------------------+
innreport_inn.pm | 18 ++++--------------
1 file changed, 4 insertions(+), 14 deletions(-)
Modified: innreport_inn.pm
===================================================================
--- innreport_inn.pm 2020-06-13 15:21:43 UTC (rev 10385)
+++ innreport_inn.pm 2020-06-14 12:50:22 UTC (rev 10386)
@@ -1877,22 +1877,12 @@
$rnews_host{$host}++;
return 1;
}
- # rejected 437 ECP rejected
- return 1 if $left =~ m/rejected (?:437|439) ECP rejected/o;
# rejected 437 "Subject" header too long
return 1 if $left =~ m/header too long/o;
- # rejected 437 Too long line in header 1163 bytes
- return 1 if $left =~ m/rejected (?:437|439) Too long line in header/o;
- # rejected 437 Too many newsgroups (meow)
- return 1 if $left =~ m/rejected (?:437|439) Too many newsgroups/o;
- # rejected 437 Space before colon in "<a" header
- return 1 if $left =~ m/rejected (?:437|439) Space before colon in/o;
- # rejected 437 EMP (phl)
- return 1 if $left =~ m/rejected (?:437|439) EMP/o;
- # rejected 437 Scoring filter (8)
- return 1 if $left =~ m/rejected (?:437|439) Scoring filter/o;
- # bad_article missing Message-ID
- return 1 if $left =~ m/bad_article missing Message-ID/o;
+ # rejected 437 Reason...
+ return 1 if $left =~ m/rejected (?:437|439)/o;
+ # bad_article missing (Message-ID|Path|...)
+ return 1 if $left =~ m/bad_article missing /o;
# cant unspool saving to xxx
return 1 if $left =~ m/cant unspool saving to/o;
}
More information about the inn-committers
mailing list