🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #116257

Re: SLRN - how can you change user agent?

#116257
From: Lee J. Moore
Date: Thu, 19 Dec 2002 16:08
20 lines
1948 bytes
One may as well begin with P Bergsson's letter to news.software.readers:

> Just putting a User-Agent header means you end up with two :(

I was playing with this idea yesterday, trying desperately to
get around it by intercepting the composed message with
post_file_hook() and manipulating it with sed.  Then it dawned
on me: post_file_hook() is called *before* SLRN adds the
User-Agent: header to the composed message.  Annoying!

Aside from that inconvenience, you'd think the source would
take account of duplicate custom headers anyway - by using your
custom header instead of the original.

The only way you'll manage this is by following the other advice
in the thread (modify the source).
-- 
Lee John Moore           :   'Only Connect...'
www.leej.dsl.pipex.com   :        - EM Forster
Technical Details
Message-ID: <slrnb03rnj.3i5.leej@cafe.lan>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-feed1.de1.concert.net!fu-berlin.de!uni-berlin.de!userdg058.dsl.pipex.COM!not-for-mail
References: <4giM9.1271678$6N5.164384@post-03.news.easynews.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnb03rnj.3i5.leej@cafe.lan>
Subject: Re: SLRN - how can you change user agent?
Date: Thu, 19 Dec 2002 16:08:25 +0000
From: "Lee J. Moore" <leej@dsl.pipex.com>
References: <4giM9.1271678$6N5.164384@post-03.news.easynews.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-feed1.de1.concert.net!fu-berlin.de!uni-berlin.de!userdg058.dsl.pipex.COM!not-for-mail
Newsgroups: news.software.readers
Lines: 19
NNTP-Posting-Host: userdg058.dsl.pipex.com (62.190.230.58)
X-Trace: fu-berlin.de 1040314105 2470875 62.190.230.58 (16 [129053])
X-Platform: Gentoo Linux (Portage 2.0.46-r2)
X-Kernel: 2.4.19-gentoo-r10
X-Spam-Info: Incoming mail analysed and filtered by SpamAssassin
X-Spam-Info: Detected SPAM submitted to Vipuls Razor
User-Agent: slrn/0.9.7.4 (Linux)