🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.misc
3 messages
3 total messages Started by lkh Wed, 25 Feb 2026 18:53
problem gating inn2 <-> mailman
#4359
Author: lkh
Date: Wed, 25 Feb 2026 18:53
40 lines
2486 bytes
Good Day,

I'm hoping to find help with this problem I'm having with gating
a mailman mailing list to our local newsgroup.

The symptom I'm seeing is a duplication of messages which aparently
is caused by the way the gateway is set up.

From scrutinising the message headers this is what happens:

mailman sends a message to the newsserver where it get's injected
properly receiving an Injection-Information: header field. Then however
this new message is sent back to mailman. Now there's a duplicate with
identical message ID. Mailman then sends it back to inn2 which refuses
to take it and mailman's python nntp client throws an error, thus preventing
an endless loop.

Why inn2 even sends the message back to mailman I can't tell.

These are the relevant snippets from my inn2 setup:

# this is from /etc/news/news2mail.cf
# no surprises, and it basically works. News from the grenzland.test
# group is forwarded to the proper list address
test-grenzland-club     test@grenzland.club

# this is in /etc/news/newsfeeds
news2mail!:!*:Ac,Tc,Wn*:/usr/lib/news/bin/news2mail
test-grenzland-club/grenzland.club:!*,grenzland.test:Ap,Tm:news2mail!
# this last line should do two things: forward messages from the
# test@grenzland.club list to the grenzland.test newsgroup,
# AND don't send any messages back which have grenzland.club
# in their Path header. This last bit seems to fail however,
# and I fail to spot the error.

Any ideas? Or working examples you could point me too?

Thanks a lot, 

Laurens
Re: problem gating inn2 <-> mailman
#4227
Author: lkh
Date: Wed, 25 Feb 2026 22:49
46 lines
2924 bytes
reposting this to news.software.nntp which might be more apropriate:

lkh <lkh@sdf-eu.org> wrote:
> Good Day,
> 
> I'm hoping to find help with this problem I'm having with gating
> a mailman mailing list to our local newsgroup.
> 
> The symptom I'm seeing is a duplication of messages which aparently
> is caused by the way the gateway is set up.
> 
> From scrutinising the message headers this is what happens:
> 
> mailman sends a message to the newsserver where it get's injected
> properly receiving an Injection-Information: header field. Then however
> this new message is sent back to mailman. Now there's a duplicate with
> identical message ID. Mailman then sends it back to inn2 which refuses
> to take it and mailman's python nntp client throws an error, thus preventing
> an endless loop.
> 
> Why inn2 even sends the message back to mailman I can't tell.
> 
> These are the relevant snippets from my inn2 setup:
> 
> # this is from /etc/news/news2mail.cf
> # no surprises, and it basically works. News from the grenzland.test
> # group is forwarded to the proper list address
> test-grenzland-club     test@grenzland.club
> 
> # this is in /etc/news/newsfeeds
> news2mail!:!*:Ac,Tc,Wn*:/usr/lib/news/bin/news2mail
> test-grenzland-club/grenzland.club:!*,grenzland.test:Ap,Tm:news2mail!
> # this last line should do two things: forward messages from the
> # test@grenzland.club list to the grenzland.test newsgroup,
> # AND don't send any messages back which have grenzland.club
> # in their Path header. This last bit seems to fail however,
> # and I fail to spot the error.
> 
> Any ideas? Or working examples you could point me too?
> 
> Thanks a lot, 
> 
> Laurens

-- 
Laurens Kils-HĂĽtten * lkh@sdf-eu.org * @lkh@social.sdfeu.org
Re: problem gating inn2 <-> mailman
#1
Author: Julien ÉLIE
Date: Sun, 08 Mar 2026 11:17
20 lines
2012 bytes
Hi Laurens,

> I'm hoping to find help with this problem I'm having with gating
> a mailman mailing list to our local newsgroup.

Did you finally manage to solve the problem?  Just disabling the 
newsfeeds entry and letting mailman regularly pull the articles by 
crontab from the newsgroup?
I can update the news2mail manual page to mention that, as well as the 
newsfeeds sample.

Any other advice for future users who set up gatewaying?

-- 
Julien ÉLIE

« Je vais t'apprendre à chasser… Nous commencerons par les marcassins,
   et puis ensuite, nous passerons aux patrouilles romaines, et enfin aux
   sangliers ! » (Astérix)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads