• problem gating inn2 <-> mailman

    From lkh@lkh@sdf-eu.org to news.software.misc on Wed Feb 25 18:53:38 2026
    From Newsgroup: news.software.misc

    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
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From lkh@lkh@dwalin.uucp to news.software.misc,news.software.nntp on Wed Feb 25 22:49:52 2026
    From Newsgroup: news.software.misc

    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
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From =?UTF-8?Q?Julien_=C3=89LIE?=@iulius@nom-de-mon-site.com.invalid to news.software.nntp,news.software.misc on Sun Mar 8 12:17:33 2026
    From Newsgroup: news.software.misc

    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 |eLIE

    -2-aJe vais t'apprendre |a chasserrCa Nous commencerons par les marcassins,
    et puis ensuite, nous passerons aux patrouilles romaines, et enfin aux
    sangliers-a!-a-+ (Ast|-rix)

    --- Synchronet 3.21d-Linux NewsLink 1.2