Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

news2mail(8) [redhat man page]

NEWS2MAIL(8)						      System Manager's Manual						      NEWS2MAIL(8)

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) # list-name address big-red-ants@ucsd.edu big-red-ants-digest@ucsd.edu news-software@ucsd.edu news-software-digest@ucsd.edu a set of newsfeeds entries for these lists would be: n2m!:!*:Tc,Ac,Wn*:<PREFIX specified with --prefix at configure>/bin/news2mail big-red-ants@ucsd.edu:rec.pets.redants.*:Tm:n2m! news-software@ucsd.edu: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. SEE ALSO
ctlinnd(8), inn.conf(5), innd(8), newsfeeds(5), shlock(1). NEWS2MAIL(8)

Check Out this Related Man Page

CROSSPOST(8)						      System Manager's Manual						      CROSSPOST(8)

NAME
crosspost - create the links for cross posted articles SYNOPSIS
crosspost [ -D dir ] [ -s ] [ file... ] DESCRIPTION
Crosspost reads group and article number data from files or standard input if none are specified. (A single dash in the file list means to read standard input.) It uses this information to create the hard, or symbolic, links for cross posted articles. Crosspost is designed to be used by InterNetNews to create the links as the articles come in. Normally innd creates the links but by having crosspost create the links innd spends less time waiting for disk IO. In this mode one would start innd(8) using the ``-L'' flag. Crosspost expects input in the form: group.name/123 group2.name/456 group3.name/789 with one line per article. Any dots in the input are translated into "/" to translate the news group into a pathname. The first field is assumed to be the name of an existing copy of the article. Crosspost will attempt to link all the subsequent entries to the first using hard links if possible or symbolic links if that fails. By default, crosspost processes its input as an INN channel feed written as a ``WR'' entry in the newsfeeds(5) file, for example: crosspost:*:Tc,Ap,WR:/usr/lib/news/bin/crosspost To process the history file and re-create all the links for all articles use: awk <history -F' ' '(NF > 2){print $3}' | crosspost (where the -F is followed by a tab character.) The ``-D'' flag can be used to specify where the article spool is stored. The default directory is /var/spool/news. By default crosspost will fsync(2) each article after updating the links. The ``-s'' flag can be used to prevent this. HISTORY
Written by Jerry Aguirre <jerry@ATC.Olivetti.Com>. SEE ALSO
newsfeeds(5), innd(8). CROSSPOST(8)
Man Page