Pegasus InfoCorp: Web site design and web software development company

NEWS2MAIL (8)

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:

      R$ <PREFIX specified with --prefix at configure>/bin
      n2m!:!*:Tc,Ac,Wn*:\*(R$/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 R$ This is revision \\$3, dated \\$4. $Id: news2mail.8,v 1.1.2.1 1999/06/12 08:22:50 kondou Exp $

SEE ALSO