Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!ufqtp!bernhold From: bernhold@qtp.ufl.edu (David E. Bernholdt) Newsgroups: news.misc Subject: Re: Gatewaying between mailing list and usenet? Message-ID: <671@orange19.qtp.ufl.edu> Date: 13 Sep 89 16:28:37 GMT References: <663@orange19.qtp.ufl.edu> Reply-To: bernhold@orange19 (David E. Bernholdt) Organization: University of Florida Quantum Theory Project Lines: 40 In article <663@orange19.qtp.ufl.edu> I wrote: > >We have a local (campus-wide) mailing list that we'd like to gateway >to the usenet (for local distribution only). To post incoming mail to usenet, add an alias for sendmail which says something like: post-mailing-list: "|/usr/lib/news/recnews news.group.name" and add "post-mailing-list" to the subscription list for the mailing list. Recnews is part of the standard B-news release and there are both man page and helpful comments in the code. To mail incoming usenet articles, add a line like this to your news sys file: mail1:world,usa,na,fl,uf,news.group.name::/usr/ucb/mail mailing-list@address This has a few more problems associated with it: The news header appears as part of the body of the message, and the mail program can't make any use of the information therein. Thus, no "Subject:" for the mail message unless you set one in the sys file. Also, the "From:" is probably not quite what you want. Some improvements could probably be made to the usenet->mail transformation: Perhaps feeding it to sendmail with a -f flag to set the "From:" name. It may also be necessary to move around or modify (?) the headers so that sendmail will pick up on them. (I tried simply feeding the article to sendmail unmodified and still treated the whole thing as text -- I haven't done anything fancy yet). My thanks to kim@kannel.lut.fi (Kimmo Suominen), Rich Salz , and liz@dip.eecs.umich.edu (Elizabeth Zaenger) for their help with this. -- David Bernholdt bernhold@qtp.ufl.edu Quantum Theory Project bernhold@ufpine.bitnet University of Florida Gainesville, FL 32611 904/392 6365