Article View: news.software.nntp
Article #27185Re: Cleanfeed MD5 EMP rejection problem
From: Russ Allbery
Date: Thu, 26 Mar 1998 00:00
Date: Thu, 26 Mar 1998 00:00
36 lines
2001 bytes
2001 bytes
Jan Isley <jisley@eng.mindspring.net> writes:
> I saw this on two posts from one of my users:
> rejecting[perl] [deletia] 437 EMP rejected (md5)
> They are one line, empty articles with a question in the subject header.
> Obviously MD5 is seeing all such empty body articles as the same EMP,
> this user only posted two articles today. So it would seem that the MD5
> filter is seeing all empty bodied articles as the same EMP.
Yup. I went back and forth on this for a while, since inews and similar
such programs often reject articles with empty bodies anyway. The
determining factor for me was relcom.commerce.metals and other groups in
that vicinity, where empty-body articles are the norm.
Patch against cleanfeed 0.95.3:
--- cleanfeed.orig Mon Feb 16 13:30:49 1998
+++ cleanfeed Thu Mar 26 21:28:57 1998
@@ -247,7 +247,8 @@
if (defined $md5) {
undef $md5hash;
undef $mbody;
- if ((! $hdr{"References"}) && (grep !/$md5exclude/o, @groups)) {
+ if ((! $hdr{"References"}) && (grep !/$md5exclude/o, @groups)
+ && ($hdr{"__BODY__"} !~ /^\s{0,8}$/)) {
if ($fuzzy_md5) {
if ($hdr{"Lines"} < $fuzzy_max_length) {
$mbody = lc($hdr{"__BODY__"});
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<m3zpicvgz0.fsf@windlord.Stanford.EDU>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<6ffcgj$q7t@camel20.mindspring.com>Show Full Headers
Complete Article Headers
Message-ID: <m3zpicvgz0.fsf@windlord.Stanford.EDU> Subject: Re: Cleanfeed MD5 EMP rejection problem Date: Thu, 26 Mar 1998 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <6ffcgj$q7t@camel20.mindspring.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 338156479 Sender: eagle@windlord.Stanford.EDU Distribution: inet Organization: The Eyrie Newsgroups: news.software.nntp