[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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
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');
-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/