---
name: "newsmail"
section: "8cn"
platform: "linux"
package: "cnews"
version: "cr.g7-40.4"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/newsmail"
---

# newsmail(8cn)

receive mailed news bdecode - decode encoded mailed news

## NAME

recenews, recpnews - receive mailed news\
 bdecode - decode encoded mailed news

## SYNOPSIS

**/usr/lib/news/input/recenews**\
 **/usr/lib/news/input/recpnews**\
 **/usr/lib/news/input/bdecode** \[ file \]

## DESCRIPTION

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 reception of such traffic.

*Recenews* receives encoded news, decodes it, and feeds it to *rnews* (see *rnews*(8CN)). *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.

## SEE ALSO

[bencode(1)](/bencode/1.md), [mail(1)](/mail/1.md), [newsdb(5)](/newsdb/5.md), newsbatch(8CN), rnews(8CN)

## HISTORY

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.
