🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #71977

Re: Mail2news

#71977
From: David Mahon
Date: Tue, 28 Jun 2005 10:22
30 lines
2194 bytes
In article <d9plrm.14k.1@news.isolution.nl>, Dr.Ruud 
<rvtol+news@isolution.nl> writes

>David Mahon:
>
>> I'd like to use mail2news with a newsgroups: header in the email
>> containing the name(s) of the newsgroup(s).
>> Email to mail2news@email.address
>
>That looks like a very straightforward operation. Did you already choose
>a mail2news executable?

No, I looked at mailpost, but that takes a command line argument of 
which newsgroup to post to. I guess that a script could be written which 
extracts the information from the Newsgroups header and then uses it to 
pass the correct command on to mailpost - but I am new to linux and 
never found the time to correctly figure it out.

Ideally I'll just put a line in the aliases file:

mail2news : <script to call>

and everything will then happen without further ado.



Alternatively, it could be written directly into Exim somewhere or I 
could try fiddling with the mailpost source.
-- 
David Mahon
Technical Details
Message-ID: <CVek5VCsTSwCFwz$@earth.amigo.co.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!solnet.ch!solnet.ch!news.clara.net!valentin.news.clara.net!news.amigo.co.uk!amigo.co.uk!news
References: <3i481bFjo3bqU1@individual.net> <d9pcnj.18s.1@news.isolution.nl> <RzsAQVanACwCFwSB@earth.amigo.co.uk> <d9plrm.14k.1@news.isolution.nl>

Show Full Headers
Complete Article Headers
Message-ID: <CVek5VCsTSwCFwz$@earth.amigo.co.uk>
Subject: Re: Mail2news
Date: Tue, 28 Jun 2005 11:22:36 +0100
From: David Mahon <news@amigo.co.uk>
References: <3i481bFjo3bqU1@individual.net> <d9pcnj.18s.1@news.isolution.nl> <RzsAQVanACwCFwSB@earth.amigo.co.uk> <d9plrm.14k.1@news.isolution.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!solnet.ch!solnet.ch!news.clara.net!valentin.news.clara.net!news.amigo.co.uk!amigo.co.uk!news
Reply-To: nospam@amigo.co.uk
Newsgroups: news.software.nntp
Lines: 30
Organization: AMIgo
MIME-Version: 1.0
Content-Type: text/plain;charset=us-ascii;format=flowed
User-Agent: Turnpike/6.04-U (<b7TeB4L3FWmk6RABGwMEQYkyTt>)
NNTP-Posting-Host: earth.amigo.co.uk
X-Trace: news.amigo.co.uk 1119954163 earth.amigo.co.uk (28 Jun 2005 11:22:43
 +0100)
X-No-Archive: yes
X-Complaints-To: abuse@amigo.co.uk