🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #55013

Re: [slrn] customizing the Message-ID

#55013
From: Sylvan Butler
Date: Thu, 09 Dec 1999 00:00
41 lines
2650 bytes
On Wed, 08 Dec 1999 13:33:07 GMT, ras2 <removethis@gmx.net> wrote:
>I got tired of getting all kinds of different IDs, so I
>changed a few things in post.c and my ID now ends in the
>address I use in the From: field in slrn. It seems more
 ...
>You can change all instances of Slrn_User_Info.posting_host 
>to Slrn_User_Info.hostname (I left the one near NNTP-Posting-
>Host alone) in post.c and recompile and it ought to work.

That might be more complex a change than strictly necessary.  I make the
following one line addition:

==================
diff -ur slrn-0.9.5.6/src/startup.c slrn-mine/src/startup.c
--- slrn-0.9.5.6/src/startup.c  Sun May 16 23:27:02 1999
+++ slrn-mine/src/startup.c Mon May 17 13:38:13 1999
@@ -453,6 +453,7 @@
      {"username", &Slrn_User_Info.username},
      {"replyto", &Slrn_User_Info.replyto},
      {"organization", &Slrn_User_Info.org},
+     {"posting_host", &Slrn_User_Info.posting_host},
      {"followup", &Slrn_User_Info.followup_string},   /* obsolete */
      {"followup_string", &Slrn_User_Info.followup_string},
      {"reply_string", &Slrn_User_Info.reply_string},
==================

and then in my slrn setup macro I set posting_host to be the same as
the hostname, like:
      set_string_variable ("posting_host",host);
      set_string_variable ("hostname",host);

sdb

-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
 "Don't Tread On Me!"

Technical Details
Message-ID: <slrn84vq6r.l0g.nospam+_no_Zs__9912@hpb13799z.zboi.hpz.com.invalid>
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
References: <82l872$2qt9j$1@fu-berlin.de> <slrn84sehd.qk.removethis@gmx.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn84vq6r.l0g.nospam+_no_Zs__9912@hpb13799z.zboi.hpz.com.invalid>
Subject: Re: [slrn] customizing the Message-ID
Date: Thu, 09 Dec 1999 00:00:00 +0000
From: nospam+_no_Zs__9912@hpb13799z.zboi.hpz.com.invalid (Sylvan Butler)
References: <82l872$2qt9j$1@fu-berlin.de> <slrn84sehd.qk.removethis@gmx.net>
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: 558649785
X-Original-NNTP-Posting-Host: hpb13799.boi.hp.com
Mail-Copies-To: never
X-Complaints-To: usenet@news.boi.hp.com
X-Trace: hpbs1500.boi.hp.com 944761541 1229 15.98.137.41 (9 Dec 1999 17:45:41 GMT)
Organization: Hewlett-Packard
User-Agent: slrn/0.9.5.7 (Linux)
Reply-To: amoeba@hpb13799.boi.hp.com
NNTP-Posting-Date: 9 Dec 1999 17:45:41 GMT
Newsgroups: news.software.readers