Post by Eli the BeardedPost by Grant EdwardsPost by Ted HeiseI 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.
If you're not replying/following-up, there's no post where one would
find that header, and slrn won't look for it anyway.
Post by Eli the BeardedIn 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.
AFAICT, slrn can post using NNTP or using an external "inews" utility,
but that setting can't be changed on-the-fly or per-group. It's set
once at startup.
The only obvious solution I can think of is to configure slrn to post
via inews for the gmane server, and then write an inews application
that looks at the group and either posts to gmane.io using NNTP or
e-mails the post. That application would need a table/dictionary of
the submission e-mail addresses for any groups that can't be posted to
by NNTP.
Post by Eli the BeardedPost by Grant EdwardsThe 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?
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".
Post by Eli the BeardedBut, 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.
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. I haven't tried that, since I set up 2FA at Google and now
have app-specific passwords working for IMAP and SMTP.
Post by Eli the Bearded(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?
Don't have either of those. The only page I have is on panix.com, and
Google refuses to allow support/privacy URLs using panix.com. It's
pretty much a moot question now, since I have application-specific
passwords working.
Post by Eli the BeardedPost by Grant EdwardsThe "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.
I've heard from the admins of the list in question, and they don't
seem to be aware of any change or problem that would have triggered
such a change. I'll see if I can ping the guy that runs Gmane...
--
Grant