Article View: news.software.nntp
Article #79204Pull News To Mail
From: Sabahattin Gucukoglu
Date: Mon, 14 Jul 2008 00:20
Date: Mon, 14 Jul 2008 00:20
61 lines
4343 bytes
4343 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I have written a tool to send news by mail. It's written in Tcl and you can fetch it from here: http://sabahattin-gucukoglu.com/newsfetch It's sufficiently small that writing it was neither troublesome nor unrewarding. It works on all platforms and it's fast. Here's a surprisingly related thread: http://tinyurl.com/5h7vnv Now, I want to go the other way: to put unique news articles sucked from a news server (identified uniquely by Message-ID fields) for specified groups into some sort of mail store or for posting to lists, by injecting them into the stdin of some responsible process (maildrop, for instance). The useful advantage of a mail store is that one gains all the benefits of IMAP, and all of the filtering, tools and features of all of the email filters and clients that can use either IMAP or the store that the IMAP server is using. (Making easy stuff hard, you see. :-) ) I've looked at the big, bloated options. In particular, suck and inn. I've tried to repurpose tools like fetchnews in leafnode, but it's hopeless. Wherever I look, I find the tools written for fetching articles are all purpose-built. I'd hate to write the program myself if I could avoid duplicating effort, mostly because of details of the implementation in Tcl that would make the script decidedly less portable and decidedly more unwieldy. I will, if it comes to it, but it'll take more thought than for newspost to get it all right. (Currently, an "xhdr message-id 1-" on each group followed by "article msgid" on not-seen articles should be all that's needed.) Does anybody have last thoughts on a convenient way to fetch news articles separately into the stdin of subprocesses? That's all I need. I can work out how to store articles, or how to separate articles for each group (which could include not downloading duplicate articles that were crossposted) later. Cheers, Sabahattin - -- Sabahattin Gucukoglu <mail<at>sabahattin<dash>gucukoglu<dot>com> Address harvesters, snag this: feedme@yamta.org Phone: +44 20 88008915 Mobile: +44 7986 053399 http://sabahattin-gucukoglu.com/ -----BEGIN PGP SIGNATURE----- Version: PGP 8 Comment: QDPGP - http://community.wow.net/grt/qdpgp.html iQA/AwUBSHqbyyNEOmEWtR2TEQIe7QCaA4XNXkEmPZSV3kQFp6SemhOAcT4AoLxd ozURe0yc3jmvEt0uavQ7NfzA =eAJx -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<487AA9DB.31086.1565F5BB@mail.sabahattin-gucukoglu.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!number1.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <487AA9DB.31086.1565F5BB@mail.sabahattin-gucukoglu.com> Subject: Pull News To Mail Date: Mon, 14 Jul 2008 01:20:27 +0100 From: "Sabahattin Gucukoglu" <mail@sabahattin-gucukoglu.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!number1.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 13 Jul 2008 19:20:35 -0500 Return-Path: <mail@sabahattin-gucukoglu.com> X-Received: FROM amethyst.sabahattin-gucukoglu.com (amethyst.sabahattin-gucukoglu.com [83.146.49.248]) (authenticated sgucukoglu) BY bloodstone.sabahattin-gucukoglu.com (Sendmail 8.13.8) WITH ESMTP ID m6E0KRcW028802 To: newspost@accmaild.org MIME-Version: 1.0 X-Confirm-Reading-To: "Sabahattin Gucukoglu" <mail@sabahattin-gucukoglu.com> Priority: normal Newsgroups: news.software.nntp,news.software.readers Followup-To: news.software.nntp X-PM-Encryptor: QDPGP, 4 X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Lines: 61 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-lYvXkBaEVfW5t/j7EY1Ikc7NDkfXLnvoN3mxJUEMxhSXY4khRC9YBTSWYjlpr3aGU9LkiBEGhifaYC2!p8kDVTWJCNMWEGXV3R/Zs4UqD+wHYdEfUfKhVnC15/D/hhQhQt7nRYnKWcwA9QeDaY+UZnqhPFiN!fwa8f3xn X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39