Path: utzoo!utgpu!water!watmath!clyde!att!icus!lenny From: lenny@icus.UUCP (Lenny Tropiano) Newsgroups: comp.sources.wanted Subject: Re: Sending 'netnews' via 'email' Message-ID: <416@icus.UUCP> Date: 8 Jul 88 21:45:45 GMT References: <229@magnus.UUCP> Reply-To: lenny@icus.UUCP (Lenny Tropiano) Organization: ICUS Software Systems, Islip, New York Lines: 44 In article <229@magnus.UUCP> news@magnus.UUCP (magnus NEWS ADMIN) writes: |> |>I am looking for something which will allow me to (selectively) feed netnews |>groups from my big system as 'email' to other sites who are not set up for |>news, just mail. I envision the following: |> |> In my systems 'sys' file, I set up for batching. This means that I |>will get a list in a file by the name of the system I am interested in |>normally forwarding a news feed to. But, instead, I don't run sendbatch on |>that account, simply *this* program which reads in the list of articles, and |>proceeds to 'email' each one to a given user on another system. Ideally, the |>'subject' line would be parsed, and given to the mail system as a subject, or |>the program would actually be a MTA without invoking the local bin/mail |>program. That way, all the headers in the 'news' item would be available to |>the remote system's Mail user interface. |> |> Does anything like this already exist, or do I have to write it??? |> |>Any and all help would be greatly appreciated. |> Well you "envisioned" correctly! All you need to do is to simply create an entry in your /usr/lib/news/sys file that reads: # # Send these groups to user via mail. # mail-news:comp.sys.att,unix-pc,world,na,att,usa::mail host!user Of course you can change "mail-news" to whatever you like, and the groups can be changed accordingly. rnews automatically invokes the command at the end of the line (if any exists) and the article is sent to that user via mail. There might be a "more elegant" way of doing it with some of the netnews utilities, but this seems to be the easiest! -Lenny -- Paper-net: Lenny Tropiano | @-net: lenny@icus.UUCP ICUS Software Systems | !-net: ...att \ PO Box 1 | boulder \ Islip Terrace, NY 11752 | talcott !icus!lenny Vocal-net: (516) 582-5525 [work] | pacbell / (516) 968-8576 [home] | sbcs / Telex-net: 154232428 ICUS | Another-net: attmail!icus!lenny