[leafnode-list] Re: Disable deletion of articles with "illegal headers"?

Matthias Andree matthias.andree at gmx.de
Sun Feb 25 12:45:22 CET 2007


On Fri, 22 Sep 2006 (yes, long ago...), Adam Funk wrote:

> I keep seeing "contained illegal headers" lines [1] in leafnode's logs
> and I see that the articles in question are missing from the spool.

> Is it possible to disable the deletion of the articles so I can read
> them anyway?

Adam, does the attached patch work for you and keep the articles in your
spool? The patch is against leafnode 1.11.5.

If it works, it can become part of leafnode 1.11.6, which IMO should be
the last leafnode 1 release I'm going to make.

-- 
Matthias Andree
-------------- next part --------------
Index: xoverutil.c
===================================================================
RCS file: /var/CVS/leafnode-1/xoverutil.c,v
retrieving revision 1.45
diff -u -r1.45 xoverutil.c
--- xoverutil.c	5 Apr 2005 20:09:45 -0000	1.45
+++ xoverutil.c	25 Feb 2007 11:33:35 -0000
@@ -306,7 +306,9 @@
 
     /* references: a series of <*@*> separated by space */
 
+#if 0
     while (p != q) {
+	/* reference validation - users don't like it */
 	if (*p != '<') {
 	    *e = "References: does not start with \"<\"";
 	    return 0;
@@ -326,6 +328,7 @@
 	while (p != q && *p == ' ')
 	    p++;
     }
+#endif
 
     p = q + 1;
     q = strchr(p, '\t');


More information about the leafnode-list mailing list