🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265175

Re: slrn: mailing posts for certain newgroups?

#265175
From: Grant Edwards
Date: Sun, 26 Sep 2021 16:09
48 lines
2863 bytes
On 2021-09-26, Ted Heise <theise@panix.com> wrote:
> On Sat, 25 Sep 2021 22:58:54 -0000 (UTC), Grant Edwards <invalid@invalid.invalid> wrote:
>>  Many, many years ago, I remember configuraing slrn so that 
>>  posts to certain specific groups were submitted via email 
>>  instead of being posted via NNTP.
>>  ...
>>  Create a newsgroup hook that changes post_object to "inews" and 
>>  sets "inews_program" to something I hack together that e-mails 
>>  the article?

[I've given up on that, since the value of post_object is only checked
at startup.]

> I wonder if it might be possible just to use slrn's Reply function 
> and perhaps have the submission address stored somewhere handy 
> that would allow you to paste it in when replying?  Seems there 
> mght be a way to make it default action in certain groups, perhaps 
> with a macro?

I think that may be what I did way back when, but I can't figure out
how that would work for a post that's not a followup/reply.

> I did a brief bit of STFW on this concept, but didn't come up with 
> anything.

The other option I'm thinking about is just to cofigure slrn to use
"inews" for all groups on that sever, and then write my own "inews"
utility that knows which group needs to have its posts e-mailed. It
only takes a few lines of Python to post via NNTP or to submit a
message via SMTP (either directly or by piping it to msmtp or mutt).

The next complication is that I'd need to enable username/password
SMTP authentication for my GMail account (AKA the "less secure
applications" feature). In theory I could use OAUTH2 SMTP
authentication, but my initial attempt at setting that up on the
Google end failed due to the requirement that I register URLS for my
application's support page and privacy page -- and those URLS have to
be pre-registered with Google.

The "group" in question is a mailing list on gmane.io, and I'm still
hoping the owners of that list will reverse their recent change that
prohibits posts being submitted via gmane...

--
Grant


Technical Details
Message-ID: <siq604$hgd$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>

Show Full Headers
Complete Article Headers
Message-ID: <siq604$hgd$1@reader1.panix.com>
Subject: Re: slrn: mailing posts for certain newgroups?
Date: Sun, 26 Sep 2021 16:09:40 +0000
From: Grant Edwards <invalid@invalid.invalid>
References: <sio9je$qcs$1@reader1.panix.com> <slrnsl14d9.41p.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: Sun, 26 Sep 2021 16:09:40 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="::1"; logging-data="17933"; mail-complaints-to="abuse@panix.com"
User-Agent: slrn/1.0.3 (Linux)
Lines: 48