🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26113

Re: INN and mail to news

#26113
From: Dave Barr
Date: Wed, 11 Feb 1998 00:00
35 lines
1968 bytes
In article <6bsq8a$q4l@mercury.arc.ab.ca>, Fuzzy Logic <bob@arc.ab.ca> wrote:
>I have been asked to setup up a mail address that will also post to a local 
>newsgroup. What's the trick for setting this up? Any pointers or help would be 
>appreciated.

I'd use the mail2news package, found at isc.org.

The trick, for sites that have a separate mail and news server, is to
configure it to use rnews instead of inews.  Actually, configure it to
use a script which is just:

   #!/bin/sh
   /path/to/rnews -S news.your.site

Create a /var/spool/news/in.coming/ and /var/spool/news/in.coming/tmp/, owned
by news, on the mail server.  (these paths may vary depending on your
paths as defined in your config.data.)  Configure your mail server as a
"feeder", by putting it in your hosts.nntp on your news server.  Make
sure rnews has permission to write to the in.coming directory, usually
by making those directories group "news" writeable and making rnews setgid
"news".

Out of cron on your mail server, run as news

  /path/to/rnews -U -S news.your.site

once an hour or so.  If the server is throttled while mail2news runs, this
will take care of any backlogs.  If your mail and news server are the
same, then you can just omit the "-S news.your.site" above.
-- 
http://www.cis.ohio-state.edu/~barr/
barr@cis.ohio-state.edu

Technical Details
Message-ID: <6bt0gkINNlo7@stumble.cis.ohio-state.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: <6bsq8a$q4l@mercury.arc.ab.ca>

Show Full Headers
Complete Article Headers
Message-ID: <6bt0gkINNlo7@stumble.cis.ohio-state.edu>
Subject: Re: INN and mail to news
Date: Wed, 11 Feb 1998 00:00:00 +0000
From: barr@stumble.cis.ohio-state.edu (Dave Barr)
References: <6bsq8a$q4l@mercury.arc.ab.ca>
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: 324211946
Distribution: inet
Organization: The Ohio State University, Dept of Computer and Info. Science
Newsgroups: news.software.nntp