Article View: news.software.nntp
Article #82957Re: Posting to an xrefslave server
From: John F. Morse
Date: Wed, 07 Apr 2010 11:22
Date: Wed, 07 Apr 2010 11:22
128 lines
6638 bytes
6638 bytes
Hi Russ, Russ Allbery wrote: > I think you should just use xrefslave and nnrpdposthost and test all the > things you want to test on the new server. This is not working like it should. I was attempting to post to the 2.5.2 server and was experiencing "Xref: header required in xrefslave mode" failures. I changed Icedove's (Thunderbird on a Debian Etch box) settings for port 119 or 563, and to use SSL or not, trying different combinations. I finally got past the "Xref: header required" warning, and four test messages were accepted and did go to optima5, the old 2.4.5 server and then were streamed back to n102, the new 2.5.2 server. Here are four examples from the logs on both servers, and several of the failures shown in n102's news log (FQDN munged): news@n102:/var/log/news$ cat news.notice | grep 'post ok' Apr 7 03:50:01 n102 nnrpd[2438]: etch.my.net post ok <hphgvp$2c6$1@n102.my.net> Apr 7 04:04:01 n102 nnrpd[2618]: etch.my.net post ok <hphhq1$2hq$1@n102.xmy.net> Apr 7 04:05:34 n102 nnrpd[2618]: etch.my.net post ok <hphhst$2hq$2@n102.my.net> Apr 7 04:07:42 n102 nnrpd[2618]: etch.my.net post ok <hphi0u$2hq$3@n102.my.net> news@n102:/var/log/news$ cat news | grep 'n102' Apr 7 03:39:05.905 - localhost <hphgb9$225$1@n102.my.net> 437 Xref: header required in xrefslave mode Apr 7 03:43:15.342 - localhost <hphgj3$275$1@n102.my.net> 437 Xref: header required in xrefslave mode Apr 7 03:50:01.509 + optima5.my.net <hphgvp$2c6$1@n102.my.net> 2178 inpaths! Apr 7 04:04:01.285 + optima5.my.net <hphhq1$2hq$1@n102.my.net> 1274 inpaths! Apr 7 04:05:34.313 + optima5.my.net <hphhst$2hq$2@n102.my.net> 1551 inpaths! Apr 7 04:07:42.751 + optima5.my.net <hphi0u$2hq$3@n102.my.net> 1550 inpaths! Apr 7 05:02:40.219 - localhost <hphl80$3i0$1@n102.my.net> 437 Xref: header required in xrefslave mode Apr 7 05:02:59.559 - localhost <hphl8j$3i4$1@n102.my.net> 437 Xref: header required in xrefslave mode Apr 7 05:07:23.536 - localhost <hphlgr$3i0$2@n102.my.net> 437 Xref: header required in xrefslave mode Apr 7 05:10:08.274 - localhost <hphlm0$3i0$3@n102.my.net> 437 Xref: header required in xrefslave mode Apr 7 05:11:27.090 - localhost <hphlof$3i0$4@n102.my.net> 437 Xref: header required in xrefslave mode Apr 7 05:11:47.091 - localhost <hphlp3$3i0$5@n102.my.net> 437 Xref: header required in xrefslave mode Apr 7 05:12:41.741 - localhost <hphlqp$3i0$6@n102.my.net> 437 Xref: header required in xrefslave mode Apr 7 05:14:14.786 - localhost <hphltm$3i0$7@n102.my.net> 437 Xref: header required in xrefslave mode Apr 7 05:16:56.819 - localhost <hphm2o$3i0$8@n102.my.net> 437 Xref: header required in xrefslave mode Apr 7 05:18:02.164 - localhost <hphm4q$3i0$9@n102.my.net> 437 Xref: header required in xrefslave mode news@optima5:/var/log/news$ cat news | grep '+ n102' Apr 7 03:50:01.418 + n102.my.net <hphgvp$2c6$1@n102.my.net> 2102 optima2 optima11 n102 inpaths! Apr 7 04:04:01.258 + n102.my.net <hphhq1$2hq$1@n102.my.net> 1221 optima2 optima11 n102 inpaths! Apr 7 04:05:34.276 + n102.my.net <hphhst$2hq$2@n102.my.net> 1485 optima2 optima11 n102 inpaths! Apr 7 04:07:42.721 + n102.my.net <hphi0u$2hq$3@n102.my.net> 1485 optima2 optima11 n102 inpaths! The failures in the 0500 hour were attempts to post from Thunderbird on an Ubuntu 8.04 box. This doesn't make sense. I'm wondering if there is some STARTTLS issue that I managed to somehow overcome for the four accepted messages? I don't fully trust Thunderbird/Icedove either, but it has SSL where Pan doesn't, and I don't care to drag out Stunnel. So I tried Claws Mail which supports SSL/TLS, and it also failed. However it did perhaps provide a clue in the Claws Mail network log: [05:55:58] NNTP> GROUP local.test [05:55:58] NNTP< 211 103 109 1566 local.test * getting xover 1559 - 1566 in local.test... [05:55:58] NNTP> XOVER 1559-1566 [05:55:58] NNTP< 224 Overview information for 1559-1566 follows [05:55:58] NNTP< [data - 1868 bytes] [05:56:01] NNTP> ARTICLE 1563 [05:56:01] NNTP< 220 1563 <hphhq1$2hq$1@n102.my.net> article [05:56:01] NNTP< [data - 1277 bytes] [05:56:05] NNTP> ARTICLE 1564 [05:56:05] NNTP< 220 1564 <hphhst$2hq$2@n102.my.net> article [05:56:05] NNTP< [data - 1554 bytes] [05:57:09] NNTP> DATE [05:57:09] NNTP< 111 20100407105708 [05:57:09] NNTP> POST [05:57:09] NNTP< 340 Ok, recommended message-ID <hphoe4$4gl$1@n102.my.net> [05:57:09] NNTP> [data - 1080 bytes] [05:57:09] NNTP< 441 437 Xref: header required in xrefslave mode [05:57:09] NNTP> MODE READER [05:57:09] NNTP< 200 n102.my.net InterNetNews NNRP server INN 2.5.2 ready (posting ok) [05:57:09] NNTP> POST [05:57:09] NNTP< 340 Ok, recommended message-ID <hphoe4$4gl$2@n102.my.net> [05:57:09] NNTP> [data - 1080 bytes] [05:57:09] NNTP< 441 435 Duplicate That is about as good as a telnet session log. ;-) Notice the Message-ID apparently was stored and then the post was rejected as a duplicate (however the two M-IDs shown are different). I also see a possible failure in MODE READER for the initial posting attempt. Any ideas, or additional troubleshooting tips? -- John When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID:
<hphptq$srq$1@optima5.xanadu-bbs.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mailReferences:
<hpduvs$q8o$1@optima5.xanadu-bbs.net> <87fx398l5n.fsf@windlord.stanford.edu> <hpeam4$tji$1@optima5.xanadu-bbs.net> <87bpdxp730.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <hphptq$srq$1@optima5.xanadu-bbs.net> Subject: Re: Posting to an xrefslave server Date: Wed, 07 Apr 2010 06:22:34 -0500 From: "John F. Morse" <john@example.invalid> References: <hpduvs$q8o$1@optima5.xanadu-bbs.net> <87fx398l5n.fsf@windlord.stanford.edu> <hpeam4$tji$1@optima5.xanadu-bbs.net> <87bpdxp730.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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 128 Reply-To: dont.bother Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: optima5.xanadu-bbs.net 1270639354 29562 192.168.89.210 (7 Apr 2010 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Wed, 7 Apr 2010 11:22:34 +0000 (UTC) User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: <87bpdxp730.fsf@windlord.stanford.edu> X-Enigmail-Version: 0.96.0