🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265181

Re: slrn: mailing posts for certain newgroups?

#265181
From: Grant Edwards
Date: Mon, 27 Sep 2021 05:36
36 lines
2674 bytes
On 2021-09-27, Ted Heise <theise@panix.com> wrote:
> On Sun, 26 Sep 2021 21:34:24 -0000 (UTC),
>   Grant Edwards <invalid@invalid.invalid> wrote:
>>  On 2021-09-26, Eli the Bearded <*@eli.users.panix.com> wrote:
>>
>> > I've never read a mailing list via gmane, but shouldn't the 
>> > posts come with the proper headers to just reply by email and 
>> > go to the list? Eg, when I read vim-users (which I get by 
>> > email), all of the posts have
>> 
>>  That would work for replies. The problem happens for posts that 
>>  are not replies.
>
> Ah, that's different.  Not sure I realized that bit from the OP.
> If you're just composing a new message, why not use a mail client 
> (e.g., Pine)?

I think I vaguely recall that's how I did it back in the day: when
starting a new thread, send an e-mail with mutt. Read and follow-up
with slrn. I must have used an article-mode hook to remapped the 'f'
key to do a reply instead of a follow-up, and then used a some other
hook to change the To: address so that the email went to the list
instead of of the previous article's author. But after reading through
the slrn docs, I still have no idea how to do that.

Anyhow, I've got my 'inews' program written and working now, so when
connected to gmane slrn posts using inews. My inews app looks at the
group, and then either posts it via NNTP or emails it via SMTP.
Writing my own 'inews' only took about a half hour, but then I spent
another 2-3 hours tracking down a bug in Python's SMTP library; the
send_message() call does "from mangling" (a la mbox) in message bodies
when it should not. There's an easy workaround, but it took me a while
to track down the actual bug and come up with a real fix.

--
Grant
Technical Details
Message-ID: <sirl99$9ku$1@reader1.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <sio9je$qcs$1@reader1.panix.com> <slrnsl14d9.41p.theise@panix2.panix.com> <siq604$hgd$1@reader1.panix.com> <eli$2109261620@qaz.wtf> <siqp10$q8c$1@reader1.panix.com> <slrnsl28al.55a.theise@panix2.panix.com>

Show Full Headers
Complete Article Headers
Message-ID: <sirl99$9ku$1@reader1.panix.com>
Subject: Re: slrn: mailing posts for certain newgroups?
Date: Mon, 27 Sep 2021 05:36:41 +0000
From: Grant Edwards <invalid@invalid.invalid>
References: <sio9je$qcs$1@reader1.panix.com> <slrnsl14d9.41p.theise@panix2.panix.com> <siq604$hgd$1@reader1.panix.com> <eli$2109261620@qaz.wtf> <siqp10$q8c$1@reader1.panix.com> <slrnsl28al.55a.theise@panix2.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers
Organization: PANIX Public Access Internet and UNIX, NYC
Injection-Date: Mon, 27 Sep 2021 05:36:41 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="::1"; logging-data="9886"; mail-complaints-to="abuse@panix.com"
User-Agent: slrn/1.0.3 (Linux)
Lines: 35