🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36032

news2mail gateway from inn-2.2 (ISC)

#36032
From: Dan Larson
Date: Fri, 19 Mar 1999 00:00
65 lines
2840 bytes
I just installed inn-2.2 from isc.org. The news server is working well, as is

the mail to news gateway (mailpost). I'm having a problem with the
news to mail gateway (news2mail). news2mail is working only up to
a point.

I believe I've set up news2mail.cf and newsfeeds as the inn-2.2
documentation suggests.

news2mail works as it should if I have just one "n2m newsgroup"
defined in newsfeeds and news2mail.cf.

The problem appears if I define more than one n2m newsgroup:
then, any message posted to a  n2m newsgroup  gets mailed to
all the n2m newsgroups defined in newsfeeds and news2mail.cf.

For example a posting to the nci.test newsgroup results in mail being
sent to the email aliases (test & footest) mapped to the nci.test AND
nci.foo newsgroups. Adding even more n2m newsgroups results in
mail being sent to all the n2m aliases associated with the newsgroups.

Here are some snips from /usr/local/news/etc/newsfeeds:

    #news-software@localhost.our.domain.com:rec.pets.redants.*:Tm:n2m!
    n2m!:!*:Tc,Ac,Wn*:/usr/local/news/bin/news2mail
   test@localhost.nc.com:nci.test.*:Tm:n2m!
    footest@localhost.nc.com:nci.foo.test.*:Tm:n2m!
    #engr@localhost.nc.com:nci.foo.bar.*:Tm:n2m!
    #lego@localhost.nc.com:nci.foo.baz.*:Tm:n2m!

And from /usr/local/news/etc/news2mail.cf:

   #news-software@localhost.our.domain.com
   test@localhost.nc.com           test@nc.com
   footest@localhost.nc.com        footest@nc.com
   #foobar@localhost.nc.com          foobar@nc.com
   #foobaz@localhost.nc.com          foobaz@nc.com

These above snips are from files on the news server "news.nc.com" .

I have the following aliases set up:

smtp server (global) aliases:

    test: test@news.nc.com
    footest@news.nc.com

news.nc.com (local)  aliases:

   test: "|/usr/local/news/bin/mailpost   nci.test"
   footest: "|/usr/local/news/bin/mailpost   nci.foo.test"

Any idea what's causing messages posted to a  n2m newsgroup to
go to all  the n2m email aliases? Is this a configuration problem, a
documentation problem, or a bug?

Any help or pointers are greatly appreciated.

Dan Larson
Network Computer Inc.




Technical Details
Message-ID: <36F29D20.4C42DF2C@nc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <7clsfc$rp$1@niobium.hgmp.mrc.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <36F29D20.4C42DF2C@nc.com>
Subject: news2mail gateway from inn-2.2 (ISC)
Date: Fri, 19 Mar 1999 00:00:00 +0000
From: Dan Larson <dlarson@nc.com>
References: <7clsfc$rp$1@niobium.hgmp.mrc.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 456606872
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Network Computer Inc.
Mime-Version: 1.0
Newsgroups: news.software.nntp