Интерактивная система просмотра системных руководств (man-ов)
news2mail (8)
>> news2mail (8) ( Linux man: Команды системного администрирования )
NAME
news2mail - a channel script to gateway news into email.
SYNOPSIS
news2mail
DESCRIPTION
news2mail
runs as a channel process underneath innd. It is set up as channel feed in
newsfeeds, with different mailing lists as funnel entries pointing to it (see
below).
news2mail
uses a config file
<pathetc in inn.conf>/news2mail.cf
to map mailing list names to email addresses.
news2mail
causes sendmail to queue the messages for later delivery (to avoid DOS attacks
by mass postings). You must run 'sendmail -q' periodically to get the queue
processed.
CONFIG FILE
The config file format is simple: comments (start with ``#'') and blank lines
are ignored. All other lines have two fields on them. The first is the list
name and is what innd uses (i.e. the site field of the entry in the newsfeeds
file). The second field is the actual email address to send the article to. In
the email message, the ``To'' header will have the mailing list name (i.e. the
first field)
a set of newsfeeds entries for these lists would be:
n2m!:!*:Tc,Ac,Wn*:<PREFIX specified with --prefix at configure>/bin/news2mail
[email protected]:rec.pets.redants.*:Tm:n2m!
[email protected]:news.software.nntp:Tm:n2m!
news2mail
strips most article headers from the article before mailing. It leaves: From, Subject
Date, Organization and Message-ID in there. It add a To header with the mailing
list name in it.
HISTORY
news2mail was written by Brian Kantor. This man pagewas written by James
Brister
This is revision 1.2, dated 1998/12/09.