Discussion:
IMAP NNTP gateway
(too old to reply)
kyonshi
2024-03-14 12:18:46 UTC
Permalink
Ok, short question: I was thinking of using my raspberry as a mail
server, which made me think: is there a way to get nntp newsgroups via
IMAP? I didn't look too deep into the software yet, but it would be neat
if I could have that as an option.
Andrew Rump
2024-03-14 12:25:26 UTC
Permalink
Post by kyonshi
Ok, short question: I was thinking of using my raspberry as a mail
server, which made me think: is there a way to get nntp newsgroups via
IMAP? I didn't look too deep into the software yet, but it would be neat
if I could have that as an option.
Why do you want that? It would be possible to implement some kind of gateway but it would require a lot of disc space and every time a group explodes you will drown in unread messages!
Why not just use a news client - and maybe the respberry as a proxy - if that make sense after you explained why you want to do it in the first place.
kyonshi
2024-03-14 12:29:33 UTC
Permalink
Post by Andrew Rump
Post by kyonshi
Ok, short question: I was thinking of using my raspberry as a mail
server, which made me think: is there a way to get nntp newsgroups via
IMAP? I didn't look too deep into the software yet, but it would be neat
if I could have that as an option.
Why do you want that? It would be possible to implement some kind of gateway but it would require a lot of disc space and every time a group explodes you will drown in unread messages!
Why not just use a news client - and maybe the respberry as a proxy - if that make sense after you explained why you want to do it in the first place.
I have installed nextcloud on the rpi as a private file storage/talk
board. Nextcloud also has an IMAP Mail interface. So I was thinking if I
could maybe connect my installation of INN (as yet not configured) to it
so I could read news by just going on my nextcloud page.
Julien ÉLIE
2024-03-14 17:05:18 UTC
Permalink
Hi kyonshi,
Post by kyonshi
Post by kyonshi
Ok, short question: I was thinking of using my raspberry as a mail
server, which made me think: is there a way to get nntp newsgroups via
IMAP? I didn't look too deep into the software yet, but it would be neat
if I could have that as an option.
I have installed nextcloud on the rpi as a private file storage/talk
board. Nextcloud also has an IMAP Mail interface. So I was thinking if I
could maybe connect my installation of INN (as yet not configured) to it
so I could read news by just going on my nextcloud page.
INN comes with a program named imapfeed which can feed news articles to
an IMAP server.

In your newsfeeds file:

localimapserver\
:*\
:Tm:imapfeed!

imapfeed!\
:!*\
:Tc,Wnm*,S16384:/usr/bin/news/imapfeed

and set the corresponding localimapserver entry in your innfeed.conf
file. You'll see in the innfeed.conf manual page the deliver-*
parameters which can be used for that entry.

I've never tested imapfeed so I hope it still works fine with current
IMAP implementations. In any case, if you try it, I'll be glad to hear
your feedback.
--
Julien ÉLIE

« Le bonheur, c'est vouloir ce que l'on a. »
kyonshi
2024-03-15 08:47:27 UTC
Permalink
Post by Julien ÉLIE
Hi kyonshi,
Post by kyonshi
Post by kyonshi
Ok, short question: I was thinking of using my raspberry as a mail
server, which made me think: is there a way to get nntp newsgroups via
IMAP? I didn't look too deep into the software yet, but it would be neat
if I could have that as an option.
I have installed nextcloud on the rpi as a private file storage/talk
board. Nextcloud also has an IMAP Mail interface. So I was thinking if
I could maybe connect my installation of INN (as yet not configured)
to it so I could read news by just going on my nextcloud page.
INN comes with a program named imapfeed which can feed news articles to
an IMAP server.
    localimapserver\
        :*\
        :Tm:imapfeed!
    imapfeed!\
        :!*\
        :Tc,Wnm*,S16384:/usr/bin/news/imapfeed
and set the corresponding localimapserver entry in your innfeed.conf
file.  You'll see in the innfeed.conf manual page the deliver-*
parameters which can be used for that entry.
I've never tested imapfeed so I hope it still works fine with current
IMAP implementations.  In any case, if you try it, I'll be glad to hear
your feedback.
I...was absolutely not aware that this was a thing. I thought I had read
through most of INN's configuration, but I guess I missed that part.
If that's the case I will just see what it can do.

Markus Schaaf
2024-03-14 15:08:35 UTC
Permalink
Post by kyonshi
Ok, short question: I was thinking of using my raspberry as a mail
server, which made me think: is there a way to get nntp newsgroups via
IMAP? I didn't look too deep into the software yet, but it would be neat
if I could have that as an option.
Cyrus IMAP can do this.
https://www.cyrusimap.org/imap/reference/admin/nntp.html
Grant Taylor
2024-03-15 02:11:08 UTC
Permalink
I was thinking of using my raspberry as a mail server, which made me
think: is there a way to get nntp newsgroups via IMAP?
I don't remember what IMAP server it was, but I know that one I've
looked at in the past did provide access to the news spool on the server
using a separate news name space.

It might have been Cyrus, but the little bit I've read about this
evening doesn't jive with what I remember. Reading this evening makes
me think that Cyrus wants to be the NNTP server to receive the articles.
Conversely I remember reading about an IMAP server that accessed a
different news daemon's news spool, ostensibly a traditional spool
(tradspool) for INN.
--
Grant. . . .
Loading...