[comp.unix.wizards] use mail to post news?

karl_kleinpaste@giza.cis.ohio-state.edu (04/06/90)

kailanhw@aludra.usc.edu writes:
   Could anyone tell me how to post news using mail?

If you use sendmail, here's stuff for sendmail.cf:

# Top-level newsgroup names:
CGcomp misc news rec sci soc talk unix-pc ddn alt gnu u3b pubnet

# At some suitable point in S0:
R$=G.$*		$#news$:$1.$2			Posting to news

# Don't forget to define the mailer:
Mnews,	P=/usr/lib/news/recnews, F=DFMls, M=131071, A=recnews $u

Newsgroup names get used directly in this scheme; no need to maintain
hordes of aliases in /usr/lib/aliases to push things around to the
right places.

--karl