Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!dali.cs.montana.edu!milton!ogicse!schaefer From: schaefer@ogicse.ogi.edu (Barton E. Schaefer) Newsgroups: comp.mail.mush Subject: Re: Mush in rn or nn Message-ID: <14065@ogicse.ogi.edu> Date: 16 Nov 90 02:13:27 GMT References: <8863@darkstar.ucsc.edu> <1990Nov13.212612.21797@jafus.mi.org> <2708@exodus.Eng.Sun.COM> Organization: Oregon Graduate Institute (formerly OGC), Beaverton, OR Lines: 38 In article <2708@exodus.Eng.Sun.COM> rock@warp.Eng.Sun.COM (Bill Petro) writes: } eddy@jafus.mi.org (Eddy J. Gurney) writes: } } >In article <8863@darkstar.ucsc.edu> hermit@ucscf.UCSC.EDU (William R. Ward) writes: } >> } >>When using rn to read news, I would like to be able to shell out to mush } >>to send mail and to post news. To get mush to post news, play around with set sendmail = "inews -h" plus some my_hdr commands to create the appropriate Newsgroups: header and so on. The Rnmush script Bill was nice enough to repost is a place to start looking for how to do this. Note that this won't work on all news systems, and that getting mush to post is only a small step toward getting it to work for followups. To use the Rnmush script for sending replies, set the environment variable MAILPOSTER to "Rnmush -h". Bill neglected to mention that detail. } Or more generically, I use nn, and would like to use mush as my mailer, } but mush expects an argument. } } I have tried in nn: [... various things that didn't work...] } Any ideas? Well, I don't use or even have access to nn, but based on what your attempts look like, you might try set mailer "/home/speedway/rock/bin/mush -send -draft -" (the double quotes may not be necessary). Leave mailer-pipe-input alone, the "-draft -" means to expect a complete message with headers on stdin. -- Bart Schaefer schaefer@cse.ogi.edu ZipCode Software Corporation schaefer@zipcode.com