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.
It looks like I'll need to do that again, but I don't remember
how I did it and can't find any old config files. :/
Can anybody offer any advice on the best way to set that up
again?
Create a newsgroup hook that changes post_object to "inews" and
sets "inews_program" to something I hack together that e-mails
the article?
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 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 did a brief bit of STFW on this concept, but didn't come up with
anything.
On 2021-09-26, Ted Heise <theise@panix.com> wrote:
I wonder if it might be possible just to use slrn's Reply functionI think that may be what I did way back when, but I can't figure out
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?
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 withThe other option I'm thinking about is just to cofigure slrn to use
anything.
"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...
In news.software.readers, Grant Edwards <invalid@invalid.invalid> wrote:
On 2021-09-26, Ted Heise <theise@panix.com> wrote:
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'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
Reply-To: vim_use@googlegroups.com
In trn, posts are composed and sent via Pnews, and I'd put all of the
logic there. But I did write my own inews (in C) for a different problem
in the distant past, and still keep it around for a mail to news
gateway.
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.
Just a question, but couldn't you solve this faster using Panix for
the email?
But, FWIW, I've created OAUTH2 "apps" for other things (not Google)
and just registered my own never-will-be-used-by-anyone pages for
that sort of thing. Since they don't do a code review of apps, at least
not ones not released, I can just use the tokens however I want with
whatever I want. Curl, Perl, hand-composed-headers-over-tunneled- connections, you know, whatever.
(From memory): Depending on the user-signup workflow you have,
OAUTH2 can either send a response to a central server or give a URL
template with details in the response for the app to connect to the
central server. The second method is ideal for the hobbiest. Any
other URLs are not really used. Maybe your twitter or facebook page
could be the support and privacy pages?
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...
I'd guess that the stop is because of people using gmane to
whitewash spam or trolls.
On 2021-09-26, Eli the Bearded <*@eli.users.panix.com> wrote:
In news.software.readers, Grant Edwards <invalid@invalid.invalid> wrote:
On 2021-09-26, Ted Heise <theise@panix.com> wrote:
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'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.
That would work for replies. The problem happens for posts that are
not replies.
I don't expose my panix e-mail address or use it for any day-to-day
activity. It's only used as a "backup".
When you create an OAUTH2 "app" on Google, you have to provide a
couple URLs, and there appear to be not-well-documented rules for
those URLs. Since my initial attempt, somebody suggested that you can
use a nonsense URL with the hostname 'localhost' and Google will let
it slide.
In news.software.readers, Grant Edwards <invalid@invalid.invalid> wrote:
That would work for replies. The problem happens for posts that are
not replies.
Start a follow-up to any old post, then edit subject / references and
body to make it a new post?
I don't expose my panix e-mail address or use it for any day-to-day
activity. It's only used as a "backup".
I didn't suggest that idly. I send email from non @panix addresses using panix all the time.
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 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 did a brief bit of STFW on this concept, but didn't come up with
anything.
On 2021-09-26, Ted Heise <theise@panix.com> wrote:
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 did a brief bit of STFW on this concept, but didn't come up with
anything.
I edit headers myself in slrn :P
It would be pretty trivial to modify it to pipe messages to `sendmail` instead of using SMTP directly.
On 2021-09-29, Branimir Maksimovic <branimir.maksimovic@gmail.com> wrote:
On 2021-09-29, Grant Edwards <invalid@invalid.invalid> wrote:
It would be pretty trivial to modify it to pipe messages to `sendmail`
instead of using SMTP directly.
hm, I can send mail in slrn..
Can you send a follow-up (with proper refernce header, quoting,
attribution, etc.) via email instead of NNTP? Can you start a new
thread via e-mail from slrn?
--
Grant
On 2021-09-29, Grant Edwards <invalid@invalid.invalid> wrote:
It would be pretty trivial to modify it to pipe messages to `sendmail`
instead of using SMTP directly.
hm, I can send mail in slrn..
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 483 |
Nodes: | 16 (2 / 14) |
Uptime: | 148:02:25 |
Calls: | 9,590 |
Calls today: | 4 |
Files: | 13,676 |
Messages: | 6,148,129 |
Posted today: | 1 |