🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Dan Larson Fri, 19 Mar 1999 00:00
news2mail gateway from inn-2.2 (ISC)
#36026
Author: Dan Larson
Date: Fri, 19 Mar 1999 00:00
64 lines
2787 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.


Re: news2mail gateway from inn-2.2 (ISC)
#36226
Author: Geoff Gibbs
Date: Mon, 29 Mar 1999 00:00
33 lines
2059 bytes
In article <36F2C581.40B46480@nc.com>,
	Dan Larson <dlarson@nc.com> writes:

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

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

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

Don't forget your 'ME' entry may be setting the default so that all
feeds get all groups. You may want the group name to start !*
so that nothing matches except the group(s) you want :-

test@localhost.nc.com:!*,nci.test.*:Tm:n2m!

Geoff Gibbs
-- 
UK-Human Genome Mapping Project-Resource Centre,
Hinxton, Cambridge, CB10 1SB, UK
Tel: +44 1223 494530  Fax: +44 1223 494512  E-mail: G.Gibbs@hgmp.mrc.ac.uk

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