Path: utzoo!utgpu!water!watmath!clyde!cbosgd!osu-cis!tut!bob From: bob@tut.cis.ohio-state.edu (Bob Sutterfield) Newsgroups: news.software.b Subject: Re: mail to news Summary: do it in aliases, or in sendmail.cf Keywords: mail news uurec Message-ID: <3158@tut.cis.ohio-state.edu> Date: 13 Dec 87 06:51:26 GMT References: <38fe15a9.4580@hi-csc.UUCP> Organization: The Ohio State University Dept of Computer & Information Science Lines: 28 In article <38fe15a9.4580@hi-csc.UUCP> giebelhaus@hi-csc.UUCP (Timothy R. Giebelhaus) writes: >How does one get mail into news. For example, say I want to have a >group called honeywell.cad.parts which as all the mail sent to >cad-parts@hi-csc.uucp. The quick way (the way we used to do it) is to have a line in hi-csc's /usr/lib/aliases file that looks like like: cad-parts: "|/usr/lib/news/recnews honeywell.cad.parts" but that requires maintaining an alias for each newsgroup you want to gateway. The way we do it here now (thanks to some gross but inspired sendmail hacquery by Karl Kleinpaste) involves, among other things, the following excerpts from sendmail.cf: CNcis osu oh comp misc news rec sci soc talk unix-pc ddn alt R$=N.$*<@$=W.$D> $#news$:$1.$2 Mnews, P=/usr/lib/news/recnews, F=DFMls, M=65535, A=recnews $u The rest of the sendmail.cf-based implementation is left as an exercise for the reader :-) -- Bob Sutterfield, Department of Computer and Information Science The Ohio State University; 2036 Neil Ave. Columbus OH USA 43210-1277 bob@ohio-state.{arpa,csnet} or ...!cbosgd!osu-cis!bob soon: bob@cis.ohio-state.edu