🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
23 messages
23 total messages Started by Hynek Schlawack Sat, 22 Jan 2000 00:00
[slrn] Defining own MsgIDs?
#57053
Author: Hynek Schlawack
Date: Sat, 22 Jan 2000 00:00
15 lines
1313 bytes
Hi, 

   I'm very new to slrn and I have a little problem, is it possible 
to set an MsgID? I always had MsgIDs like number@hys.in-berlin.de
and used it for scoring (to make articles refering to my postings
important) but now I have a MsgID that get all user of my ISP if
they don't specify one themselves. I tried an "grep MsgID *" in the
docs, but I didn't succeed...:-( Is there a possibility?

TIA,
-- 
Hynek Schlawack -++- 7Wire Technologies -++- http://hys.home.pages.de
GCS d- s+: a--- C+++ P+ E W+ N++ w--- Y+ X+ R+ b++ G e->+++ h! r++ y+

Re: [slrn] Defining own MsgIDs?
#57035
Author: Hynek Schlawack
Date: Sat, 22 Jan 2000 00:00
35 lines
2368 bytes
Rejo Zenger wrote on 22 Jan 2000 18:53:37 GMT
in news:news.software.readers:

>>the option in .slrnrc. But the result isn't very satisfying either,
>>isn't there a possibility to have it derived from the Email address 
>>or set it simply on my self? I don't wnat to have a temporal hostname
>>in the MsgID...
>You're MID is already derived from the username you have set in your
>slrnrc.

  Yes but it looks somewhat ugly, don't you think?

>Your username seems to be set to "hynek.s" in the posting i'm following
>up to. If you check that message you'll see that the MID was set to
><slrn88jvam.1s5bc28.hynek.s@DialIN061.vr.in-berlin.de>, which has the
>username part in it. See the headers of this message as well.

  Yeah, but I don't like the "DialIN" in it...it looks quiet 
unprofessional.

>All you have to do is to set a score for references of (just a quick
>guess, you seem to use a dialup) ".*hynek\.s@.*vr\.in-berlin\.de".

  I'll try out the patch first but this is an alternative either, only
a little bit ugly but it if the patch failes, it'll at least work. 
But you seem to be quiet good in guessing, could you also guess the 
lottery numbers of the next month :-)?

Thank you for your help.

-- 
Hynek Schlawack -++- 7Wire Technologies -++- http://hys.home.pages.de
GCS d- s+: a--- C+++ P+ E W+ N++ w--- Y+ X+ R+ b++ G e->+++ h! r++ y+

Re: [slrn] Defining own MsgIDs?
#57045
Author: Hynek Schlawack
Date: Sat, 22 Jan 2000 00:00
21 lines
1716 bytes
On 22 Jan 2000 17:05:26 GMT,
Jens Wahnes wrote in <slrn88joqm.3k3.jewa@message-id.wahnes-world.de>:

>>    I'm very new to slrn and I have a little problem, is it possible 
>> to set an MsgID?
>slrn normally generates Message-IDs when you have set
>generate_message_id 1 in your .slrnrc. Also, slrn must have been
>compiled with #define SLRN_HAS_GEN_MSGID set to 1 in slrnfeat.h.

Yes thank you, alhought having compiled it correctly I forgot to set
the option in .slrnrc. But the result isn't very satisfying either,
isn't there a possibility to have it derived from the Email address 
or set it simply on my self? I don't wnat to have a temporal hostname
in the MsgID...

TIA,
-- 
Hynek Schlawack -++- 7Wire Technologies -++- http://hys.home.pages.de
GCS d- s+: a--- C+++ P+ E W+ N++ w--- Y+ X+ R+ b++ G e->+++ h! r++ y+

Re: [slrn] Defining own MsgIDs?
#57055
Author: Rejo Zenger
Date: Sat, 22 Jan 2000 00:00
26 lines
2333 bytes
++ <slrn88jvam.1s5bc28.hynek.s@DialIN061.vr.in-berlin.de>; Hynek Schlawack:
>the option in .slrnrc. But the result isn't very satisfying either,
>isn't there a possibility to have it derived from the Email address 
>or set it simply on my self? I don't wnat to have a temporal hostname
>in the MsgID...

You're MID is already derived from the username you have set in your
slrnrc.

Your username seems to be set to "hynek.s" in the posting i'm following
up to. If you check that message you'll see that the MID was set to
<slrn88jvam.1s5bc28.hynek.s@DialIN061.vr.in-berlin.de>, which has the
username part in it. See the headers of this message as well.

All you have to do is to set a score for references of (just a quick
guess, you seem to use a dialup) ".*hynek\.s@.*vr\.in-berlin\.de".

	-Rejo.

-- 
= Rejo Zenger  [Sister Ray Crisiscentrum]               rejo@sisterray.xs4all.nl
= http://mediaport.org/~sister (and my_urls.html)               PGP: see headers
--------------------------------------------------------------------------------
  Destroy a spamhaus! http://www.xs4all.nl/~sister/mirror/sengir/spam_sites.html

Re: [slrn] Defining own MsgIDs?
#57057
Author: Jens Wahnes
Date: Sat, 22 Jan 2000 00:00
43 lines
2362 bytes
Hynek Schlawack wrote:

> isn't there a possibility to have it derived from the Email address 
> or set it simply on my self? I don't wnat to have a temporal hostname
> in the MsgID...

Well, first of all you can of course just put a Message-ID into the
header while you modify the post (like I did in this post, but probably
nobody wants to do that on a regular basis).

Then there is this really *huge* patch which has been posted here
earlier by someone else (sorry, I forgot whom it is due to, so I'm
afraid I cannot give credit):

--- slrn/src/startup.c  Sun May  3 14:06:24 1998
+++ slrn.mine/src/startup.c     Tue Sep  8 10:19:31 1998
@@ -453,6 +436,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},


The patch is a little old -- the line numbers probably have changed
since then but it shouldn't be too difficult to figure out where it
goes, I guess. After applying this patch, you can simply put 
set posting_host "your.fqdn"
into your .slrnrc and slrn will use that value as the right side
of your Message-IDs.


HTH
Jens

-- 
"What is robbing a bank compared with founding a bank?"

        - Bertolt Brecht

Re: [slrn] Defining own MsgIDs?
#57075
Author: Hynek Schlawack
Date: Sat, 22 Jan 2000 00:00
47 lines
2457 bytes
Jens Wahnes wrote on 22 Jan 2000 19:05:18 GMT
in news:news.software.readers:

>> isn't there a possibility to have it derived from the Email address 
>> or set it simply on my self? I don't wnat to have a temporal hostname
>> in the MsgID...
>Well, first of all you can of course just put a Message-ID into the
>header while you modify the post (like I did in this post, but probably
>nobody wants to do that on a regular basis).

Yes, not the best option :-).

>Then there is this really *huge* patch which has been posted here
>earlier by someone else (sorry, I forgot whom it is due to, so I'm
>afraid I cannot give credit):

[Mostrous Patch]

>The patch is a little old -- the line numbers probably have changed

1998...indeed :-).

>since then but it shouldn't be too difficult to figure out where it
>goes, I guess. After applying this patch, you can simply put 

I'll try, I never worked with such patches but I hope to be smart 
enough to make it on my own :-).

>set posting_host "your.fqdn"

Ah, the functionality of posting_host will be changed, or just 
enhaced? As using slrnpull I don't need this variable.

>into your .slrnrc and slrn will use that value as the right side
>of your Message-IDs.

I'll try it out, thank you very much!

>HTH

I hope so too ;-).

-- 
Hynek Schlawack -++- 7Wire Technologies -++- http://hys.home.pages.de
GCS d- s+: a--- C+++ P+ E W+ N++ w--- Y+ X+ R+ b++ G e->+++ h! r++ y+

Re: [slrn] Defining own MsgIDs?
#57097
Author: Jens Wahnes
Date: Sat, 22 Jan 2000 00:00
18 lines
1164 bytes
Hynek Schlawack wrote:

>    I'm very new to slrn and I have a little problem, is it possible 
> to set an MsgID?

slrn normally generates Message-IDs when you have set
generate_message_id 1 in your .slrnrc. Also, slrn must have been
compiled with #define SLRN_HAS_GEN_MSGID set to 1 in slrnfeat.h.


Jens

-- 
"What is robbing a bank compared with founding a bank?"

        - Bertolt Brecht

Re: [slrn] Defining own MsgIDs?
#57100
Author: fvw
Date: Sun, 23 Jan 2000 00:00
58 lines
2364 bytes
In <slrn88jrki.1s6scv8.hynek.s@DialIN101.vr.in-berlin.de>, hynek.s@web.de wrote:
>Hi, 
>
>   I'm very new to slrn and I have a little problem, is it possible 
>to set an MsgID? I always had MsgIDs like number@hys.in-berlin.de
>and used it for scoring (to make articles refering to my postings
>important) but now I have a MsgID that get all user of my ISP if
>they don't specify one themselves. I tried an "grep MsgID *" in the
>docs, but I didn't succeed...:-( Is there a possibility?

Do you use jed to edit your messages? You should. Here's what I use:

-------------------
[/home/fvw/.slang] cat msgid.sl  
   
define add_header_if_nonexistant (x,y)
{
   bob ();
   re_fsearch ("^$");
   !if(re_bsearch (sprintf("^%s: ",x,1)))
     {
        (insert(sprintf("%s: %s\n",x,y,2)));
     }
}

define add_msgid()
{

 () = random (-1, 0);
   
 add_header_if_nonexistant("Message-ID",
                        Sprintf ("<%d%c%c%c.fvw@var.cx>",
                        _time(), random(0,26)+65, random(0,26)+65, random(0,26)+65, 4));
}
--------------------

In my .slrnrc I have:
set editor_command "j '%s' -g %d -tmp -l '~/.slang/msgid.sl' -f 'add_msgid'"

(j is a script that checks wether I'm in X and starts xjed/jed).

This automaticly inserts the messageid if it doesn't exist yet (it doesn't).

Works for me, as you see.


Btw, does anybody know how to attach a file easily with slrn (yes, I  could
cat through uuencode and pipe into the post, but I was thinking REALLY easy 
:-]).


-- 

			Frank v Waveren
			fvw@var.cx
			ICQ# 10074100

Re: [slrn] Defining own MsgIDs?
#57118
Author: Thorfinn
Date: Sun, 23 Jan 2000 00:00
23 lines
1929 bytes
In news.software.readers, on 23 Jan 2000 04:35:10 GMT
David Gerard <fun@thingy.apana.org.au> wrote:
[ posting_host variable]
> Surely it could be done with a bit of s-lang, rather than actually patching
> the source?

Unfortunately not.  slang won't let you set a variable that it doesn't
know about, and posting_host is one of those.

You have to patch the source to let you be able to modify it on the
fly.  I know, 'cos I do it regularly.

Later,

  Thorf

-- 
<a href = "http://netizen.com.au/~thorfinn/">thorfinn@netizen.com.au</a>
"I gained nothing at all from Supreme Enlightenment, and for that very
reason it is called Supreme Enlightenment."
    -- Gautama Buddha

Re: [slrn] Defining own MsgIDs?
#57120
Author: Hynek Schlawack
Date: Sun, 23 Jan 2000 00:00
18 lines
1626 bytes
fvw wrote on Sun, 23 Jan 2000 04:05:53 GMT
in news:news.software.readers:

>>   I'm very new to slrn and I have a little problem, is it possible 
>>to set an MsgID? I always had MsgIDs like number@hys.in-berlin.de
>>and used it for scoring (to make articles refering to my postings
>>important) but now I have a MsgID that get all user of my ISP if
>>they don't specify one themselves. I tried an "grep MsgID *" in the
>>docs, but I didn't succeed...:-( Is there a possibility?
>Do you use jed to edit your messages? You should. Here's what I use:

No, I don't like Unix editors very much. I'm using a native one.

-- 
Hynek Schlawack -++- 7Wire Technologies -++- http://hys.home.pages.de
GCS d- s+: a--- C+++ P+ E W+ N++ w--- Y+ X+ R+ b++ G e->+++ h! r++ y+

Re: [slrn] Defining own MsgIDs?
#57122
Author: David Gerard
Date: Sun, 23 Jan 2000 00:00
26 lines
1929 bytes
On 22 Jan 2000 19:05:18 GMT, Jens Wahnes <jewa@gmx.net> wrote:
:Hynek Schlawack wrote:

:> isn't there a possibility to have it derived from the Email address 
:> or set it simply on my self? I don't wnat to have a temporal hostname
:> in the MsgID...

:Well, first of all you can of course just put a Message-ID into the
:header while you modify the post (like I did in this post, but probably
:nobody wants to do that on a regular basis).
:Then there is this really *huge* patch which has been posted here
:earlier by someone else (sorry, I forgot whom it is due to, so I'm
:afraid I cannot give credit):


Surely it could be done with a bit of s-lang, rather than actually patching
the source?


-- 
http://xenu.netizen.com.au/                      http://www.caube.org.au/
"So then young Bobby emulated his hero, L. Ron Hubbard, founded his own
UFO-nut-cult, and made REALLY big money. Until his own body thetans ate
him. But that's for tomorrow night's bedtime story ..." (Chris Leithiser)

Re: [slrn] Defining own MsgIDs? using msgid.sl
#59521
Author: fvw
Date: Thu, 23 Mar 2000 00:00
23 lines
1640 bytes
In <8bc34m$4qcq2$2@fu-berlin.de>, guckes@math.fu-berlin.de wrote:
>* fvw <fvw+usenet@var.cx>:
>> Do you use jed to edit your messages? You should. Here's what I use:
>> 	[msgid.sl snipped]
>> In my .slrnrc I have:
>> set editor_command "jed %s -g %d -tmp -l '~/.slang/msgid.sl' -f 'add_msgid'"
>> This automaticly inserts the messageid if it doesn't exist yet (it doesn't).
>> Works for me, as you see.
>
>Is it possible to have slrn read this and have it
>add the Message-ID line to the temporary file
>*independent* of the used editor?

You could set your editor to a script that first adds a msgid to the temp
file, and then opens the file in your editor.

-- 

                        Frank v Waveren
                        fvw@var.cx
                        ICQ# 10074100

Re: [slrn] Defining own MsgIDs? using msgid.sl
#59546
Author: Sven Guckes
Date: Thu, 23 Mar 2000 00:00
15 lines
1240 bytes
* fvw <fvw+usenet@var.cx>:
> Do you use jed to edit your messages? You should. Here's what I use:
> 	[msgid.sl snipped]
> In my .slrnrc I have:
> set editor_command "jed %s -g %d -tmp -l '~/.slang/msgid.sl' -f 'add_msgid'"
> This automaticly inserts the messageid if it doesn't exist yet (it doesn't).
> Works for me, as you see.

Is it possible to have slrn read this and have it
add the Message-ID line to the temporary file
*independent* of the used editor?

Sven

Re: [slrn] Adding Message-ID to tempfile
#59814
Author: John E. Davis
Date: Thu, 30 Mar 2000 00:00
22 lines
1401 bytes
On 30 Mar 2000 01:25:31 GMT, Sven Guckes <guckes@math.fu-berlin.de>
wrote:
>I'd rather use a method which works for both Windows and Unix.
>Scripts on Windows are always a problem - so I'd like to avoid these.

Use something such as:

#v+
  define followup_hook ()
  {
      set_string_variable ("followup_custom_headers",
			   sprintf ("Message-ID: %s\n", create_msg_id ()));
  }
#v-
where `create_msg_id' is a function that creates your message-id.

It is not clear to me why one wants to do this.  Is slrn unable to get
your deduce your posting hostname?

--John

Re: [slrn] Adding Message-ID to tempfile
#59837
Author: Sven Guckes
Date: Thu, 30 Mar 2000 00:00
21 lines
1626 bytes
* John E. Davis <davis@space.mit.edu>:
> >I'd rather use a method which works for both Windows and Unix.
> >Scripts on Windows are always a problem - so I'd like to avoid these.
> Use something such as: [...] where `create_msg_id'
> is a function that creates your message-id.

Example?  (Yes, I am still not familiar with SLang yet.)

I am currently using this format:
Message-ID: <2000-03-30T19-48-49@guckes.net>

> It is not clear to me why one wants to do this.
> Is slrn unable to get your deduce your posting hostname?

I want to put a score on followups to my posts;
so I have to post with a string in the Message-ID that
I can use within scoring rules, eg my own domain name.

Sven

Re: [slrn] Adding Message-ID to tempfile
#59849
Author: Maarten den Braber
Date: Thu, 30 Mar 2000 00:00
16 lines
1472 bytes
* Sven Guckes <guckes@math.fu-berlin.de>:
> * fvw <fvw+usenet@var.cx>:
> > You could set your editor to a script that first adds a msgid to the temp
> > file, and then opens the file in your editor.
> 
> I'd rather use a method which works for both Windows and Unix.
> Scripts on Windows are always a problem - so I'd like to avoid these.
> Anyone?

Avoid Windows? Just do a format /u c: ;-)

-- 
Maarten den Braber                           mdb@twister.cx
Find what you aren't searching for:   http://www.twister.cx

Re: [slrn] Adding Message-ID to tempfile
#59854
Author: Sven Guckes
Date: Thu, 30 Mar 2000 00:00
11 lines
1217 bytes
* fvw <fvw+usenet@var.cx>:
> You could set your editor to a script that first adds a msgid to the temp
> file, and then opens the file in your editor.

I'd rather use a method which works for both Windows and Unix.
Scripts on Windows are always a problem - so I'd like to avoid these.
Anyone?

Sven

Re: [slrn] Adding Message-ID to tempfile
#59868
Author: David Gerard
Date: Thu, 30 Mar 2000 00:00
39 lines
2211 bytes
On 30 Mar 2000 07:11:47 GMT, John E. Davis <davis@space.mit.edu> wrote:
:On 30 Mar 2000 01:25:31 GMT, Sven Guckes <guckes@math.fu-berlin.de>
:wrote:

:>I'd rather use a method which works for both Windows and Unix.
:>Scripts on Windows are always a problem - so I'd like to avoid these.

:Use something such as:

:#v+
:  define followup_hook ()
:  {
:      set_string_variable ("followup_custom_headers",
:			   sprintf ("Message-ID: %s\n", create_msg_id ()));
:  }
:#v-
:where `create_msg_id' is a function that creates your message-id.


Ah, useful!


:It is not clear to me why one wants to do this.  Is slrn unable to get
:your deduce your posting hostname?


No, slrnpull is unable to.

Also, slrn will generate a Message-ID: where the domain name is the
NNTP-Posting-Host:, and sometimes I just don't want that.


-- 
http://xenu.netizen.com.au/                    http://www.caube.org.au/
"The fellow behind me kept playing nasty music on his laptop during the
latter portion of the trip, and I wanted to shove the damn thing so far
up his ass that his oculars would glow with TFT." (benton)

Re: [slrn] Adding Message-ID to tempfile
#59995
Author: Walter Dnes
Date: Sun, 02 Apr 2000 00:00
10 lines
1424 bytes
  Amongst all this talk of putting in your own custom Message-Id:... is
it possible to have slrn *NOT* put one in, forcing my ISP's system to
insert one?  Or is that something that only DOS/Windows do in defiance
of obscure ISO standards?.

-- 
Walter Dnes <waltdnes@waltdnes.org> SpamDunk Project procmail spamfilter
at http://www.waltdnes.org   This message coming to you in living Linux.

Re: [slrn] Adding Message-ID to tempfile
#60060
Author: Christopher Splinter
Date: Sun, 02 Apr 2000 00:00
21 lines
1572 bytes
* Walter Dnes <waltdnes@waltdnes.org> wrote:
>  Amongst all this talk of putting in your own custom Message-Id:... is
>it possible to have slrn *NOT* put one in, forcing my ISP's system to
>insert one?

In your ~/.slrnrc:

set generate_message_id 0

>Or is that something that only DOS/Windows do in defiance of obscure
>ISO standards?.

No.

Ciao,
	Christopher
-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me 
spread!

Re: [slrn] Adding Message-ID to tempfile
#60065
Author: Dawn Owens-Nicholson
Date: Sun, 02 Apr 2000 00:00
14 lines
1788 bytes
Walter Dnes wrote:
>   Amongst all this talk of putting in your own custom Message-Id:... is
> it possible to have slrn *NOT* put one in, forcing my ISP's system to
> insert one?

Sure, either compile slrn to not generate message-IDs or change your slrnrc
to include "set generate_message_id 0", depending on what version of slrn
you wish to want to stop generating message IDs (the slrnrc option has works
after version 0.9.4.6).  If you want *all* your clients to use
server-generated message IDs, it would be easier to make your server
override any client-supplied message ID (and probably get you some requests
to change it back to allowing valid client-generated message IDs).

Re: [slrn] Adding Message-ID to tempfile
#60137
Author: Walter Dnes
Date: Tue, 04 Apr 2000 00:00
19 lines
1882 bytes
On Sun, 02 Apr 2000 02:47:39 GMT, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote:
> 
> Sure, either compile slrn to not generate message-IDs or change
> your slrnrc to include "set generate_message_id 0", depending on
> what version of slrn you wish to want to stop generating message
> IDs (the slrnrc option has works after version 0.9.4.6).
  Thank you for the pointer.  Done.


> If you want *all* your clients to use server-generated message IDs
  I am "all my clients".  I'm a home linux user and I'd prefer to
have my ISP's domain show up rather than the useless ID
"<*.waltdnes@localhost.localdomain>

-- 
Walter Dnes <waltdnes@waltdnes.org> SpamDunk Project procmail spamfilter
at http://www.waltdnes.org   This message coming to you in living Linux.

Re: [slrn] Adding Message-ID to tempfile
#60170
Author: Victor Schneider Ph. D.
Date: Wed, 05 Apr 2000 00:00
21 lines
2310 bytes
On 4 Apr 2000 01:34:50 GMT, Walter Dnes <waltdnes@waltdnes.org> wrote:
>On Sun, 02 Apr 2000 02:47:39 GMT, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote:
>> 
>> Sure, either compile slrn to not generate message-IDs or change
>> your slrnrc to include "set generate_message_id 0", depending on
>> what version of slrn you wish to want to stop generating message
>> IDs (the slrnrc option has works after version 0.9.4.6).
>  Thank you for the pointer.  Done.
>
>
>> If you want *all* your clients to use server-generated message IDs
>  I am "all my clients".  I'm a home linux user and I'd prefer to
>have my ISP's domain show up rather than the useless ID

Yeah. slrn begs to be customized.  I added the public-domain blat mailer to
my version of slrn.exe for Windows 98 and gnu, and anyway, Davis isn't
including sendsmtp.exe in the distribution anymore.

And, wow, those new color schemes in the latest slrn are shore purty.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads