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

MAILPOST(1)						      General Commands Manual						       MAILPOST(1)

NAME
mailpost - feed an email message into a news group SYNOPSIS
mailpost [ -r addr ] [ -f addr ] [ -a addr ] [ -d distribution ] [ -m mailing-list ] [ -b database ] newsgroups DESCRIPTION
The mailpost program reads a properly formatted email message from stdin and feeds it to inews for posting to a news server. Before feeding the article to inews it checks that the article has not been seen before, and it changes some headers (cleans some address headers up and puts ``X-'' in front of unknown headers). If the article has been seen before (mailpost records the message-id of all articles is handles), the the article will be silently dropped. Other errors will cause the article to be mailed to the newsmaster. Normally mailpost is run by sendmail via an alias entry: local-mail-wreck-bikes: "|<PREFIX specified with --prefix at configure>/bin/mailpost -d local local.mail.rec.bicycles.racing" newsgroups cannot be multiple groups. Only one newsgroup name is allowed. OPTIONS
-r If the ``-r'' flag is used the program will use the given address as the Path header, if no other value can be determined. -f The ``-f'' flag is a synonym for the ``-r'' flag. -a If the ``-a'' flag is used the value given is added to the article as an Approved header. -d If the ``-d'' flag is used the value given is added to the article as a Distribution header. -m If the ``-m'' flag is used the value given is added to the articles in a Mailing-List header, if a Mailing-List header doesn't already exist. -b IF the ``-b'' flag is used, then it defines the location of the database used to store the message ids of articles sent on. This is to prevent articles looping around if a news to mail gateway sends them back here. This option may be required if the mailpost process doesn't have write access to the news tmp directory (the value of pathtmp in inn.conf(5). HISTORY
Written by Paul Vixie long ago and then hacked up by James Brister for INN integration. This is revision 1.2.2.3, dated 2001/09/22. FILES
<pathdb in inn.conf>/mailpost-msgid.db database file BUGS
Is lacking in configurability. SEE ALSO
active(5), inn.conf(5), nnrpd(8), wildmat(3). MAILPOST(1)
Man Page