NEWSMAIL(8) NEWSMAIL(8) ›1mNAME›22m mailnews, sendnews - send unbatched news as mail recenews, recpnews - receive mailed news bdecode - decode encoded mailed news ›1mSYNOPSIS›22m ›1m/usr/lib/newsbin/relay/mailnews›22m address ... ›1m/usr/lib/newsbin/relay/sendnews›22m address ... ›1m/usr/lib/newsbin/input/recenews›22m ›1m/usr/lib/newsbin/input/recpnews›22m ›1m/usr/lib/newsbin/input/bdecode›22m [ file ] ›1mDESCRIPTION›22m Sometimes it is necessary to transmit news via mail, to deal with network connections that have no notion of arbi­ trary file transfer or non­mail traffic. These programs handle unbatched transmission and batched or unbatched reception. (Batched transmission is handled by the batch­ ing subsystem; see ›4mnewsbatch›24m(8).) ›4mMailnews›24m accepts news from its standard input, encodes it using ›4mbencode›24m (see ›4mbencode›24m(1) or ›4mnewsbatch›24m(8)) to ensure that stupid mailers do not corrupt it, and mails it to the ›4maddress›24mes. ›4mSendnews›24m does likewise, but uses an inferior method of mailer protection (prepending `N' to each line) which does not protect against all forms of mailer brain­damage. It is provided for backward compatibility; its use is dis­ couraged. ›4mMailnews›24m and ›4msendnews›24m are located in the default path of transmission commands in the ›4msys›24m file (see ›4mnews›24m(5)) so that they can be used from there without giving a full pathname. ›4mRecenews›24m receives encoded news sent by ›4mmailnews›24m or a batcher, decodes it, and feeds it to ›4mrnews›24m (see ›4mrnews›24m(8)). ›4mRecpnews›24m does likewise for mail protected with `N'. Nor­ mally one should arrange that mail arriving at the mailbox ``enews'' is sent to ›4mrecenews›24m and likewise for ``rnews'' (the name is historical, for compatibility again) and ›4mrecpnews›24m. ›4mBdecode›24m passes standard input, or the ›4mfile›24m if there is one, to standard output, decoding the ›4mbencode›24m encoding and stripping off debris prepended and appended by mailers. ›1mSEE›22m ›1mALSO›22m bencode(1), mail(1), news(5), newsbatch(8), rnews(8) ›1mHISTORY›22m Written at U of Toronto by Henry Spencer, with contribu­ tions by Geoff Collyer. ›4mBdecode›24m written at University of 22 June 1989 1 NEWSMAIL(8) NEWSMAIL(8) Waterloo by Reg Quinton and Ken Lalonde. 22 June 1989 2