🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #39995

slrn: Stop generating message-ids

#39995
From: Ken Keen
Date: Tue, 07 Apr 1998 00:00
84 lines
3364 bytes
[I'm sorry if you received this twice. I cancelled the original once I noticed
I had neglected to use the prefix "slrn:" in the header.]

Last August, I asked how to suppress the generation of Message IDs by slrn so
that alt.net could do the generating. I received this response from
news.software.readers:

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Date: 27 Aug 1997 21:56:11 GMT
From: Byrial Jensen <byrial@post3.tele.dk> 
Newsgropus: news.software.readers
Subject: Re: slrn, message-ids and fqdn

Gija <Gija@Gija.Org> wrote:

> There is, apparently, only a compile-time and not a run-time option. That is
> a shame that it can't be chosen on a user-unique basis to allow us who use
> NNTP

I just added a run-time option. (Very easy - just 4 lines of extra code).
If you apply the following patch to slrn 0.9.4.3 and recompile it, you
can write this line in your .slrnrc file to prevent generating of
message-ids:

set generate_message_id 0

Best regards
- Byrial

--- post.c~     Wed Aug 27 22:37:17 1997
+++ post.c      Wed Aug 27 22:30:30 1997
@@ -49,6 +49,7 @@
 char *Slrn_Post_Custom_Headers;
 int Slrn_Reject_Long_Lines = 1;
 char *Slrn_Postpone_Dir;
+int Slrn_Generate_Message_Id = 1;

 #ifdef VMS
 # define SYSTEM_OS_NAME                "VMS"
@@ -78,6 +79,7 @@
    while (1)
      {
        if ((Slrn_User_Info.posting_host == NULL)
+           || (Slrn_Generate_Message_Id == 0)
            || ((time_t) -1 == time ((time_t *)&now)))
          return NULL;

--- post.h~     Mon Jul  7 07:11:03 1997
+++ post.h      Wed Aug 27 22:28:03 1997
@@ -11,3 +11,4 @@
 extern char *Slrn_Post_Custom_Headers;
 extern int Slrn_Reject_Long_Lines;
 extern char *Slrn_Postpone_Dir;
+extern int Slrn_Generate_Message_Id;
--- startup.c~  Mon Jul  7 07:11:03 1997
+++ startup.c   Wed Aug 27 22:28:45 1997
@@ -302,6 +302,7 @@
      {"use_color", &SLtt_Use_Ansi_Colors},
      {"ignore_signature", &Slrn_Sig_Is_End_Of_Article},
      {"reject_long_lines", &Slrn_Reject_Long_Lines},
+     {"generate_message_id", &Slrn_Generate_Message_Id},
 #if SLRN_HAS_NNTP_SUPPORT
      {"query_reconnect", &Slrn_Query_Reconnect},
 #else
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Since I am on a public ISP, I could not recompile. I was hoping that the next
release of alrn (0.9.4.6) would include this patch so that I could as a run
time option use "set generate_message_id 0". 

I didn't work.

Should I conclude that this patch is not part of 9.4.6? Will it be part of an
even later release? Or am I SOL?

Or do I need to go through the challenge of downloading the source myself and
having my very own slrn?

Thanks!



Technical Details
Message-ID: <slrn6il6st.di9.TroubleEveryDay@user2.teleport.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!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn6il6st.di9.TroubleEveryDay@user2.teleport.com>
Subject: slrn: Stop generating message-ids
Date: Tue, 07 Apr 1998 00:00:00 +0000
From: TroubleEveryDay@Dangerous.Kitchen (Ken Keen)
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!not-for-mail
X-Deja-AN: 341830137
Reply-To: TroubleEveryDay@Dangerous.Kitchen
Organization: Society for the Preservation of Soft Little Things You Step On
Newsgroups: news.software.readers