🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #50314

Re: [slrn] Return-Path: header..?

#50314
From: Morten Bo Johansen
Date: Mon, 02 Aug 1999 00:00
39 lines
2336 bytes
On 1 Aug 1999 21:21:25 GMT, Dawn Owens-Nicholson wrote:

>Morten Bo Johansen wrote:

>> Can I have a custom header inserted dynamically depending on which group
>> I'm posting to ?
>
>Yes, if you use an S-Lang macro.  It depends on how elaborate you want to
>get and what you want to do.  You could use strchop() to break up the custom
>headers slrn variable into a string array then modify the array and use
>strjoin() to put it all back together:
>[code follows..]

Thanks very much. It's advanced stuff, relatively speaking at least to 
someone who's not familiar with S-lang macros. My needs are rather 
modest: I have this bunch of mailing lists that I would like to post to 
via a news interface that their maintainers have set up - and for these 
lists only I need there to be a Return-Path header present which 
matches the ditto that I used when I subscribed to the lists, initially. 
However, as I've found out since my previous posting just having a 
Return-Path header present is not enough in itself - this header 
apparently also needs to be in the topmost position, or my postings are 
not accepted.

So to recapitulate: 

- For mailinglist 1, 2, 3...insert Return-Path header as the first line.
- For all the rest leave them to slrn's default values.

Therefore, may I be audacious enough to ask you to give me a ready packed 
solution on how to do this - if possible ?-)

Furthermore, how are S-lang macros called/sourced in the .slrnrc?



Morten

Technical Details
Message-ID: <slrn7qbm25.b9.mojo@localhost.localdomain>
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: <slrn7q8u74.27q.mojo@localhost.localdomain> <slrn7q9bso.53b.mojo@localhost.localdomain> <slrn7q9eij.mdh.bluemoon@ux6.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7qbm25.b9.mojo@localhost.localdomain>
Subject: Re: [slrn] Return-Path: header..?
Date: Mon, 02 Aug 1999 00:00:00 +0000
From: mojo@image.dk (Morten Bo Johansen)
References: <slrn7q8u74.27q.mojo@localhost.localdomain> <slrn7q9bso.53b.mojo@localhost.localdomain> <slrn7q9eij.mdh.bluemoon@ux6.cso.uiuc.edu>
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: 507984971
X-Complaints-To: news-abuse@wol.dk
X-Trace: news020.image.dk 933608135 212.54.71.34 (Mon, 02 Aug 1999 17:35:35 MET DST)
User-Agent: slrn/0.9.5.7 (UNIX)
NNTP-Posting-Date: Mon, 02 Aug 1999 17:35:35 MET DST
Newsgroups: news.software.readers