Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!necntc!ncoast!allbery From: hyc@umix.UUCP (Howard Chu) Newsgroups: comp.sources.misc Subject: Batching news for mailing Message-ID: <3655@ncoast.UUCP> Date: Mon, 27-Jul-87 20:25:20 EDT Article-I.D.: ncoast.3655 Posted: Mon Jul 27 20:25:20 1987 Date-Received: Wed, 29-Jul-87 01:46:22 EDT Sender: allbery@ncoast.UUCP Organization: University of Michigan Computing Center, Ann Arbor, MI Lines: 68 Keywords: news 2.11 mail batched Approved: allbery@ncoast.UUCP X-Archive: comp.sources.misc/8707/69 I was recently faced with the problem of supplying Usenet articles to hosts without access to uucp or nntp, only mail. I set up a mailing list to send to, and to keep from having to send zillions of tiny messages, I set it up using the batching mechanism of news. Anyway, I wrote up a little script to collect the batched news and mail it out in the form of an ARPAnet digest, and thought it might be useful enough to share with the world... [I sure wish the Info-Apple moderator would do something like this. 50 messages a day from that list is getting to be a pain... }-) ] So, I hereby present 'batchmail', a script to send batched news via mail... By the way, I've only used this on our Vax 750 w/news 2.11 running on 4.3 BSD. My sample use required the following changes to get going - In the news sys file: mts-info-minix:world,comp.os.minix:F:/usr/spool/batch/mts-minix In /usr/lib/crontab.local 37 3 * * * usenet /usr/new/lib/news/batchmail mts-minix comp.os.minix info-minix@um.cc.umich.edu Hope it's useful to some other news administrators out there... ######## Cut here and save ####### #!/bin/sh # # batchmail - written to work with news 2.11... # Script to read messages batched by news and concatenate them into # a digest-format suitable for Internet mailings... Send patches to # hyc@umix.cc.umich.edu, or seismo!umix!hyc # # For each newsgroup to be mailed, add a line of the following format # to your sys file: # :, :F: # # and a line to crontab (or crontab.local...) like: #