🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #41717

Re: Generating a feed out of mail (eg. mailing lists)

#41717
From: Nickolai Zeldovich
Date: Mon, 22 Nov 1999 00:00
38 lines
1714 bytes
In article <slrn83egsi.2tb.DELETE.THIS.hjz@hersland.Zierke.com>,
           Hans-Joachim Zierke wrote:
>Is there any documentation for it, for the non-programmer type of us?

Not really; here are some bits of configuration from a machine which
runs these scripts, though:

The init script for nntp2mail runs:

  /usr/local/bin/tcpserver -H -l${HOSTNAME} -R -v -c 50 -u 60001 -g 60001 \
                           0 2119 /news/bin/nntp2mail 2>&1 | \
                           /var/qmail/bin/splogger nntp2mail 3 &

dnewsfeeds entry:

  label news-to-mail
    alias INTERNET
    addgroup foo.bar
    groupref EVERYONE
    maxconnect 2
  end

dnntpspool.ctl:

  news-to-mail         localhost                200        p2119

nntp2mail.cf:

  $NNTPtoMailGroups{'foo.bar'} = 'foo-bar-list@example.com';

And for the mailpost script, just put the following in the .forward (or
in our case, .qmail) file, to post to foo.bar:

  |/news/bin/mailpost foo.bar

--Nickolai.

Technical Details
Message-ID: <slrn83hns0.diu.kolya@pepsi.mit.edu>
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: <8158m5$15gl$1@black.news.nacamar.net> <slrn83ccbs.o4q.kolya@pepsi.mit.edu> <slrn83egsi.2tb.DELETE.THIS.hjz@hersland.Zierke.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn83hns0.diu.kolya@pepsi.mit.edu>
Subject: Re: Generating a feed out of mail (eg. mailing lists)
Date: Mon, 22 Nov 1999 00:00:00 +0000
From: kolya@mit.edu (Nickolai Zeldovich)
References: <8158m5$15gl$1@black.news.nacamar.net> <slrn83ccbs.o4q.kolya@pepsi.mit.edu> <slrn83egsi.2tb.DELETE.THIS.hjz@hersland.Zierke.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
X-Deja-AN: 551522568
Organization: Massachvsetts Institvte of Technology
User-Agent: slrn/0.9.5.7 (UNIX)
Newsgroups: news.software.nntp