🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #173056

Re: Setting custom headers in Xnews

#173056
From: Guy
Date: Fri, 09 Sep 2005 16:17
36 lines
2938 bytes
Ted S. wrote:

> It might be possible to write a script in Hamster to remove the
> User- Agent header, but I'm no good with such scripts.
>


I don't use the Hamster. This script might work.

#########################

#!load hmessage.hsm

Var($para, $file, $msg)

$para=paramcount
$file=paramstr($para)

If(FileExists($file))
 $msg=ListAlloc(False, True)
 ListLoad($msg, $file)
 MsgDelHeader($msg, "User-Agent:")
 ListSave($msg, $file)
 ListFree($msg)
 HamWaitIdle
EndIf
Quit

#########################


Regards,
Guy
-- 
Xnews "XP" Icon Patcher Files
<http://xnews-icon-patchers.bebto.com/patcher.html>
Technical Details
Message-ID: <096CC72D71$A987$2E284CEEC009E394A9D7@127.0.0.1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.bit.nl!feeder2.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!38.119.66.181.MISMATCH!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.usenet.com!news.valhallamedia.com!news.valhallamedia.com!koehntopp.de!tpki.toppoint.de!news.germany.com!newsfeed.utanet.at!texta.sil.at!news.banetele.no!talisker.lacave.net!lacave.net!freenix!uvsq.fr!feed.ac-versailles.fr!proxad.net!proxad.net!nx01.iad01.newshosting.com!newshosting.com!204.153.247.121.MISMATCH!indigo.octanews.net!green.octanews.net!news-out.octanews.net!authen.white.readfreenews.net.POSTED!not-for-mail
References: <Xns96CBD2ED6151AIDTokenRO13tapX4wD3@207.115.63.158> <096CC.2068F.52042E284CEEC009E394A9D7@127.0.0.1> <Fri.09.Sep.2005.112100.1475812BBD@StarCruiser.dk> <Xns96CC643145A988jUwe9053kODf78sfkj0@ID-121946.user.dfncis.de>

Show Full Headers
Complete Article Headers
Message-ID: <096CC72D71$A987$2E284CEEC009E394A9D7@127.0.0.1>
Subject: Re: Setting custom headers in Xnews
Date: Fri, 09 Sep 2005 11:17:21 -0500
From: Guy <Use-Reply-To-Address-Header@[127.1]>
References: <Xns96CBD2ED6151AIDTokenRO13tapX4wD3@207.115.63.158> <096CC.2068F.52042E284CEEC009E394A9D7@127.0.0.1> <Fri.09.Sep.2005.112100.1475812BBD@StarCruiser.dk> <Xns96CC643145A988jUwe9053kODf78sfkj0@ID-121946.user.dfncis.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.bit.nl!feeder2.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!38.119.66.181.MISMATCH!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.usenet.com!news.valhallamedia.com!news.valhallamedia.com!koehntopp.de!tpki.toppoint.de!news.germany.com!newsfeed.utanet.at!texta.sil.at!news.banetele.no!talisker.lacave.net!lacave.net!freenix!uvsq.fr!feed.ac-versailles.fr!proxad.net!proxad.net!nx01.iad01.newshosting.com!newshosting.com!204.153.247.121.MISMATCH!indigo.octanews.net!green.octanews.net!news-out.octanews.net!authen.white.readfreenews.net.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: none
Archive: no
X-No-Archive: yes
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=ISO-8859-1
Comments: "Whoever would overthrow the liberty of a nation must begin by
 subduing the freeness of speech." -- Benjamin Franklin
X-Face: ,O=kHpT4ofN[ZQ?pgJ6BQtX(cJvPRNtp'pID9gnUbjs4F3yd0#\GOd'S;
 U@<[Y6X*V`vh.)v%U'IaXUBq/F9,m,P; HY{n-Q[V0"+>u5W`Zf&[c;
 34vOB1T~&wE<'yA(Eg7V,W,Sk_gd0JPg1E$,J&X}SN-51Hwg; )hM/Ttq$Um2Kq$u
OpenPGP: url=http://guysalias.batcave.net/pgpkeys.txt; id=0x18795161E22D3905;
 created=1104483449; algo=1; size=2048
User-Agent: Xnews/1.12.08
Reply-To: GuysAlias <AT> myrealbox <DOT> com
Lines: 36
NNTP-Posting-Date: 09 Sep 2005 11:17:52 CDT
NNTP-Posting-Host: 7c11e16a.authen.white.readfreenews.net
X-Trace: DXC=D7VN; ?bSDl<G_G; eHL]EO1b_[jUcf=dB7PH=X44`; MP9GR`YBVg[i93d;
 Ue2?h`je7fD1J_5:o@]6o_3Q7Y8<9B=0lk8]fNTJo9
X-Complaints-To: abuse@readfreenews.net