🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82363

Re: News to Mail and Back Again

#82363
From: Frank Slootweg
Date: Tue, 15 Dec 2009 22:38
54 lines
3668 bytes
[Original Followup-To ignored and set to news.software.readers, which is
the more appropriate of the two groups.]

Sabahattin Gucukoglu <mail@sabahattin-gucukoglu.com> wrote:
> Hi all,
> 
> My situation: mail is a remote IMAP mailbox, news is a local ISP
> server.  The email client is Mail.app.
> 
> Mail.app would make a fine newsreader if I had the ability to get news
> from my provider, drop it somewhere where Mail will find it (or
> download it, and ideally from my remote mailbox, but if not from some
> locally set up POP server) and if I could send news by writing to an
> address like the numerous mail2news gateways.
> 
> So far, whichever way I turn, I have to write something, and I've even
> thought of an IMAP/SMTP to NNTP proxy.  But I suspect life's too short
> for that.  There is newsfetch, for the first half, and readily
> available MTA software (Xmail should be good enough) to provide POP
> and a sendmail interface, but then I'd need a way to spew news into my
> provider.  I might have to parse the body for added headers if I ever
> wanted a Followup-To that could not be encoded in the recipient line.
> But still, I was hoping someone new of the ultimate solution for a
> situation like this.  The world would be a better place if Mail.app
> did news, but it doesn't, so I'll have to treat news like lists and
> drop it into a place where Mail can read from and arrange to be able
> to post news with the same and no changes to the interface, using the
> destination address to specify the newsgroup.
> 
> Any thoughts/recipes welcome.

  You don't mention your platform/OS, but for the moment it does not
really matter. I'll assume UNIX/Linux, but (MS-)Windows is fine as well.

  I advise to have a look at doing the pulling of News articles with the
newsreader tin. I.e. you do *not* use tin as a newsreader, but only to
pull the News articles.

  tin can pull the News articles to local files ('-S', Save News) or
mail it to an e-mail address ('-M', Mail News). See the tin(1) manual
page at <http://www.tin.org/bin/man.cgi?section=1&topic=tin> for
details.

  AFAIK, mailed articles can be threaded if your mailer knows how to do
that.

  Other options, might be suck, slrnpull, leafnode, etc.. I.e. anything
which can pull News articles and put them into files. Getting the files
read by your mailer should be too hand. Perhaps a script is needed to
format them, but that should be all.

  For the posting part, there's inews(1), which works for news just like
"sendmail -t" does for mail, i.e. you just generate the required
headers, append the body, and pass the lot to inews.
Technical Details
Message-ID: <7oqhf2F3r207pU1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <3d5ba973-165f-4112-b425-9c951a341516@e20g2000vbb.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <7oqhf2F3r207pU1@mid.individual.net>
Subject: Re: News to Mail and Back Again
Date: Tue, 15 Dec 2009 22:38:26 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <3d5ba973-165f-4112-b425-9c951a341516@e20g2000vbb.googlegroups.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp,news.software.readers
Followup-To: news.software.readers
Organization: NOYB
Lines: 54
X-Trace: individual.net Yq+VloOV1vP2D1etW+BQCgobPh2j2yVc9SsJISiebqqO6FSfLu
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:wteh1OTOxDgO4Wz4LfeagqKX8gM=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX)
 (CYGWIN_NT-6.0/1.5.22(0.156/4/2) (i686)) Hamster/2.0.2.2