🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9527

Re: Posting to Usenet via mail

#9527
From: Tom van Nes
Date: Mon, 22 Jul 1996 00:00
37 lines
1336 bytes
For this news group you could mail to
 news_software_nntp@your_news_system.what_ever_your_domain


/etc/aliases of news server:
----------------------------
   news_software_nntp: "|/var/lib/news/bin/mail2news news.software.nntp"


/var/lib/news/bin/mail2news:
-----------------------------
#!/bin/sh

/usr/bin/awk '
BEGIN {
        print "Newsgroups: '$1'"
        print "Distribution: local"
}

/^$/    { body=1 }
body == 1 { print ; next }

/^Subject:/
/^From:/

'| /var/lib/news/bin/inews -h -V



-- 
Tv 
 Tom van Nes 
  thomas.van-nes@alcatel.ch 
   C=ch A=400net P=alcanet O=alcatel OU=strh1 S=van-nes G=thomas

Technical Details
Message-ID: <31F39BF3.4A58@alcatel.ch>
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: <4souoa$mo5@freenet-news.carleton.ca>

Show Full Headers
Complete Article Headers
Message-ID: <31F39BF3.4A58@alcatel.ch>
Subject: Re: Posting to Usenet via mail
Date: Mon, 22 Jul 1996 00:00:00 +0000
From: Tom van Nes <thomas.van-nes@alcatel.ch>
References: <4souoa$mo5@freenet-news.carleton.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: 169479596
Distribution: inet
Content-type: text/plain; charset=us-ascii
Organization: EDS AG, Switzerland
Mime-version: 1.0
Newsgroups: news.software.nntp
X-mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/712)