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

Re: [leafnode-list] Message-ID already in use.



On Mon, 4 Nov 2002, matthew.malthouse@xxxxxxxxxxxxxx wrote:

> On 03/11/2002 13:31:51 Grahame Cooper wrote:
> 
>>My problem is that fetchmail ferquently (about 50% of the time) reports
>>that a Message-ID is already in use. I have shown below some outputs for
>>a single message submission that failed.
> 
> 
> It's the server barfing - asked pretty much the same question mtself
> about a fortnight ago.  Technical was supllied.
> 
> Intermin solution: use news.ntlworld.com to post although it's dreadfully
> slow it doesnt appear to have the fault.  The use news.cable.ntlworld.com
> to collect.
> 
> Seeking a real solution, complain to NTL.  The more who raise the issue
> the more hope of them fixing it.
> 
> Matthew
> 

Though I've solved it with this

On Fri, 08 Nov 2002, leahcim@xxxxxxxxxxxxxxxx wrote:

> On Thursday 07 Nov 2002 23:17, Grahame Cooper
> (Grahame@xxxxxxxxxxxxxxxx)
> wrote:
> 
>> The only problem was that it cannot post to the inktomi cache
>> servers because the servers are broken
> 
> It's just a one-line patch.
> 
> (Wonders out loud where they got the code for it from ;-)
> 
> --- leafnode-1.9.29/nntputil.c  2002-08-31 10:23:30.000000000 +0100
> +++ leafnode/nntputil.c 2002-10-28 21:23:05.000000000 +0000
> @@ -305,7 +305,8 @@
>                  * reply with 223 0 <MID> when asked "STAT
>                    <MID>". This
>                  * is a violation of RFC 977 and breaks posting.
>                  */
> -               if (strstr(lastreply(), "NewsCache"))
> +               if (strstr(lastreply(), "NewsCache")
> +                       || strstr(lastreply(), "news cache"))
>                     stat_is_evil = 1;
>                 else
>                     stat_is_evil = 0;
> 

and if you're running leafnode 2 (and this works!) the fix is

--- nntputil.c~	Sun Sep  1 22:17:36 2002
+++ nntputil.c	Tue Nov 19 20:36:32 2002
@@ -386,7 +386,8 @@
 	       upstream->name, reply, line ? line : "(none)");
     }
 
-    if (line && strstr(line, "NewsCache")) {
+    if (line && (strstr(line, "NewsCache")
+                 || strstr(line, "news cache"))) {
 	/* NewsCache has a broken STAT implementation
 	   always returns 203 0 Message-ID
 	   breaking our upstream dupe detection */



Original code taked from ntl.support.linux (support - hah!), and modified
for the leafnode 2 series

Robert

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list