🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #116134

Re: slrnpull problem with XHDR

#116134
From: Thomas Schultz
Date: Mon, 16 Dec 2002 12:07
31 lines
2028 bytes
* Dimitri [2002-12-04 04:34] :

>  I used to download news with slrnpull, but it doesn't work anymore
>  because of the following:
> 
> ***Server failed XHDR command: 502 XHDR command disabled by administrator
> 
>  I tried changing the "set prefer_head" with no success.
>  Is there a way to configure slrn so that slrnpull can work?
>  Thanks.

The next version of slrnpull should work with your server. If you are
willing to patch the sources, try this (applies to src/nntplib.c):

--- nntplib.c~  2002-03-13 14:03:31.000000000 +0100
+++ nntplib.c   2002-12-16 13:05:18.000000000 +0100
@@ -736,7 +736,7 @@

        ret = nntp_server_cmd (s, cmd);

-       if (ret == ERR_COMMAND)
+       if ((ret == ERR_COMMAND) || (ret == ERR_ACCESS))
          s->can_xhdr = 0;
        else if ((ret == OK_HEAD) &&
                 (1 == nntp_read_line (s, buf, sizeof (buf))))
-- 
Thomas Schultz <tststs@gmx.de>  News on slrn: http://slrn.sf.net/news.html
.-----------------------------. [2002-03-13] slrn 0.9.7.4 is out
| Home of the slrn newsreader | [2002-02-03] Screenshot page online
| http://slrn.sourceforge.net | [2002-02-03] "Port" to Mac OS X
Technical Details
Message-ID: <slrnavrgg4.188.tststs@moonlight.tststs.ddns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!acb1443c.ipt.aol.COM!not-for-mail
References: <50226fae.0212032034.3cd1dbb2@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnavrgg4.188.tststs@moonlight.tststs.ddns.org>
Subject: Re: slrnpull problem with XHDR
Date: Mon, 16 Dec 2002 12:07:32 +0000
From: Thomas Schultz <tststs@gmx.de>
References: <50226fae.0212032034.3cd1dbb2@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!acb1443c.ipt.aol.COM!not-for-mail
Newsgroups: news.software.readers
Organization: Pinguin online.
Lines: 30
NNTP-Posting-Host: acb1443c.ipt.aol.com (172.177.68.60)
X-Trace: fu-berlin.de 1040040875 38459723 172.177.68.60 (16 [152])
User-Agent: slrn/0.9.7.4pl1 (Linux)