🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #68072

Posting with a client-supplied message-ID with slrn

#68072
From: J.B. Nicholson-Owens
Date: Fri, 24 Nov 2000 02:55
42 lines
3207 bytes
Jean-Baptiste Quenot wrote:
> Scoring using references doesn't work for me, because I'm using my ISP's
> news server. References look like <8vc007$2uu$1@wanadoo.fr> and are always
> different, so followups to my messages are not scored.

Have you been sending the news server the message-ID for your posts?  slrn
can be set up to do this or to not (check src/slrnfeat.h for the value of
SLRN_HAS_GEN_MSGID).

Your server can refuse client-supplied message-IDs substituting its own but
in my experience client-supplied message-IDs are widely accepted.  If you're
not sure which way your slrn was compiled to behave (or perhaps you no
longer have source), try making slrn keep a log ("slrn --nntp --debug log")
and make a post to an appropriate test group (such as alt.test or a local
unpropagated test group).  Wait for a minute then fetch the article you
posted.  Finally, quit slrn and see what the log entries are for the posted
and fetched articles. If they have the same message-ID, you can use extant
scoring rules to do what you want quickly and elegantly.

If you can compile your own slrn, I highly recommend doing so enabling
SLRN_HAS_GEN_MSGID and posting and retreiving a test post with that slrn
(logging the procedure as I described).

> The right solution would be: score messages whose references contain the
> message-id of one of my previous posts in the thread.

To do this with perfect accuracy, you would need to record the message-ID of
every post you make.  Doing this might also require first finding the
article you posted (since it is not always possible to get the server to
tell you the server-assigned message-ID for an article when you post).  Such
a list would grow without bounds and is, therefore, inelegant and does not
scale well.  As the list grows larger entering a group (particularly large
groups) would take longer.  All of this could be done but it is worth your
time to investigate alternative elegant solutions before this (such as
whether your slrn is sending message-IDs to begin with).

You could also write a macro to do this scoring action--find your articles
by some other header (for instance your From: header) and score all
followups to those articles high.

Good luck.
Technical Details
Message-ID: <slrn91rm2g.29v.jbn@next.forestfield.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!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
References: <slrn91n4nr.17j.glynFOOdwr@localhost.localdomain> <slrn91n8sc.175.zefram@wolverine.lohacker.net> <8vjg0e$17k$1@wanadoo.fr>

Show Full Headers
Complete Article Headers
Message-ID: <slrn91rm2g.29v.jbn@next.forestfield.org>
Subject: Posting with a client-supplied message-ID with slrn
Date: Fri, 24 Nov 2000 02:55:24 +0000
From: jbn@forestfield.org (J.B. Nicholson-Owens)
References: <slrn91n4nr.17j.glynFOOdwr@localhost.localdomain> <slrn91n8sc.175.zefram@wolverine.lohacker.net> <8vjg0e$17k$1@wanadoo.fr>
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!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 41
NNTP-Posting-Host: forestfield.org (208.216.67.173)
X-Trace: fu-berlin.de 975034524 5180830 208.216.67.173 (16 [35848])
User-Agent: slrn/0.9.6.3 (Unix)