๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.misc
Article #4227

Re: problem gating inn2 <-> mailman

#4227
From: 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
Technical Details
Message-ID: <10nnuag$162g6$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
References: <10nngfh$10uqs$1@dont-email.me>

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@dwalin.uucp>
Newsgroups: news.software.misc,news.software.nntp
Subject: Re: problem gating inn2 <-> mailman
Followup-To: news.software.nntp
Date: Wed, 25 Feb 2026 22:49:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 46
Sender:  <lkh@dwalin.fritz.box>
Message-ID: <10nnuag$162g6$1@dont-email.me>
References: <10nngfh$10uqs$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 25 Feb 2026 22:49:53 +0000 (UTC)
Injection-Info: dont-email.me; posting-host="79aed56d0bfdd284529060e28ddbb636";
	logging-data="1247750"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+OKD6jJikpPdOmTREnPKMr"
User-Agent: tin/2.6.3-20231224 ("Banff") (Linux/6.12.73-1-lts (x86_64))
Cancel-Lock: sha1:8mf7yCnaYSqvjMQb0u6MTFeHquk=