🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.misc
Article #4359

problem gating inn2 <-> mailman

#4359
From: 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
Technical Details
Message-ID: <10nngfh$10uqs$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: lkh <lkh@sdf-eu.org>
Newsgroups: news.software.misc
Subject: problem gating inn2 <-> mailman
Date: Wed, 25 Feb 2026 18:53:38 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <10nngfh$10uqs$1@dont-email.me>
Injection-Date: Wed, 25 Feb 2026 18:53:39 +0000 (UTC)
Injection-Info: dont-email.me; posting-host="9733d973a4d16aa0114a2bc0b1c5c46a";
	logging-data="1080156"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/VWz855UEQV8PF8gRrjQWS"
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (NetBSD/9.1 (amd64))
Cancel-Lock: sha1:OVHg+QmnLVcKmLjp2W6HxyBpxJw=