Amiga Unix — 68040 · 68060

Manual pages › Administering the extra programs (8L)

newsmail(8L)

send unbatched news as mail recenews, recpnews - receive mailed news bdecode - decode encoded mailed news

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

mailnews, sendnews - send unbatched news as mail
recenews, recpnews - receive mailed news
bdecode - decode encoded mailed news

/usr/public/lib/newsbin/relay/mailnews address ...
/usr/public/lib/newsbin/relay/sendnews address ...
/usr/public/lib/newsbin/input/recenews
/usr/public/lib/newsbin/input/recpnews
/usr/public/lib/newsbin/input/bdecode [ file ]

Sometimes it is necessary to transmit news via mail, to deal with network connections that have no notion of arbitrary file transfer or non-mail traffic. These programs handle unbatched transmission and batched or unbatched reception. (Batched transmission is handled by the batching subsystem; see newsbatch(8).)

Mailnews accepts news from its standard input, encodes it using bencode (see bencode(1) or newsbatch(8)) to ensure that stupid mailers do not corrupt it, and mails it to the addresses.

Sendnews 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 discouraged.

Mailnews and sendnews are located in the default path of transmission commands in the sys file (see news(5)) so that they can be used from there without giving a full pathname.

Recenews receives encoded news sent by mailnews or a batcher, decodes it, and feeds it to rnews (see rnews(8)). Recpnews does likewise for mail protected with `N'. Normally one should arrange that mail arriving at the mailbox ``enews'' is sent to recenews and likewise for ``rnews'' (the name is historical, for compatibility again) and recpnews.

Bdecode passes standard input, or the file if there is one, to standard output, decoding the bencode encoding and stripping off debris prepended and appended by mailers.

bencode(1), mail(1), news(5), newsbatch(8), rnews(8)

Written at U of Toronto by Henry Spencer, with contributions by Geoff Collyer. Bdecode written at University of Waterloo by Reg Quinton and Ken Lalonde.

22 June 1989